HomeSort by relevance Sort by last modified time
    Searched refs:test_data (Results 26 - 50 of 100) sorted by null

12 3 4

  /external/chromium/chrome/browser/autocomplete/
keyword_provider_unittest.cc 19 struct test_data { struct in class:KeywordProviderTest
32 void RunTest(test_data<ResultType>* keyword_cases,
64 test_data<ResultType>* keyword_cases,
85 test_data<string16> edit_cases[] = {
130 test_data<GURL> url_cases[] = {
155 test_data<string16> contents_cases[] = {
184 test_data<string16> description_cases[] = {
extension_app_provider_unittest.cc 17 struct test_data { struct in class:ExtensionAppProviderTest
28 void RunTest(test_data* keyword_cases,
72 test_data* keyword_cases,
91 test_data edit_cases[] = {
  /external/chromium_org/chrome/browser/media_galleries/
media_galleries_permissions_unittest.cc 107 const TestData test_data[] = {{&extension1_id_, &extension1_expectation_}, variable
111 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); i++) {
113 gallery_prefs_->GetGalleryPermissionsFromPrefs(*test_data[i].id);
114 EXPECT_EQ(test_data[i].expectation->size(), actual.size());
116 permission_entry < test_data[i].expectation->size() &&
119 EXPECT_EQ(test_data[i].expectation->at(permission_entry).pref_id,
121 EXPECT_EQ(test_data[i].expectation->at(permission_entry).has_permission,
  /external/chromium_org/chrome/browser/sync/glue/
favicon_cache_unittest.cc 159 const TestFaviconData& test_data,
161 image_specifics->set_favicon_url(test_data.icon_url.spec());
162 if (!test_data.image_16.empty()) {
165 image_specifics->mutable_favicon_web()->set_favicon(test_data.image_16);
167 if (!test_data.image_32.empty()) {
170 image_specifics->mutable_favicon_web_32()->set_favicon(test_data.image_32);
172 if (!test_data.image_64.empty()) {
176 set_favicon(test_data.image_64);
181 const TestFaviconData& test_data,
183 tracking_specifics->set_favicon_url(test_data.icon_url.spec())
377 const TestFaviconData& test_data = expected_custom_icons[i]; local
690 TestFaviconData test_data = BuildFaviconData(i); local
771 TestFaviconData test_data = BuildFaviconData(i); local
886 TestFaviconData test_data = BuildFaviconData(i); local
926 TestFaviconData test_data = BuildFaviconData(i); local
1257 TestFaviconData test_data = BuildFaviconData(i); local
1264 TestFaviconData test_data = BuildFaviconData(i); local
1299 TestFaviconData test_data = BuildFaviconData(i); local
1308 TestFaviconData test_data = BuildFaviconData(i); local
1335 TestFaviconData test_data = BuildFaviconData(i); local
1345 TestFaviconData test_data = BuildFaviconData(i + kMaxSyncFavicons); local
1381 TestFaviconData test_data = BuildFaviconData(i); local
1434 TestFaviconData test_data = BuildFaviconData(i); local
1489 TestFaviconData test_data = BuildFaviconData(i); local
1496 TestFaviconData test_data = BuildFaviconData(i); local
1517 TestFaviconData test_data = BuildFaviconData(i); local
1524 TestFaviconData test_data = BuildFaviconData(i); local
1532 TestFaviconData test_data = BuildFaviconData(i); local
1557 TestFaviconData test_data = BuildFaviconData(i); local
1587 TestFaviconData test_data = BuildFaviconData(i); local
1691 TestFaviconData test_data = BuildFaviconData(i); local
    [all...]
  /external/chromium_org/url/
url_util_unittest.cc 273 const ResolveRelativeCase& test_data = resolve_non_standard_cases[i]; local
275 url_parse::ParsePathURL(test_data.base, strlen(test_data.base),
282 url_util::ResolveRelative(test_data.base, strlen(test_data.base),
284 test_data.rel, strlen(test_data.rel),
288 EXPECT_EQ(test_data.is_valid, valid) << i;
289 if (test_data.is_valid && valid)
290 EXPECT_EQ(test_data.out, resolved) << i
    [all...]
  /external/chromium_org/chrome/common/extensions/api/
extension_api_unittest.cc 52 } test_data[] = { local
58 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) {
59 EXPECT_EQ(test_data[i].expect_populated,
60 test_data[i].api->GetSchema("bookmarks.create") != NULL);
69 } test_data[] = { local
78 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) {
81 ExtensionAPI::SplitDependencyName(test_data[i].input, &feature_type,
83 EXPECT_EQ(test_data[i].expected_feature_type, feature_type) << i;
84 EXPECT_EQ(test_data[i].expected_feature_name, feature_name) << i;
114 } test_data[] = local
154 } test_data[] = { local
259 } test_data[] = { local
636 } test_data[] = { local
670 } test_data[] = { local
710 } test_data[] = { local
    [all...]
  /external/harfbuzz_ng/test/api/
test-blob.c 78 static const char test_data[] = "test\0data"; variable
151 data = test_data;
152 len = sizeof (test_data);
157 data = test_data;
158 len = sizeof (test_data);
163 data = malloc (sizeof (test_data));
164 memcpy ((char *) data, test_data, sizeof (test_data));
165 len = sizeof (test_data);
176 memcpy ((char *) data, test_data, sizeof (test_data))
    [all...]
hb-test.h 188 gconstpointer test_data,
192 g_test_add_data_func (normal_path, test_data, test_func);
200 gconstpointer test_data,
204 hb_test_add_data_func (path, test_data, test_func);
213 gconstpointer test_data,
219 g_test_add_vtable (normal_path, data_size, test_data, data_setup, data_test, data_teardown);
241 gconstpointer test_data,
247 hb_test_add_vtable (path, data_size, test_data, data_setup, data_test, data_teardown);
test-font.c 32 static const char test_data[] = "test\0data"; variable
53 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL);
79 return hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL);
102 g_assert_cmpint (len, ==, sizeof (test_data));
103 g_assert (0 == memcmp (data, test_data, sizeof (test_data)));
153 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL)
    [all...]
test-shape.c 41 static const char test_data[] = "test\0data"; variable
95 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL);
  /external/chromium_org/remoting/protocol/
message_decoder_unittest.cc 51 uint8* test_data; local
52 PrepareData(&test_data, &size);
53 scoped_ptr<uint8[]> memory_deleter(test_data);
72 memcpy(buffer->data(), test_data + pos, read);
  /external/chromium_org/chrome/browser/search_engines/
template_url_unittest.cc 375 } test_data[] = { local
386 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) {
387 data.SetURL(test_data[i].url);
389 EXPECT_EQ(test_data[i].expected_result, url.url_ref().DisplayURL());
390 EXPECT_EQ(test_data[i].url,
399 } test_data[] = { local
427 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) {
428 data.SetURL(test_data[i].url);
432 std::string expected_result = test_data[i].expected_result;
451 } test_data[] = local
488 } test_data[] = { local
543 } test_data[] = { local
579 } test_data[] = { local
613 } test_data[] = { local
679 } test_data[] = { local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/bookmarks/
bookmark_utils_gtk_unittest.cc 32 guchar test_data[] = ""; local
33 data.data = test_data;
  /external/chromium_org/chrome_frame/test/
dll_redirector_loading_test.cc 139 } test_data[] = { local
152 for (int i = 0; i < arraysize(test_data); ++i) {
154 base::ScopedNativeLibrary original_library(test_data[i].first_dll);
175 base::ScopedNativeLibrary new_library(test_data[i].second_dll);
215 beacon_version.CompareTo(*test_data[i].expected_beacon_version));
  /external/chromium_org/chrome/browser/autocomplete/
builtin_provider_unittest.cc 20 struct test_data { struct in class:BuiltinProviderTest
33 void RunTest(test_data<ResultType>* builtin_cases,
50 void BuiltinProviderTest::RunTest(test_data<ResultType>* builtin_cases,
85 test_data<GURL> typing_scheme_cases[] = {
121 test_data<GURL> non_chrome_url_cases[] = {
155 test_data<GURL> chrome_url_cases[] = {
204 test_data<GURL> settings_subpage_cases[] = {
extension_app_provider_unittest.cc 19 struct test_data { struct in class:ExtensionAppProviderTest
32 void RunTest(test_data* keyword_cases,
85 test_data* keyword_cases,
105 test_data edit_cases[] = {
  /external/chromium_org/chrome/browser/diagnostics/
diagnostics_controller_unittest.cc 32 base::FilePath test_data; local
33 PathService::Get(chrome::DIR_TEST_DATA, &test_data);
34 test_data = test_data.Append(FILE_PATH_LITERAL("diagnostics"));
35 test_data = test_data.Append(FILE_PATH_LITERAL("user"));
36 base::CopyDirectory(test_data, temp_dir_.path(), true);
  /external/chromium/net/proxy/
proxy_resolver_perftest.cc 95 const PacPerfTest& test_data = kPerfTests[i]; local
96 RunTest(test_data.pac_name,
97 test_data.queries,
98 test_data.NumQueries());
  /external/chromium_org/chrome/common/extensions/docs/server2/
intro_data_source_test.py 7 from test_data.canned_data import CANNED_TEST_FILE_SYSTEM_DATA
test_branch_utility.py 6 from test_data.canned_data import (CANNED_BRANCHES, CANNED_CHANNELS)
app_yaml_helper_test.py 74 test_data = {
83 file_system_at_head = MockFileSystem(TestFileSystem(test_data))
90 return MockFileSystem.Create(TestFileSystem(test_data),
  /external/chromium_org/net/proxy/
proxy_resolver_perftest.cc 98 const PacPerfTest& test_data = kPerfTests[i]; local
99 RunTest(test_data.pac_name,
100 test_data.queries,
101 test_data.NumQueries());
  /external/chromium_org/ppapi/tests/
test_post_message.h 51 // (|test_data|) passed via PostMessage().
53 const pp::Var& test_data,
  /external/chromium_org/chrome/browser/ui/gtk/bookmarks/
bookmark_utils_gtk_unittest.cc 36 guchar test_data[] = ""; local
37 data.data = test_data;
  /external/chromium_org/tools/dromaeo_benchmark_runner/
dromaeo_benchmark_runner.py 178 def WriteBrowserBenchmarkResults(self, test_name, test_data):
186 row.extend([str(x) for x in test_data[prop]])
187 row.append(str(sum(test_data[prop]) / len(test_data[prop])))
258 for (test_name, test_data) in benchmark_results.data.iteritems():
259 spreadsheet_writer.WriteBrowserBenchmarkResults(test_name, test_data)

Completed in 550 milliseconds

12 3 4