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

Function TEST

test/unit/apps/AppTest.cpp:51–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49} // unnamed namespace
50
51TEST(PdalApp, load)
52{
53 std::string output;
54
55 Utils::run_shell_command(appName() + " 2>&1", output);
56 EXPECT_TRUE(output.find("Usage") != std::string::npos);
57
58 Utils::run_shell_command(appName() + " sort 2>&1", output);
59 EXPECT_TRUE(output.find("kernels.sort") != std::string::npos);
60
61 Utils::run_shell_command(appName() + " foobar 2>&1", output);
62 EXPECT_TRUE(output.find("not recognized") != std::string::npos);
63}
64
65TEST(PdalApp, log)
66{

Callers

nothing calls this directly

Calls 6

datapathFunction · 0.85
temppathFunction · 0.85
appNameFunction · 0.70
findMethod · 0.45
clearMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected