Searched refs:test_util (Results 1 - 25 of 169) sorted by relevance

1234567

/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Ddrive_test_util.h11 namespace test_util { namespace in namespace:file_manager
18 } // namespace test_util
/external/chromium_org/chrome/browser/drive/
H A Dtest_util.h12 namespace test_util { namespace in namespace:drive
16 } // namespace test_util
H A Dtest_util.cc5 #include "chrome/browser/drive/test_util.h"
11 #include "google_apis/drive/test_util.h"
19 namespace test_util { namespace in namespace:drive
32 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
44 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
56 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
68 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
80 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
92 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
104 google_apis::test_util
[all...]
H A Dfake_drive_service_unittest.cc17 #include "chrome/browser/drive/test_util.h"
20 #include "google_apis/drive/test_util.h"
45 namespace test_util { namespace in namespace:drive
47 using google_apis::test_util::AppendProgressCallbackResult;
48 using google_apis::test_util::CreateCopyResultCallback;
49 using google_apis::test_util::ProgressInfo;
50 using google_apis::test_util::TestGetContentCallback;
51 using google_apis::test_util::WriteStringToFile;
53 } // namespace test_util
64 resource_id, test_util
[all...]
H A Ddrive_uploader_unittest.cc19 #include "google_apis/drive/test_util.h"
37 namespace test_util = google_apis::test_util;
323 ASSERT_TRUE(test_util::CreateFileOfSpecifiedSize(
333 std::vector<test_util::ProgressInfo> upload_progress_values;
339 test_util::CreateCopyResultCallback(
341 base::Bind(&test_util::AppendProgressCallbackResult,
352 EXPECT_EQ(test_util::ProgressInfo(0, 0), upload_progress_values[0]);
358 ASSERT_TRUE(test_util::CreateFileOfSpecifiedSize(
368 std::vector<test_util
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Dmessage_test.py49 from google.protobuf.internal import test_util namespace
55 golden_data = test_util.GoldenFile('golden_message').read()
58 test_util.ExpectAllFieldsSet(self, golden_message)
62 golden_data = test_util.GoldenFile('golden_message').read()
66 test_util.SetAllExtensions(all_set)
71 golden_data = test_util.GoldenFile('golden_packed_fields_message').read()
75 test_util.SetAllPackedFields(all_set)
80 golden_data = test_util.GoldenFile('golden_packed_fields_message').read()
84 test_util.SetAllPackedExtensions(all_set)
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfake_file_system_unittest.cc11 #include "chrome/browser/drive/test_util.h"
13 #include "google_apis/drive/test_util.h"
17 namespace test_util { namespace in namespace:drive
39 google_apis::test_util::TestGetContentCallback get_content_callback;
48 google_apis::test_util::CreateCopyResultCallback(
51 google_apis::test_util::CreateCopyResultCallback(&completion_error));
74 google_apis::test_util::CreateCopyResultCallback(
77 google_apis::test_util::CreateCopyResultCallback(&completion_error));
101 google_apis::test_util::TestGetContentCallback get_content_callback;
105 google_apis::test_util
[all...]
H A Dfake_free_disk_space_getter.cc7 #include "chrome/browser/chromeos/drive/test_util.h"
12 : default_value_(test_util::kLotsOfSpace) {
H A Dchange_list_loader_unittest.cc18 #include "chrome/browser/chromeos/drive/test_util.h"
21 #include "chrome/browser/drive/test_util.h"
24 #include "google_apis/drive/test_util.h"
78 test_util::RegisterDrivePrefs(pref_service_->registry());
83 ASSERT_TRUE(test_util::SetUpTestEntries(drive_service_.get()));
125 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
138 test_util::DestroyHelperForTests> metadata_storage_;
139 scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_;
140 scoped_ptr<ResourceMetadata, test_util::DestroyHelperForTests> metadata_;
155 google_apis::test_util
[all...]
H A Dtest_util.cc5 #include "chrome/browser/chromeos/drive/test_util.h"
13 namespace test_util { namespace in namespace:drive
41 } // namespace test_util
H A Ddirectory_loader_unittest.cc18 #include "chrome/browser/chromeos/drive/test_util.h"
21 #include "chrome/browser/drive/test_util.h"
24 #include "google_apis/drive/test_util.h"
74 test_util::RegisterDrivePrefs(pref_service_->registry());
79 ASSERT_TRUE(test_util::SetUpTestEntries(drive_service_.get()));
121 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
134 test_util::DestroyHelperForTests> metadata_storage_;
135 scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_;
136 scoped_ptr<ResourceMetadata, test_util::DestroyHelperForTests> metadata_;
151 google_apis::test_util
[all...]
H A Ddrive_file_stream_reader_unittest.cc17 #include "chrome/browser/chromeos/drive/test_util.h"
19 #include "chrome/browser/drive/test_util.h"
23 #include "google_apis/drive/test_util.h"
50 ASSERT_TRUE(google_apis::test_util::CreateFileOfSpecifiedSize(
79 ASSERT_EQ(net::OK, test_util::ReadAllData(&proxy, &content));
100 ASSERT_EQ(net::OK, test_util::ReadAllData(&proxy, &content));
303 ASSERT_TRUE(test_util::SetUpTestEntries(fake_drive_service_.get()));
307 new test_util::FakeFileSystem(fake_drive_service_.get()));
324 scoped_ptr<test_util::FakeFileSystem> fake_file_system_;
343 google_apis::test_util
[all...]
/external/chromium_org/components/invalidation/
H A Dunacked_invalidation_set_test_util.h14 namespace test_util { namespace in namespace:syncer
26 } // namespace test_util
/external/chromium_org/extensions/common/
H A Dtest_util.h16 namespace test_util { namespace in namespace:extensions
29 } // namespace test_util
H A Dtest_util.cc5 #include "extensions/common/test_util.h"
12 namespace test_util { namespace in namespace:extensions
37 } // namespace test_util
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dcreate_directory_operation_unittest.cc9 #include "google_apis/drive/test_util.h"
49 google_apis::test_util::CreateCopyResultCallback(&error));
75 google_apis::test_util::CreateCopyResultCallback(&error));
84 google_apis::test_util::CreateCopyResultCallback(&error));
94 google_apis::test_util::CreateCopyResultCallback(&error));
102 google_apis::test_util::CreateCopyResultCallback(&error));
111 google_apis::test_util::CreateCopyResultCallback(&error));
120 google_apis::test_util::CreateCopyResultCallback(&error));
H A Dcreate_file_operation_unittest.cc10 #include "google_apis/drive/test_util.h"
29 google_apis::test_util::CreateCopyResultCallback(&error));
67 google_apis::test_util::CreateCopyResultCallback(&error));
76 google_apis::test_util::CreateCopyResultCallback(&error));
85 google_apis::test_util::CreateCopyResultCallback(&error));
94 google_apis::test_util::CreateCopyResultCallback(&error));
103 google_apis::test_util::CreateCopyResultCallback(&error));
123 google_apis::test_util::CreateCopyResultCallback(&error));
137 google_apis::test_util::CreateCopyResultCallback(&error));
150 google_apis::test_util
[all...]
/external/chromium_org/google_apis/drive/
H A Dgdata_wapi_requests_unittest.cc13 #include "google_apis/drive/test_util.h"
43 GURL test_base_url = test_util::GetBaseUrlForTesting(test_server_.port());
56 if (!test_util::RemovePrefix(absolute_url.path(),
67 test_util::CreateHttpResponseFromFile(
68 test_util::GetTestFilePath("gdata/file_entry.json")));
76 test_util::CreateHttpResponseFromFile(
77 test_util::GetTestFilePath("drive/testfile.txt")));
110 test_util::CreateQuitCallback(
112 test_util::CreateCopyResultCallback(&result_code, &result_data)));
138 test_util
[all...]
H A Ddrive_api_requests_unittest.cc19 #include "google_apis/drive/test_util.h"
104 GURL test_base_url = test_util::GetBaseUrlForTesting(test_server_.port());
186 return test_util::CreateHttpResponseFromFile(
294 if (!test_util::ParseContentRangeHeader(
327 test_util::CreateHttpResponseFromFile(
328 test_util::GetTestFilePath("drive/file_entry.json"));
366 if (!test_util::RemovePrefix(absolute_url.path(),
391 expected_data_file_path_ = test_util::GetTestFilePath(
402 test_util::CreateQuitCallback(
404 test_util
[all...]
H A Dbase_requests_server_unittest.cc16 #include "google_apis/drive/test_util.h"
50 base::Bind(&test_util::HandleDownloadFileRequest,
79 test_util::CreateQuitCallback(
81 test_util::CreateCopyResultCallback(&result_code, &temp_file)),
100 test_util::GetTestFilePath("drive/testfile.txt");
113 test_util::CreateQuitCallback(
115 test_util::CreateCopyResultCallback(&result_code, &temp_file)),
/external/chromium_org/chrome/browser/extensions/api/browser/
H A Dbrowser_apitest.cc13 #include "extensions/common/test_util.h"
31 scoped_refptr<Extension> extension(test_util::CreateEmptyExtension());
/external/chromium_org/components/search_engines/
H A Dtemplate_url_fetcher_unittest.cc60 TemplateURLServiceTestUtil* test_util() { return &test_util_; } function in class:TemplateURLFetcherTest
158 test_util()->ChangeModelToLoadState();
159 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword));
171 const TemplateURL* t_url = test_util()->model()->GetTemplateURLForKeyword(
176 test_util()->model()->search_terms_data()));
183 test_util()->ChangeModelToLoadState();
184 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword));
224 test_util()->ChangeModelToLoadState();
225 ASSERT_FALSE(test_util()->model()->GetTemplateURLForKeyword(keyword));
240 test_util()
[all...]
H A Dtemplate_url_service_unittest.cc162 TemplateURLServiceTestUtil* test_util() { return test_util_.get(); } function in class:TemplateURLServiceTest
267 test_util()->VerifyLoad();
272 test_util()->VerifyLoad();
298 test_util()->ResetModel(true);
326 test_util()->ResetModel(true);
338 test_util()->ResetModel(true);
344 test_util()->VerifyLoad();
397 test_util()->VerifyLoad();
438 test_util()->VerifyLoad();
483 test_util()
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/sync/
H A Dentry_update_performer_unittest.cc20 #include "google_apis/drive/test_util.h"
43 !google_apis::test_util::WriteStringToFile(path, content))
55 google_apis::test_util::CreateCopyResultCallback(&error));
94 google_apis::test_util::CreateCopyResultCallback(&error));
103 google_apis::test_util::CreateCopyResultCallback(&error));
112 google_apis::test_util::CreateCopyResultCallback(&gdata_error,
143 google_apis::test_util::CreateCopyResultCallback(
160 google_apis::test_util::CreateCopyResultCallback(&error));
169 google_apis::test_util::CreateCopyResultCallback(&error));
178 google_apis::test_util
[all...]
H A Dremove_performer_unittest.cc15 #include "google_apis/drive/test_util.h"
36 google_apis::test_util::CreateCopyResultCallback(&error));
47 google_apis::test_util::CreateCopyResultCallback(&error));
56 google_apis::test_util::CreateCopyResultCallback(&gdata_error,
66 google_apis::test_util::CreateCopyResultCallback(&error));
89 google_apis::test_util::CreateCopyResultCallback(&gdata_error,
101 google_apis::test_util::CreateCopyResultCallback(&error));
113 google_apis::test_util::CreateCopyResultCallback(&gdata_error,
139 google_apis::test_util::CreateCopyResultCallback(&error));
145 google_apis::test_util
[all...]

Completed in 315 milliseconds

1234567