Searched refs:mockList (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/lshal/ |
D | test.cpp | 228 mockList = std::make_unique<MockListCommand>(mockLshal.get()); in SetUp() 234 std::unique_ptr<MockListCommand> mockList; member in android::lshal::ListParseArgsTest 239 EXPECT_EQ(0u, mockList->parseArgs(createArg({"lshal", "-p", "-i", "-a", "-c"}))); in TEST_F() 240 mockList->forEachTable([](const Table& table) { in TEST_F() 249 EXPECT_EQ(0u, mockList->parseArgs(createArg({"lshal", "-m"}))); in TEST_F() 250 mockList->forEachTable([](const Table& table) { in TEST_F() 264 EXPECT_NE(0u, mockList->parseArgs(createArg({"lshal", "--neat", "-d"}))); in TEST_F() 337 mockList = std::make_unique<NiceMock<MockListCommand>>(lshal.get()); in initMockList() 338 ON_CALL(*mockList, getPidInfo(_,_)).WillByDefault(Invoke( in initMockList() 343 ON_CALL(*mockList, parseCmdline(_)).WillByDefault(Invoke(&getCmdlineFromId)); in initMockList() [all …]
|