MCPcopy Create free account
hub / github.com/apache/impala / JsonParserTest

Method JsonParserTest

be/src/exec/json/json-parser-test.cc:34–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32class JsonParserTest : public ::testing::TestWithParam<int> {
33 public:
34 JsonParserTest() {
35 random_shuffle(json_data_.begin(), json_data_.end());
36 stringstream data_stream, result_stream;
37 for (const auto& p : json_data_) {
38 data_stream << p.first << '\n';
39 if (p.second.empty()) continue;
40 result_stream << p.second << '\n';
41 }
42 data_ = data_stream.str();
43 result_ = result_stream.str();
44 }
45
46 virtual void SetUp() override {
47 data_pos_ = 0;

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected