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

Function TEST

be/src/kudu/util/jsonreader-test.cc:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39namespace kudu {
40
41TEST(JsonReaderTest, Corrupt) {
42 JsonReader r("");
43 Status s = r.Init();
44 ASSERT_TRUE(s.IsCorruption());
45 ASSERT_STR_CONTAINS(
46 s.ToString(), "JSON text is corrupt: The document is empty.");
47}
48
49TEST(JsonReaderTest, Empty) {
50 JsonReader r("{}");

Callers

nothing calls this directly

Calls 15

SubstituteFunction · 0.85
maxFunction · 0.85
minFunction · 0.85
ExtractBoolMethod · 0.80
rootMethod · 0.80
ExtractInt32Method · 0.80
ExtractInt64Method · 0.80
ExtractUint32Method · 0.80
ExtractUint64Method · 0.80
ExtractDoubleMethod · 0.80
ExtractFloatMethod · 0.80
ExtractStringMethod · 0.80

Tested by

no test coverage detected