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

Function TEST

be/src/util/redactor-config-parser-test.cc:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27extern std::vector<Rule>* g_rules;
28
29TEST(ParserTest, FileNotFound) {
30 TempRulesFile rules_file("");
31 rules_file.Delete();
32 string error = SetRedactionRulesFromFile(rules_file.name());
33 ASSERT_ERROR_MESSAGE_CONTAINS(error, "No such file");
34}
35
36TEST(ParserTest, EmptyFile) {
37 TempRulesFile rules_file("");

Callers

nothing calls this directly

Calls 6

SubstituteFunction · 0.85
OverwriteContentsMethod · 0.80
DeleteMethod · 0.45
nameMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected