MCPcopy Index your code
hub / github.com/apache/orc / checkForError

Function checkForError

tools/test/TestFileScan.cc:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void checkForError(const std::string& filename, const std::string& errorMsg) {
206 const std::string pgm = findProgram("tools/src/orc-scan");
207 std::string output;
208 std::string error;
209 EXPECT_EQ(1, runProgram({pgm, filename}, output, error));
210 EXPECT_EQ("", output);
211 EXPECT_NE(std::string::npos, error.find(errorMsg)) << error;
212}
213
214void checkForError(const std::string& filename, const std::string& errorMsg1,
215 const std::string& errorMsg2) {

Callers 1

TESTFunction · 0.85

Calls 2

findProgramFunction · 0.85
runProgramFunction · 0.85

Tested by

no test coverage detected