MCPcopy Create free account
hub / github.com/PDAL/PDAL / TEST

Function TEST

test/unit/apps/pc2pcTest.cpp:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56#ifdef _WIN32
57TEST(pc2pcTest, pc2pcTest_test_no_input)
58{
59 std::string cmd = appName();
60 cmd += " 2>&1"; // pdal outputs to both, stdout and stderr
61
62 std::string output;
63 int stat = Utils::run_shell_command(cmd, output);
64 EXPECT_EQ(stat, 1);
65
66 const std::string expected = "PDAL: kernels.translate: Missing value for positional argument 'input'.";
67 EXPECT_EQ(output.substr(0, expected.length()), expected);
68}
69#endif
70
71

Callers

nothing calls this directly

Calls 11

binpathFunction · 0.85
exenameFunction · 0.85
datapathFunction · 0.85
temppathFunction · 0.85
fileIsOkayFunction · 0.85
fileIsCompressedFunction · 0.85
fileHasSrsFunction · 0.85
deleteFileFunction · 0.85
appNameFunction · 0.70
lengthMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected