/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 359 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 360 const base::string16 word(base::ASCIIToUTF16(kTestCases[i].input)); 368 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:__anon4258 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:__anon4276 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/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 | 170 } kTestCases[] = { local 381 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 383 if (kTestCases[i].input != NULL) { 384 input_length = wcslen(kTestCases[i].input); 389 base::WideToUTF16(kTestCases[i].input).c_str(), 395 EXPECT_EQ(kTestCases[i].expected_result, result); 396 EXPECT_EQ(kTestCases[i].misspelling_start, misspelling_start); 397 EXPECT_EQ(kTestCases[i].misspelling_length, misspelling_length); 415 } kTestCases[] = { local 431 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); 477 } kTestCases[] = { local 845 } kTestCases[] = { local 873 } kTestCases[] = { local 1177 } kTestCases[] = { local 1231 } kTestCases[] = { local 1315 } kTestCases[] = { local 1354 } 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/ui/app_list/search/ |
H A D | tokenized_string_match_unittest.cc | 37 } kTestCases[] = { local 47 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 48 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); 49 EXPECT_FALSE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text)) 51 << " : text=" << kTestCases[i].text 52 << ", query=" << kTestCases[i].query; 61 } kTestCases[] = { local 76 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 77 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); 78 EXPECT_TRUE(match.Calculate(base::UTF8ToUTF16(kTestCases[ 88 } kTestCases[] = { local [all...] |
/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::__anon7939 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/download/ |
H A D | download_item_model_unittest.cc | 122 } kTestCases[] = { local 174 COMPILE_ASSERT(kInterruptReasonCount == ARRAYSIZE_UNSAFE(kTestCases), 178 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 179 const TestCase& test_case = kTestCases[i]; 198 } kTestCases[] = { local 250 COMPILE_ASSERT(kInterruptReasonCount == ARRAYSIZE_UNSAFE(kTestCases), 265 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 266 const TestCase& test_case = kTestCases[i]; 296 } kTestCases[] = { local 338 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); 382 } 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) { 111 kTestCases[i].success, 112 mount_points->RegisterFileSystem(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 408 const TestCase kTestCases[] = { local [all...] |
H A D | file_system_context_unittest.cc | 252 const TestCase kTestCases[] = { local 293 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 296 kTestCases[i].root).Append(kVirtualPathNoRoot); 299 CreateRawFileSystemURL(kTestCases[i].type_str, kTestCases[i].root); 305 EXPECT_EQ(kTestCases[i].expect_is_valid, cracked_url.is_valid()); 306 if (!kTestCases[i].expect_is_valid) 312 kTestCases[i].expect_mount_type, 313 kTestCases[i].expect_type, 314 base::FilePath(kTestCases[ [all...] |
/external/chromium_org/chrome/browser/chromeos/login/users/ |
H A D | multi_profile_user_controller_unittest.cc | 220 const char* kTestCases[] = { local 225 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 226 SetCachedBehavior(0, kTestCases[i]); 249 const char* kTestCases[] = { local 255 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 256 SetPrefBehavior(0, kTestCases[i]); 257 EXPECT_EQ(kTestCases[i], GetCachedBehavior(0));
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_info_cache_unittest.cc | 512 } kTestCases[] = { local 519 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 520 base::FilePath profile_path = GetProfilePath(kTestCases[i].profile_path); 521 base::string16 profile_name = ASCIIToUTF16(kTestCases[i].profile_name);
|
/external/chromium_org/chrome/browser/search/ |
H A D | search_unittest.cc | 116 const SearchTestCase kTestCases[] = { local 130 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 131 const SearchTestCase& test = kTestCases[i]; 142 const SearchTestCase kTestCases[] = { local 156 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 157 const SearchTestCase& test = kTestCases[i]; 167 const SearchTestCase kTestCases[] = { local 185 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 186 const SearchTestCase& test = kTestCases[i]; 712 const ExtractSearchTermsTestCase kTestCases[] local 737 const QueryExtractionAllowedTestCase kTestCases[] = { local [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/ |
H A D | mixer_unittest.cc | 152 } kTestCases[] = { local 167 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 168 app_provider()->set_count(kTestCases[i].app_results); 169 omnibox_provider()->set_count(kTestCases[i].omnibox_results); 170 webstore_provider()->set_count(kTestCases[i].webstore_results); 173 EXPECT_EQ(kTestCases[i].expected, GetResults()) << "Case " << i;
|
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
H A D | webstore_provider_browsertest.cc | 241 } kTestCases[] = { local 253 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 254 if (kTestCases[i].expected_result_titles) { 255 RunQuery(kTestCases[i].query, kTestCases[i].mock_server_response); 256 ASSERT_EQ(kTestCases[i].expected_result_titles, GetResultTitles()) 257 << "Case " << i << ": q=" << kTestCases[i].query; 259 if (kTestCases[i].expected_results) { 260 VerifyResults(kTestCases[i].expected_results, 261 kTestCases[ [all...] |
/external/chromium_org/chrome/browser/ui/views/accessibility/ |
H A D | accessibility_event_router_views_unittest.cc | 522 } kTestCases[] = { local 529 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 535 menu->GetMenuItemByID(kTestCases[i].command_id), 538 EXPECT_EQ(kTestCases[i].expected_index, index) << "Case " << i; 539 EXPECT_EQ(kTestCases[i].expected_count, count) << "Case " << i;
|
/external/chromium_org/net/spdy/ |
H A D | spdy_network_transaction_unittest.cc | 5572 static const char* const kTestCases[] = { local 5589 for (size_t index = 0; index < arraysize(kTestCases); index += 2) { 5590 const char* url_to_fetch = kTestCases[index]; 5591 const char* url_to_push = kTestCases[index + 1];
|