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

Function TEST

test/unit/apps/pcpipelineTestJSON.cpp:113–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111} // unnamed namespace
112
113TEST(pipelineBaseTest, no_input)
114{
115 const std::string cmd = appName();
116
117 std::string output;
118 int stat = pdal::Utils::run_shell_command(cmd, output);
119 EXPECT_NE(0, stat);
120
121 const std::string expected = "usage: pdal pipeline [options] [input]";
122 EXPECT_EQ(expected, output.substr(0, expected.length()));
123}
124
125
126TEST(pipelineBaseTest, common_opts)

Callers

nothing calls this directly

Calls 15

temppathFunction · 0.85
deleteFileFunction · 0.85
configuredpathFunction · 0.85
readFileIntoStringFunction · 0.85
run_pipeline_stdinFunction · 0.85
run_pipelineFunction · 0.85
datapathFunction · 0.85
run_bad_pipelineFunction · 0.85
setOptionsMethod · 0.80
appNameFunction · 0.70
createFileFunction · 0.50
closeFileFunction · 0.50

Tested by

no test coverage detected