Home
last modified time | relevance | path

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

/external/chromium_org/chrome/test/base/
Duma_histogram_helper.cc34 base::HistogramBase::Count expected_count) { in ExpectUniqueSample() argument
42 CheckBucketCount(name, sample, expected_count, *samples); in ExpectUniqueSample()
43 CheckTotalCount(name, expected_count, *samples); in ExpectUniqueSample()
68 base::HistogramBase::Count expected_count, in CheckBucketCount() argument
70 EXPECT_EQ(expected_count, samples.GetCount(sample)) in CheckBucketCount()
72 << "\" does not have the right number of samples (" << expected_count in CheckBucketCount()
78 base::HistogramBase::Count expected_count, in CheckTotalCount() argument
80 EXPECT_EQ(expected_count, samples.TotalCount()) in CheckTotalCount()
83 << expected_count << ")."; in CheckTotalCount()
Duma_histogram_helper.h27 base::HistogramBase::Count expected_count);
38 base::Histogram::Count expected_count,
42 base::Histogram::Count expected_count,
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_result_unittest.cc40 size_t expected_count);
78 size_t expected_count) { in AssertResultMatches() argument
79 ASSERT_EQ(expected_count, result.size()); in AssertResultMatches()
80 for (size_t i = 0; i < expected_count; ++i) { in AssertResultMatches()
/external/chromium_org/chrome/browser/net/
Dhttp_pipelining_compatibility_client_unittest.cc130 void ExpectHistogramCount(int expected_count, in ExpectHistogramCount() argument
164 EXPECT_EQ(expected_count, samples->TotalCount()) << name; in ExpectHistogramCount()
165 if (expected_count > 0) { in ExpectHistogramCount()
166 EXPECT_EQ(expected_count, samples->GetCount(expected_value)) << name; in ExpectHistogramCount()
170 void ExpectRequestHistogramCount(int expected_count, in ExpectRequestHistogramCount() argument
202 EXPECT_EQ(expected_count, samples->TotalCount()) << name; in ExpectRequestHistogramCount()
203 if (expected_count > 0) { in ExpectRequestHistogramCount()
204 EXPECT_EQ(expected_count, samples->GetCount(expected_value)) << name; in ExpectRequestHistogramCount()
/external/chromium_org/chrome/browser/ui/search/
Dsearch_model_unittest.cc27 void VerifyNotificationCount(int expected_count);
61 void MockSearchModelObserver::VerifyNotificationCount(int expected_count) { in VerifyNotificationCount() argument
62 EXPECT_EQ(modelchanged_notification_count_, expected_count); in VerifyNotificationCount()
/external/chromium/chrome/common/
Dzip_unittest.cc71 size_t expected_count = 0; in TestUnzipFile() local
75 ++expected_count; in TestUnzipFile()
78 EXPECT_EQ(expected_count, count); in TestUnzipFile()
/external/chromium/chrome/browser/extensions/
Dextension_rlz_apitest.cc22 static int expected_count() { in expected_count() function in MockRlzSendFinancialPingFunction
73 ASSERT_EQ(3, MockRlzSendFinancialPingFunction::expected_count()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/third_party/zlib/google/
Dzip_unittest.cc91 size_t expected_count = 0; in TestUnzipFile() local
95 ++expected_count; in TestUnzipFile()
98 EXPECT_EQ(expected_count, count); in TestUnzipFile()
/external/chromium/net/tools/testserver/
Dchromiumsync_test.py133 expected_count = self.ExpectedPermanentItemCount(sync_type)
134 self.assertEqual(expected_count, version)
135 self.assertEqual(expected_count, len(changes))
145 self.assertEqual(expected_count, version)
146 self.assertEqual(expected_count, len(changes))
159 self.assertEqual(expected_count, len(changes))
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_result_unittest.cc92 size_t expected_count);
136 size_t expected_count) { in AssertResultMatches() argument
137 ASSERT_EQ(expected_count, result.size()); in AssertResultMatches()
138 for (size_t i = 0; i < expected_count; ++i) { in AssertResultMatches()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dmount_test.cc366 double expected_count = kTotalSamples / 256.; in TEST() local
369 double difference = byte_count[i] - expected_count; in TEST()
370 chi_squared += difference * difference / expected_count; in TEST()
/external/chromium_org/sync/tools/testserver/
Dchromiumsync_test.py96 expected_count = self.ExpectedPermanentItemCount(sync_type)
97 self.assertEqual(expected_count, version)
98 self.assertEqual(expected_count, len(changes))
107 self.assertEqual(expected_count, version)
108 self.assertEqual(expected_count, len(changes))
126 self.assertEqual(expected_count, len(changes))
/external/chromium/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc44 size_t expected_count) { in ExpectMatches() argument
46 for (size_t i = 0; i < expected_count; ++i) in ExpectMatches()
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc46 size_t expected_count) { in ExpectMatches() argument
48 for (size_t i = 0; i < expected_count; ++i) in ExpectMatches()
/external/chromium_org/chrome/browser/ui/views/accessibility/
Daccessibility_event_router_views_unittest.cc494 int expected_count; in TEST_F() member
512 EXPECT_EQ(kTestCases[i].expected_count, count) << "Case " << i; in TEST_F()
/external/chromium_org/mojo/system/
Draw_channel_posix_unittest.cc384 explicit ReadCountdownRawChannelDelegate(size_t expected_count) in ReadCountdownRawChannelDelegate() argument
386 expected_count_(expected_count), in ReadCountdownRawChannelDelegate()
/external/chromium/chrome/browser/download/
Ddownload_manager_unittest.cc209 int expected_count, const FilePath& expected, in TestMultipleRename() argument
212 EXPECT_EQ(expected_count, renamed_count_); in TestMultipleRename()
/external/chromium/googleurl/src/
Durl_parse_unittest.cc171 int expected_count; in TEST() member
227 EXPECT_EQ(count_cases[i].expected_count, chars_before); in TEST()
/external/chromium_org/url/
Durl_parse_unittest.cc160 int expected_count; in TEST() member
216 EXPECT_EQ(count_cases[i].expected_count, chars_before); in TEST()
/external/chromium_org/chrome/browser/extensions/activity_log/
Dcounting_policy_unittest.cc277 int expected_count) { in CheckAction() argument
286 ASSERT_EQ(expected_count, action.count()); in CheckAction()
/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest_delegated.cc44 size_t expected_count) { in ResourcesMatch() argument
46 std::sort(expected, expected + expected_count); in ResourcesMatch()
51 for (size_t expected_index = 0; expected_index < expected_count; in ResourcesMatch()
/external/chromium_org/net/cookies/
Dcookie_monster_unittest.cc548 size_t expected_count[3] = { in TestPriorityCookieCase() local
553 EXPECT_EQ(expected_count[i], surviving_id_list[i].size()); in TestPriorityCookieCase()
556 if (expected_count[i] == surviving_id_list[i].size()) { in TestPriorityCookieCase()
560 id_list[i].end() - expected_count[i])); in TestPriorityCookieCase()