| 27 | extern std::vector<Rule>* g_rules; |
| 28 | |
| 29 | TEST(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 | |
| 36 | TEST(ParserTest, EmptyFile) { |
| 37 | TempRulesFile rules_file(""); |
nothing calls this directly
no test coverage detected