Home
last modified time | relevance | path

Searched refs:mockClient (Results 1 – 1 of 1) sorted by relevance

/packages/services/Car/cpp/watchdog/vts/
DVtsAidlWatchdogTargetTest.cpp122 std::shared_ptr<MockCarWatchdogClient> mockClient = in TEST_P() local
124 mockClient->expectCheckIfAlive(); in TEST_P()
126 watchdogServer->registerClient(mockClient, TimeoutLength::TIMEOUT_CRITICAL); in TEST_P()
130 mockClient->waitCheckIfAlive(TimeoutLength::TIMEOUT_CRITICAL, &sessionId)); in TEST_P()
131 status = watchdogServer->tellClientAlive(mockClient, sessionId); in TEST_P()
133 status = watchdogServer->unregisterClient(mockClient); in TEST_P()
143 std::shared_ptr<MockCarWatchdogClient> mockClient = in TEST_P() local
145 ASSERT_FALSE(watchdogServer->tellClientAlive(mockClient, 0).isOk()) in TEST_P()
150 std::shared_ptr<MockCarWatchdogClient> mockClient = in TEST_P() local
152 ASSERT_FALSE(watchdogServer->unregisterClient(mockClient).isOk()) in TEST_P()