#include "src/trace_processor/importers/json/json_trace_tokenizer.h"
#include <json/value.h>
#include "src/trace_processor/importers/json/json_utils.h"
#include "test/gtest_and_gmock.h"
namespace perfetto {
namespace trace_processor {
namespace {
TEST(JsonTraceTokenizerTest, ReadDictSuccess) { … }
TEST(JsonTraceTokenizerTest, ReadDictQuotedBraces) { … }
TEST(JsonTraceTokenizerTest, ReadDictTwoDicts) { … }
TEST(JsonTraceTokenizerTest, ReadDictNeedMoreData) { … }
TEST(JsonTraceTokenizerTest, ReadKeyIntValue) { … }
TEST(JsonTraceTokenizerTest, ReadKeyArrayValue) { … }
TEST(JsonTraceTokenizerTest, ReadKeyDictValue) { … }
TEST(JsonTraceTokenizerTest, ReadKeyEscaped) { … }
TEST(JsonTraceTokenizerTest, ReadKeyNeedMoreDataStartString) { … }
TEST(JsonTraceTokenizerTest, ReadKeyNeedMoreDataMiddleString) { … }
TEST(JsonTraceTokenizerTest, ReadKeyNeedMoreDataNoValue) { … }
TEST(JsonTraceTokenizerTest, ReadKeyEndOfDict) { … }
TEST(JsonTraceTokenizerTest, ReadSystraceLine) { … }
TEST(JsonTraceTokenizerTest, ReadSystraceLineEscaped) { … }
TEST(JsonTraceTokenizerTest, ReadSystraceNeedMoreDataOnlyEscape) { … }
TEST(JsonTraceTokenizerTest, ReadSystraceEndOfData) { … }
TEST(JsonTraceTokenizerTest, ExtractValueForJsonKey) { … }
}
}
}