Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc1017 MockTestService mock_service_; member in google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest
1034 EXPECT_EQ(descriptor_, mock_service_.GetDescriptor()); in TEST_F()
1059 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F()
1062 ASSERT_TRUE(mock_service_.called_); in TEST_F()
1064 EXPECT_EQ("Foo" , mock_service_.method_ ); in TEST_F()
1065 EXPECT_EQ(&mock_controller_, mock_service_.controller_); in TEST_F()
1066 EXPECT_EQ(&foo_request_ , mock_service_.request_ ); in TEST_F()
1067 EXPECT_EQ(&foo_response_ , mock_service_.response_ ); in TEST_F()
1068 EXPECT_EQ(done_.get() , mock_service_.done_ ); in TEST_F()
1071 mock_service_.Reset(); in TEST_F()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc1141 MockTestService mock_service_; member in google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest
1158 EXPECT_EQ(descriptor_, mock_service_.GetDescriptor()); in TEST_F()
1183 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F()
1186 ASSERT_TRUE(mock_service_.called_); in TEST_F()
1188 EXPECT_EQ("Foo" , mock_service_.method_ ); in TEST_F()
1189 EXPECT_EQ(&mock_controller_, mock_service_.controller_); in TEST_F()
1190 EXPECT_EQ(&foo_request_ , mock_service_.request_ ); in TEST_F()
1191 EXPECT_EQ(&foo_response_ , mock_service_.response_ ); in TEST_F()
1192 EXPECT_EQ(done_.get() , mock_service_.done_ ); in TEST_F()
1195 mock_service_.Reset(); in TEST_F()
[all …]
/external/chromium_org/content/browser/appcache/
Dappcache_quota_client_unittest.cc111 mock_service_.storage()->usage_map_[origin] = usage; in SetUsageMapEntry()
115 return new AppCacheQuotaClient(&mock_service_); in CreateClient()
153 MockAppCacheService mock_service_; member in content::AppCacheQuotaClientTest
271 EXPECT_EQ(0, mock_service_.delete_called_count()); in TEST_F()
274 EXPECT_EQ(1, mock_service_.delete_called_count()); in TEST_F()
276 mock_service_.set_mock_delete_appcaches_for_origin_result( in TEST_F()
280 EXPECT_EQ(2, mock_service_.delete_called_count()); in TEST_F()
Dappcache_request_handler_unittest.cc193 mock_service_.reset(new MockAppCacheService); in SetUpTest()
194 mock_service_->set_request_context(&empty_context_); in SetUpTest()
196 mock_service_->set_appcache_policy(mock_policy_.get()); in SetUpTest()
199 backend_impl_->Initialize(mock_service_.get(), mock_frontend_.get(), in SetUpTest()
215 mock_service_.reset(); in TearDownTest()
912 return reinterpret_cast<MockAppCacheStorage*>(mock_service_->storage()); in mock_storage()
919 scoped_ptr<MockAppCacheService> mock_service_; member in content::AppCacheRequestHandlerTest
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_registry_unittest.cc55 CHECK_EQ(&mock_service_, tmp); in ~MockDialRegistry()
60 return mock_service_; in mock_service()
72 return &mock_service_; in CreateDialService()
77 CHECK_EQ(&mock_service_, dial_.release()); in ClearDialService()
81 MockDialService mock_service_; member in extensions::MockDialRegistry
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_remover_unittest.cc673 mock_service_(new MockDomainReliabilityService()) { in ClearDomainReliabilityTester()
677 unsigned clear_count() { return mock_service_->clear_count(); } in clear_count()
680 return mock_service_->last_clear_mode(); in last_clear_mode()
690 mock_service_); in AttachService()
706 MockDomainReliabilityService* mock_service_; member in ClearDomainReliabilityTester