Lines Matching refs:callMain
167 static Status callMain(const std::unique_ptr<T>& lshal, const std::vector<const char*>& args) { in callMain() function
172 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
180 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
188 EXPECT_NE(0u, callMain(lshal, { in TEST_F()
195 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
203 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
948 (void)callMain(lshal, {"lshal", "--help"}); // ignore return in TEST_F()
960 (void)callMain(lshal, {"lshal", "help"}); // ignore return in TEST_F()
964 EXPECT_NE(0u, callMain(lshal, {"lshal", "--unknown-option"})); in TEST_F()
972 (void)callMain(lshal, {"lshal", "help", "list"}); in TEST_F()
978 EXPECT_NE(0u, callMain(lshal, {"lshal", "list", "--unknown-option"})); in TEST_F()
986 (void)callMain(lshal, {"lshal", "help", "help"}); in TEST_F()
992 (void)callMain(lshal, {"lshal", "help", "--unknown-option"}); in TEST_F()