HomeSort by relevance Sort by last modified time
    Searched refs:kTestCases (Results 1 - 24 of 24) sorted by null

  /external/chromium_org/net/ftp/
ftp_util_unittest.cc 24 } kTestCases[] = {
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[] = {
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[i].input
    [all...]
  /external/chromium_org/ui/app_list/search/
tokenized_string_match_unittest.cc 37 } kTestCases[] = {
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[] = {
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[i].query), text))
    [all...]
  /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 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[%" PRIuS "]: language=%s", i
    [all...]
spellcheck_unittest.cc 170 } kTestCases[] = {
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[] = {
431 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i)
    [all...]
  /external/chromium_org/chrome/browser/spellchecker/
spellcheck_platform_mac_unittest.cc 54 const char* kTestCases[] = {
61 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) {
62 const base::string16 word(base::ASCIIToUTF16(kTestCases[i]));
87 } kTestCases[] = {
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));
spellcheck_action_unittest.cc 57 } kTestCases[] = {
90 kTestCases[i].action.Serialize());
92 base::JSONReader::Read(kTestCases[i].expected));
  /external/chromium_org/content/browser/fileapi/
external_mount_points_unittest.cc 41 const TestCase kTestCases[] = {
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[i].name, &found_path)
    [all...]
file_system_context_unittest.cc 252 const TestCase kTestCases[] = {
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[i].expect_path).NormalizePathSeparators()
    [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 122 } kTestCases[] = {
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[] = {
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[] = {
338 for (unsigned i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++)
    [all...]
  /external/chromium_org/chrome/browser/ui/app_list/search/webstore/
webstore_provider_browsertest.cc 241 } kTestCases[] = {
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[i].expected_result_size)
    [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, &regions));
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/chromeos/fileapi/
file_system_backend_unittest.cc 248 const TestCase kTestCases[] = {
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/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/chrome/browser/ui/app_list/search/
mixer_unittest.cc 152 } kTestCases[] = {
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/chromeos/login/users/
multi_profile_user_controller_unittest.cc 220 const char* kTestCases[] = {
225 for (size_t i = 0; i < arraysize(kTestCases); ++i) {
226 SetCachedBehavior(0, kTestCases[i]);
249 const char* kTestCases[] = {
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/search/
search_unittest.cc 116 const SearchTestCase kTestCases[] = {
130 for (size_t i = 0; i < arraysize(kTestCases); ++i) {
131 const SearchTestCase& test = kTestCases[i];
142 const SearchTestCase kTestCases[] = {
156 for (size_t i = 0; i < arraysize(kTestCases); ++i) {
157 const SearchTestCase& test = kTestCases[i];
167 const SearchTestCase kTestCases[] = {
185 for (size_t i = 0; i < arraysize(kTestCases); ++i) {
186 const SearchTestCase& test = kTestCases[i];
712 const ExtractSearchTermsTestCase kTestCases[] =
    [all...]
  /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 522 } kTestCases[] = {
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/chrome/browser/profiles/
profile_info_cache_unittest.cc 512 } kTestCases[] = {
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/net/spdy/
spdy_network_transaction_unittest.cc     [all...]

Completed in 572 milliseconds