Lines Matching refs:mock_service0
2413 scoped_refptr<MockService> mock_service0( in TEST_F() local
2423 manager()->RegisterService(mock_service0); in TEST_F()
2425 EXPECT_CALL(*mock_service0, DoPropertiesMatch(_)) in TEST_F()
2430 EXPECT_EQ(mock_service0, manager()->FindMatchingService(args, &error)); in TEST_F()
2550 scoped_refptr<MockService> mock_service0( in TEST_F() local
2575 manager()->RegisterService(mock_service0); in TEST_F()
2595 EXPECT_TRUE(ServiceOrderIs(mock_service0, mock_service1)); in TEST_F()
2606 EXPECT_TRUE(ServiceOrderIs(mock_service1, mock_service0)); in TEST_F()
2617 EXPECT_TRUE(ServiceOrderIs(mock_service0, mock_service1)); in TEST_F()
2619 mock_service0->set_mock_connection(mock_connection0); in TEST_F()
2626 EXPECT_CALL(mock_metrics, NotifyDefaultServiceChanged(mock_service0.get())); in TEST_F()
2630 EXPECT_TRUE(ServiceOrderIs(mock_service0, mock_service1)); in TEST_F()
2649 EXPECT_TRUE(ServiceOrderIs(mock_service1, mock_service0)); in TEST_F()
2660 EXPECT_CALL(mock_metrics, NotifyDefaultServiceChanged(mock_service0.get())); in TEST_F()
2672 mock_service0->set_mock_connection(nullptr); // So DeregisterService works. in TEST_F()
2673 manager()->DeregisterService(mock_service0); in TEST_F()
3361 scoped_refptr<MockService> mock_service0( in TEST_F() local
3373 EXPECT_CALL(*mock_service0.get(), Configure(_, _)) in TEST_F()
3378 manager()->RegisterService(mock_service0); in TEST_F()
3401 mock_service0->SetGuid(kGUID0, nullptr); in TEST_F()
3408 EXPECT_EQ(mock_service0.get(), service.get()); in TEST_F()
3420 manager()->DeregisterService(mock_service0); in TEST_F()
3433 scoped_refptr<MockService> mock_service0( in TEST_F() local
3445 EXPECT_CALL(*mock_service0.get(), IsConnected()) in TEST_F()
3450 manager()->RegisterService(mock_service0); in TEST_F()
3456 manager()->DeregisterService(mock_service0); in TEST_F()
3465 scoped_refptr<MockService> mock_service0( in TEST_F() local
3477 EXPECT_CALL(*mock_service0.get(), IsConnected()) in TEST_F()
3481 EXPECT_CALL(*mock_service0.get(), state()) in TEST_F()
3486 manager()->RegisterService(mock_service0); in TEST_F()
3493 manager()->DeregisterService(mock_service0); in TEST_F()