Lines Matching refs:callMain
156 static Status callMain(const std::unique_ptr<T>& lshal, const std::vector<const char*>& args) { in callMain() function
161 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
169 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
177 EXPECT_NE(0u, callMain(lshal, { in TEST_F()
836 (void)callMain(lshal, {"lshal", "--help"}); // ignore return in TEST_F()
848 (void)callMain(lshal, {"lshal", "help"}); // ignore return in TEST_F()
852 EXPECT_NE(0u, callMain(lshal, {"lshal", "--unknown-option"})); in TEST_F()
860 (void)callMain(lshal, {"lshal", "help", "list"}); in TEST_F()
866 EXPECT_NE(0u, callMain(lshal, {"lshal", "list", "--unknown-option"})); in TEST_F()
874 (void)callMain(lshal, {"lshal", "help", "help"}); in TEST_F()
880 (void)callMain(lshal, {"lshal", "help", "--unknown-option"}); in TEST_F()