Lines Matching refs:createArg

151 static Arg createArg(const std::vector<const char*>& args) {  in createArg()  function
157 return lshal->main(createArg(args)); in callMain()
239 EXPECT_EQ(0u, mockList->parseArgs(createArg({"lshal", "-p", "-i", "-a", "-c"}))); in TEST_F()
249 EXPECT_EQ(0u, mockList->parseArgs(createArg({"lshal", "-m"}))); in TEST_F()
264 EXPECT_NE(0u, mockList->parseArgs(createArg({"lshal", "--neat", "-d"}))); in TEST_F()
415 ASSERT_EQ(0u, mockList->parseArgs(createArg({"lshal"}))); in TEST_F()
479 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "--init-vintf"}))); in TEST_F()
512 EXPECT_EQ(0u, mockList->main(createArg({"lshal"}))); in TEST_F()
536 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-ils"}))); in TEST_F()
560 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-itrepac"}))); in TEST_F()
584 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-itrepacm"}))); in TEST_F()
599 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-iepc", "--neat"}))); in TEST_F()
613 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-itrepac", "--types=binderized"}))); in TEST_F()
637 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-itrepac", "--types=passthrough_clients", in TEST_F()
657 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-itrepac", "--types=c,l"}))); in TEST_F()
676 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-itrepac", "--types=c,l,,,l,l,c,", in TEST_F()
684 EXPECT_EQ(1u, mockList->main(createArg({"lshal", "-itrepac", "--types=c,a"}))); in TEST_F()
764 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-Vi", "--neat"}))); in TEST_F()
801 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-iStr", "--types=v", "--neat"}))); in TEST_F()
810 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-iStr", "--types=z", "--neat"}))); in TEST_F()
818 EXPECT_EQ(0u, mockList->main(createArg({"lshal", "-iStr", "--types=b,c,l", "--neat"}))); in TEST_F()