/external/chromium_org/chrome/browser/spellchecker/ |
H A D | spellcheck_action_unittest.cc | 57 } kTestCases[] = { local 90 kTestCases[i].action.Serialize()); 92 base::JSONReader::Read(kTestCases[i].expected));
|
H A D | spellcheck_platform_mac_unittest.cc | 54 const char* kTestCases[] = { local 61 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 62 const base::string16 word(base::ASCIIToUTF16(kTestCases[i])); 87 } kTestCases[] = { local 356 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 357 const base::string16 word(base::ASCIIToUTF16(kTestCases[i].input)); 365 base::ASCIIToUTF16(kTestCases[i].suggested_word));
|
/external/chromium_org/ui/gfx/ |
H A D | shadow_value_unittest.cc | 17 } kTestCases[] = { local 54 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 56 ShadowValues(kTestCases[i].shadows, 57 kTestCases[i].shadows + kTestCases[i].shadow_count)); 59 EXPECT_EQ(kTestCases[i].expected_margin, margin) << " i=" << i;
|
/external/chromium_org/chrome/browser/chromeos/fileapi/ |
H A D | file_system_backend_unittest.cc | 248 const TestCase kTestCases[] = { local 261 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 264 base::FilePath local_path(kTestCases[i].local_path); 265 EXPECT_EQ(kTestCases[i].success, 267 << "Resolving " << kTestCases[i].local_path; 271 if (!kTestCases[i].success) 274 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); 276 << "Resolving " << kTestCases[i].local_path;
|
/external/chromium_org/chrome/browser/media_galleries/linux/ |
H A D | mtp_device_object_enumerator_unittest.cc | 17 const MtpFileEntryData kTestCases[] = { member in namespace:__anon4187 46 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 48 entry.set_file_name(kTestCases[i].name); 49 entry.set_file_size(kTestCases[i].size); 50 entry.set_file_type(kTestCases[i].is_directory ? 53 entry.set_modification_time(kTestCases[i].modification_time); 59 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 60 EXPECT_EQ(kTestCases[i].name, enumerator.Next().value()); 61 EXPECT_EQ(kTestCases[i].size, enumerator.Size()); 62 EXPECT_EQ(kTestCases[ [all...] |
/external/chromium_org/chrome/browser/media_galleries/win/ |
H A D | mtp_device_object_enumerator_unittest.cc | 36 const MTPDeviceObjectEntryData kTestCases[] = { member in namespace:__anon4205 66 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 68 kTestCases[i].object_id, 69 kTestCases[i].name, 70 kTestCases[i].is_directory, 71 kTestCases[i].size, 72 base::Time::FromTimeT(kTestCases[i].last_modified_time))); 77 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 78 EXPECT_EQ(kTestCases[i].name, enumerator.Next().value()); 79 EXPECT_EQ(kTestCases[ [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/ |
H A D | tokenized_string_match_unittest.cc | 36 } kTestCases[] = { local 46 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 47 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); 48 EXPECT_FALSE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text)) 50 << " : text=" << kTestCases[i].text 51 << ", query=" << kTestCases[i].query; 60 } kTestCases[] = { local 75 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 76 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); 77 EXPECT_TRUE(match.Calculate(base::UTF8ToUTF16(kTestCases[ 87 } kTestCases[] = { local [all...] |
H A D | mixer_unittest.cc | 139 } kTestCases[] = { local 154 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 155 app_provider()->set_count(kTestCases[i].app_results); 156 omnibox_provider()->set_count(kTestCases[i].omnibox_results); 157 webstore_provider()->set_count(kTestCases[i].webstore_results); 160 EXPECT_EQ(kTestCases[i].expected, GetResults()) << "Case " << i;
|
/external/chromium_org/chrome/renderer/spellchecker/ |
H A D | spellcheck_worditerator_unittest.cc | 70 static const TestCase kTestCases[] = { local 115 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 116 SCOPED_TRACE(base::StringPrintf("kTestCases[%" PRIuS "]: language=%s", i, 117 kTestCases[i].language)); 120 attributes.SetDefaultLanguage(kTestCases[i].language); 125 kTestCases[i].allow_contraction)); 130 base::WideToUTF16(kTestCases[i].expected_words), ' ', &expected_words); 182 } kTestCases[] = { 210 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 211 SCOPED_TRACE(base::StringPrintf("kTestCases[ [all...] |
H A D | spellcheck_unittest.cc | 171 } kTestCases[] = { local 382 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 384 if (kTestCases[i].input != NULL) { 385 input_length = wcslen(kTestCases[i].input); 390 base::WideToUTF16(kTestCases[i].input).c_str(), 396 EXPECT_EQ(kTestCases[i].expected_result, result); 397 EXPECT_EQ(kTestCases[i].misspelling_start, misspelling_start); 398 EXPECT_EQ(kTestCases[i].misspelling_length, misspelling_length); 416 } kTestCases[] = { local 432 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); 478 } kTestCases[] = { local 846 } kTestCases[] = { local 874 } kTestCases[] = { local 1178 } kTestCases[] = { local 1232 } kTestCases[] = { local 1316 } kTestCases[] = { local 1355 } kTestCases[] = { local [all...] |
/external/chromium_org/net/http/ |
H A D | http_content_disposition_unittest.cc | 519 } kTestCases[] = { local 579 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 580 const ParseResultTestCase& test_case = kTestCases[i];
|
/external/chromium_org/base/debug/ |
H A D | proc_maps_linux_unittest.cc | 145 } kTestCases[] = { local 170 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 172 base::StringPrintf("kTestCases[%zu] = %s", i, kTestCases[i].input)); 175 EXPECT_TRUE(ParseProcMaps(kTestCases[i].input, ®ions)); 179 EXPECT_EQ(kTestCases[i].permissions, regions[0].permissions); 242 static const char* kTestCases[] = { local 256 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 257 SCOPED_TRACE(base::StringPrintf("kTestCases[%zu] = %s", i, kTestCases[ 264 static const char* kTestCases[] = { local [all...] |
/external/chromium_org/crypto/ |
H A D | ghash_unittest.cc | 59 static const TestCase kTestCases[] = { member in namespace:crypto::__anon7574 109 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 110 const TestCase& test = kTestCases[i]; 126 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 127 const TestCase& test = kTestCases[i];
|
/external/chromium_org/net/ftp/ |
H A D | ftp_util_unittest.cc | 24 } kTestCases[] = { local 37 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) { 38 EXPECT_EQ(kTestCases[i].expected_output, 39 net::FtpUtil::UnixFilePathToVMS(kTestCases[i].input)) 40 << kTestCases[i].input; 48 } kTestCases[] = { local 70 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) { 71 EXPECT_EQ(kTestCases[i].expected_output, 72 net::FtpUtil::UnixDirectoryPathToVMS(kTestCases[i].input)) 73 << kTestCases[ 81 } kTestCases[] = { local 134 } kTestCases[] = { local 200 } kTestCases[] = { local 234 } kTestCases[] = { local [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/people/ |
H A D | people_provider_browsertest.cc | 254 } kTestCases[] = { local 259 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 260 EXPECT_EQ(kTestCases[i].expected_results_content, 261 RunQuery(kTestCases[i].query, 262 kTestCases[i].mock_server_response)) 263 << "Case " << i << ": q=" << kTestCases[i].query;
|
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
H A D | webstore_provider_browsertest.cc | 180 } kTestCases[] = { local 192 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 193 EXPECT_EQ(kTestCases[i].expected_results_content, 194 RunQuery(kTestCases[i].query, 195 kTestCases[i].mock_server_response)) 196 << "Case " << i << ": q=" << kTestCases[i].query;
|
/external/chromium_org/chrome/browser/download/ |
H A D | download_item_model_unittest.cc | 124 } kTestCases[] = { local 172 COMPILE_ASSERT(kInterruptReasonCount == ARRAYSIZE_UNSAFE(kTestCases), 176 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 177 const TestCase& test_case = kTestCases[i]; 196 } kTestCases[] = { local 244 COMPILE_ASSERT(kInterruptReasonCount == ARRAYSIZE_UNSAFE(kTestCases), 259 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 260 const TestCase& test_case = kTestCases[i]; 290 } kTestCases[] = { local 332 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); 376 } kTestCases[] = { local [all...] |
/external/chromium_org/content/browser/fileapi/ |
H A D | external_mount_points_unittest.cc | 41 const TestCase kTestCases[] = { local 109 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 110 EXPECT_EQ(kTestCases[i].success, 112 kTestCases[i].name, 115 base::FilePath(kTestCases[i].path))) 116 << "Adding mount point: " << kTestCases[i].name << " with path " 117 << kTestCases[i].path; 121 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 123 EXPECT_EQ(kTestCases[i].registered_path != NULL, 124 mount_points->GetRegisteredPath(kTestCases[ 172 const TestCase kTestCases[] = { local 314 const TestCase kTestCases[] = { local 415 const TestCase kTestCases[] = { local [all...] |
H A D | file_system_context_unittest.cc | 252 const TestCase kTestCases[] = { local 311 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 314 kTestCases[i].root).Append(kVirtualPathNoRoot); 317 CreateRawFileSystemURL(kTestCases[i].type_str, kTestCases[i].root); 323 EXPECT_EQ(kTestCases[i].expect_is_valid, cracked_url.is_valid()); 324 if (!kTestCases[i].expect_is_valid) 330 kTestCases[i].expect_mount_type, 331 kTestCases[i].expect_type, 332 base::FilePath(kTestCases[ [all...] |
/external/chromium_org/chrome/browser/chromeos/login/users/ |
H A D | multi_profile_user_controller_unittest.cc | 206 const char* kTestCases[] = { local 211 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 212 SetCachedBehavior(0, kTestCases[i]); 231 const char* kTestCases[] = { local 237 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 238 SetPrefBehavior(0, kTestCases[i]); 239 EXPECT_EQ(kTestCases[i], GetCachedBehavior(0));
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_info_cache_unittest.cc | 481 } kTestCases[] = { local 488 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 489 base::FilePath profile_path = GetProfilePath(kTestCases[i].profile_path); 490 base::string16 profile_name = ASCIIToUTF16(kTestCases[i].profile_name);
|
/external/chromium_org/chrome/browser/search/ |
H A D | search_unittest.cc | 235 const SearchTestCase kTestCases[] = { local 249 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 250 const SearchTestCase& test = kTestCases[i]; 261 const SearchTestCase kTestCases[] = { local 275 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 276 const SearchTestCase& test = kTestCases[i]; 286 const SearchTestCase kTestCases[] = { local 304 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 305 const SearchTestCase& test = kTestCases[i]; 892 const ExtractSearchTermsTestCase kTestCases[] local 917 const QueryExtractionAllowedTestCase kTestCases[] = { local [all...] |
/external/chromium_org/chrome/browser/ui/views/accessibility/ |
H A D | accessibility_event_router_views_unittest.cc | 492 } kTestCases[] = { local 499 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 505 menu->GetMenuItemByID(kTestCases[i].command_id), 508 EXPECT_EQ(kTestCases[i].expected_index, index) << "Case " << i; 509 EXPECT_EQ(kTestCases[i].expected_count, count) << "Case " << i;
|
/external/chromium_org/net/spdy/ |
H A D | spdy_network_transaction_unittest.cc | 5723 static const char* const kTestCases[] = { local 5740 for (size_t index = 0; index < arraysize(kTestCases); index += 2) { 5741 const char* url_to_fetch = kTestCases[index]; 5742 const char* url_to_push = kTestCases[index + 1];
|