| 111 | } // unnamed namespace |
| 112 | |
| 113 | TEST(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 | |
| 126 | TEST(pipelineBaseTest, common_opts) |
nothing calls this directly
no test coverage detected