Home
last modified time | relevance | path

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

/external/cronet/net/reporting/
Dmock_persistent_reporting_store_unittest.cc181 EXPECT_EQ(1, store.CountCommands(CommandType::LOAD_REPORTING_CLIENTS)); in TEST()
183 0, store.CountCommands(CommandType::UPDATE_REPORTING_ENDPOINT_DETAILS)); in TEST()
186 TEST(MockPersistentReportingStoreTest, CountCommands) { in TEST() argument
204 EXPECT_EQ(1, store.CountCommands(CommandType::LOAD_REPORTING_CLIENTS)); in TEST()
205 EXPECT_EQ(1, store.CountCommands(CommandType::ADD_REPORTING_ENDPOINT)); in TEST()
206 EXPECT_EQ(1, store.CountCommands(CommandType::ADD_REPORTING_ENDPOINT_GROUP)); in TEST()
207 EXPECT_EQ(0, store.CountCommands( in TEST()
210 0, store.CountCommands(CommandType::UPDATE_REPORTING_ENDPOINT_DETAILS)); in TEST()
211 EXPECT_EQ(0, store.CountCommands( in TEST()
213 EXPECT_EQ(1, store.CountCommands(CommandType::DELETE_REPORTING_ENDPOINT)); in TEST()
[all …]
Dreporting_header_parser_unittest.cc1139 mock_store()->CountCommands(CommandType::ADD_REPORTING_ENDPOINT)); in TEST_P()
1140 EXPECT_EQ(1, mock_store()->CountCommands( in TEST_P()
1181 mock_store()->CountCommands(CommandType::ADD_REPORTING_ENDPOINT)); in TEST_P()
1182 EXPECT_EQ(1 + 1, mock_store()->CountCommands( in TEST_P()
1185 1, mock_store()->CountCommands(CommandType::DELETE_REPORTING_ENDPOINT)); in TEST_P()
1227 mock_store()->CountCommands(CommandType::ADD_REPORTING_ENDPOINT)); in TEST_P()
1228 EXPECT_EQ(3, mock_store()->CountCommands( in TEST_P()
1283 mock_store()->CountCommands(CommandType::ADD_REPORTING_ENDPOINT)); in TEST_P()
1284 EXPECT_EQ(3, mock_store()->CountCommands( in TEST_P()
1287 6, mock_store()->CountCommands(CommandType::DELETE_REPORTING_ENDPOINT)); in TEST_P()
[all …]
Dmock_persistent_reporting_store.h125 int CountCommands(Command::Type t);
Dmock_persistent_reporting_store.cc278 int MockPersistentReportingStore::CountCommands(Command::Type t) { in CountCommands() function in net::MockPersistentReportingStore