| 41 | class YamlReaderTest : public KuduTest { |
| 42 | public: |
| 43 | Status GenerateYamlReader(const string& content, unique_ptr<YamlReader>* result) { |
| 44 | string fname = GetTestPath("YamlReaderTest.json"); |
| 45 | unique_ptr<WritableFile> writable_file; |
| 46 | RETURN_NOT_OK(WriteStringToFile(env_, content, fname)); |
| 47 | result->reset(new YamlReader(fname)); |
| 48 | return Status::OK(); |
| 49 | } |
| 50 | }; |
| 51 | |
| 52 | TEST_F(YamlReaderTest, FileNotExist) { |
nothing calls this directly
no test coverage detected