/external/chromium/net/ftp/ |
ftp_util_unittest.cc | 21 } kTestCases[] = { 34 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) { 35 EXPECT_EQ(kTestCases[i].expected_output, 36 net::FtpUtil::UnixFilePathToVMS(kTestCases[i].input)) 37 << kTestCases[i].input; 45 } kTestCases[] = { 67 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) { 68 EXPECT_EQ(kTestCases[i].expected_output, 69 net::FtpUtil::UnixDirectoryPathToVMS(kTestCases[i].input)) 70 << kTestCases[i].input [all...] |
/external/chromium_org/net/ftp/ |
ftp_util_unittest.cc | 21 } kTestCases[] = { 34 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) { 35 EXPECT_EQ(kTestCases[i].expected_output, 36 net::FtpUtil::UnixFilePathToVMS(kTestCases[i].input)) 37 << kTestCases[i].input; 45 } kTestCases[] = { 67 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) { 68 EXPECT_EQ(kTestCases[i].expected_output, 69 net::FtpUtil::UnixDirectoryPathToVMS(kTestCases[i].input)) 70 << kTestCases[i].input [all...] |
/external/chromium/chrome/browser/ |
resources_util_unittest.cc | 20 const TestCase kTestCases[] = { 26 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 27 EXPECT_EQ(kTestCases[i].id, 28 ResourcesUtil::GetThemeResourceId(kTestCases[i].name));
|
spellchecker_platform_engine_unittest.cc | 15 const char* kTestCases[] = { 22 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 23 const string16 word(ASCIIToUTF16(kTestCases[i])); 48 } kTestCases[] = { 317 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 318 const string16 word(ASCIIToUTF16(kTestCases[i].input)); 325 const string16 suggested_word(ASCIIToUTF16(kTestCases[i].suggested_word));
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
tokenized_string_match_unittest.cc | 36 } kTestCases[] = { 46 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 47 const base::string16 text(UTF8ToUTF16(kTestCases[i].text)); 48 EXPECT_FALSE(match.Calculate(UTF8ToUTF16(kTestCases[i].query), text)) 50 << " : text=" << kTestCases[i].text 51 << ", query=" << kTestCases[i].query; 60 } kTestCases[] = { 72 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 73 const base::string16 text(UTF8ToUTF16(kTestCases[i].text)); 74 EXPECT_TRUE(match.Calculate(UTF8ToUTF16(kTestCases[i].query), text)) [all...] |
mixer_unittest.cc | 140 } kTestCases[] = { 155 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 156 app_provider()->set_count(kTestCases[i].app_results); 157 omnibox_provider()->set_count(kTestCases[i].omnibox_results); 158 webstore_provider()->set_count(kTestCases[i].webstore_results); 161 EXPECT_EQ(kTestCases[i].expected, GetResults()) << "Case " << i;
|
/external/chromium_org/chrome/browser/media_galleries/win/ |
mtp_device_object_enumerator_unittest.cc | 36 const MTPDeviceObjectEntryData kTestCases[] = { 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[i].object_id, enumerator.GetObjectId()) [all...] |
/external/chromium_org/ui/gfx/ |
shadow_value_unittest.cc | 17 } kTestCases[] = { 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/media_galleries/linux/ |
mtp_device_object_enumerator_unittest.cc | 17 const MtpFileEntryData kTestCases[] = { 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[i].is_directory, enumerator.IsDirectory()) [all...] |
/external/chromium_org/chrome/renderer/spellchecker/ |
spellcheck_worditerator_unittest.cc | 70 static const TestCase kTestCases[] = { 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 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[%" PRIuS "]: language=%s", i [all...] |
spellcheck_unittest.cc | 172 } kTestCases[] = { 383 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 385 if (kTestCases[i].input != NULL) { 386 input_length = wcslen(kTestCases[i].input); 391 WideToUTF16(kTestCases[i].input).c_str(), 397 EXPECT_EQ(kTestCases[i].expected_result, result); 398 EXPECT_EQ(kTestCases[i].misspelling_start, misspelling_start); 399 EXPECT_EQ(kTestCases[i].misspelling_length, misspelling_length); 417 } kTestCases[] = { 433 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
spellcheck_platform_mac_unittest.cc | 55 const char* kTestCases[] = { 62 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 63 const base::string16 word(ASCIIToUTF16(kTestCases[i])); 88 } kTestCases[] = { 357 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 358 const base::string16 word(ASCIIToUTF16(kTestCases[i].input)); 366 ASCIIToUTF16(kTestCases[i].suggested_word));
|
spellcheck_action_unittest.cc | 57 } kTestCases[] = { 86 kTestCases[i].action.Serialize()); 88 base::JSONReader::Read(kTestCases[i].expected));
|
/external/chromium_org/webkit/browser/fileapi/ |
external_mount_points_unittest.cc | 41 const TestCase kTestCases[] = { 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[i].name, &found_path) [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/people/ |
people_provider_browsertest.cc | 254 } kTestCases[] = { 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/ |
download_item_model_unittest.cc | 124 } kTestCases[] = { 170 COMPILE_ASSERT(kInterruptReasonCount == ARRAYSIZE_UNSAFE(kTestCases), 174 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 175 const TestCase& test_case = kTestCases[i]; 194 } kTestCases[] = { 240 COMPILE_ASSERT(kInterruptReasonCount == ARRAYSIZE_UNSAFE(kTestCases), 255 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 256 const TestCase& test_case = kTestCases[i]; 286 } kTestCases[] = { 328 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) [all...] |
/external/chromium_org/base/debug/ |
proc_maps_linux_unittest.cc | 145 } kTestCases[] = { 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[] = { 256 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 257 SCOPED_TRACE(base::StringPrintf("kTestCases[%zu] = %s", i, kTestCases[i])) [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
webstore_provider_browsertest.cc | 180 } kTestCases[] = { 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/content/browser/fileapi/ |
file_system_context_unittest.cc | 241 const TestCase kTestCases[] = { 299 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 302 kTestCases[i].root).Append(kVirtualPathNoRoot); 305 CreateRawFileSystemURL(kTestCases[i].type_str, kTestCases[i].root); 311 EXPECT_EQ(kTestCases[i].expect_is_valid, cracked_url.is_valid()); 312 if (!kTestCases[i].expect_is_valid) 318 kTestCases[i].expect_mount_type, 319 kTestCases[i].expect_type, 320 base::FilePath(kTestCases[i].expect_path).NormalizePathSeparators() [all...] |
/external/chromium_org/chrome/browser/chromeos/fileapi/ |
file_system_backend_unittest.cc | 250 const TestCase kTestCases[] = { 263 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 266 base::FilePath local_path(kTestCases[i].local_path); 267 EXPECT_EQ(kTestCases[i].success, 269 << "Resolving " << kTestCases[i].local_path; 273 if (!kTestCases[i].success) 276 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); 278 << "Resolving " << kTestCases[i].local_path;
|
/external/chromium_org/chrome/browser/chromeos/login/ |
multi_profile_user_controller_unittest.cc | 189 const char* kTestCases[] = { 194 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 195 SetCachedBehavior(0, kTestCases[i]); 213 const char* kTestCases[] = { 219 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 220 SetPrefBehavior(0, kTestCases[i]); 221 EXPECT_EQ(kTestCases[i], GetCachedBehavior(0));
|
/external/chromium_org/crypto/ |
ghash_unittest.cc | 59 static const TestCase kTestCases[] = { 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/http/ |
http_content_disposition_unittest.cc | 519 } kTestCases[] = { 579 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 580 const ParseResultTestCase& test_case = kTestCases[i];
|
/external/chromium_org/chrome/browser/ui/views/accessibility/ |
accessibility_event_router_views_unittest.cc | 495 } kTestCases[] = { 502 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { 508 menu->GetMenuItemByID(kTestCases[i].command_id), 511 EXPECT_EQ(kTestCases[i].expected_index, index) << "Case " << i; 512 EXPECT_EQ(kTestCases[i].expected_count, count) << "Case " << i;
|
/external/chromium_org/chrome/browser/search/ |
search_unittest.cc | 233 const SearchTestCase kTestCases[] = { 247 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 248 const SearchTestCase& test = kTestCases[i]; 259 const SearchTestCase kTestCases[] = { 273 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 274 const SearchTestCase& test = kTestCases[i]; 284 const SearchTestCase kTestCases[] = { 302 for (size_t i = 0; i < arraysize(kTestCases); ++i) { 303 const SearchTestCase& test = kTestCases[i]; [all...] |