Home
last modified time | relevance | path

Searched refs:temp_directory (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/content/browser/indexed_db/
Dindexed_db_factory_unittest.cc99 base::ScopedTempDir temp_directory; in TEST_F() local
100 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in TEST_F()
102 factory()->TestOpenBackingStore(origin1, temp_directory.path()); in TEST_F()
105 factory()->TestOpenBackingStore(origin1, temp_directory.path()); in TEST_F()
109 factory()->TestOpenBackingStore(origin2, temp_directory.path()); in TEST_F()
125 base::ScopedTempDir temp_directory; in TEST_F() local
126 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in TEST_F()
128 factory()->TestOpenBackingStore(origin, temp_directory.path()); in TEST_F()
138 factory()->TestOpenBackingStore(origin, temp_directory.path()); in TEST_F()
181 base::ScopedTempDir temp_directory; in TEST_F() local
[all …]
Dindexed_db_cleanup_on_io_error_unittest.cc86 base::ScopedTempDir temp_directory; in TEST() local
87 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in TEST()
88 const base::FilePath path = temp_directory.path(); in TEST()
149 base::ScopedTempDir temp_directory; in TEST() local
150 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in TEST()
151 const base::FilePath path = temp_directory.path(); in TEST()
/external/chromium_org/content/browser/indexed_db/leveldb/
Dleveldb_unittest.cc39 base::ScopedTempDir temp_directory; in TEST() local
40 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in TEST()
49 LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); in TEST()
57 LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); in TEST()
67 base::FilePath file_path = temp_directory.path().AppendASCII("CURRENT"); in TEST()
72 status = LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); in TEST()
76 status = LevelDBDatabase::Destroy(temp_directory.path()); in TEST()
79 status = LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); in TEST()
88 base::ScopedTempDir temp_directory; in TEST() local
89 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in TEST()
[all …]
/external/chromium_org/sandbox/win/src/
Dwin_utils_unittest.cc16 wchar_t temp_directory[MAX_PATH]; in TEST() local
18 ASSERT_NE(::GetTempPath(MAX_PATH, temp_directory), 0u); in TEST()
19 ASSERT_NE(::GetTempFileName(temp_directory, L"test", 0, my_folder), 0u); in TEST()
43 base::string16 temp_dir_nt = base::string16(L"\\??\\") + temp_directory; in TEST()
58 wchar_t temp_directory[MAX_PATH]; in TEST() local
60 ASSERT_NE(::GetTempPath(MAX_PATH, temp_directory), 0u); in TEST()
61 ASSERT_NE(::GetTempFileName(temp_directory, L"test", 0, my_folder), 0u); in TEST()
Dfile_policy_test.cc287 wchar_t temp_directory[MAX_PATH]; in TEST() local
289 ASSERT_NE(::GetTempPath(MAX_PATH, temp_directory), 0u); in TEST()
290 ASSERT_NE(::GetTempFileName(temp_directory, L"test", 0, temp_file_name), 0u); in TEST()
317 wchar_t temp_directory[MAX_PATH]; in TEST() local
319 ASSERT_NE(::GetTempPath(MAX_PATH, temp_directory), 0u); in TEST()
320 ASSERT_NE(::GetTempFileName(temp_directory, L"test", 0, temp_file_name), 0u); in TEST()
322 wcscat_s(temp_directory, MAX_PATH, L"*"); in TEST()
323 EXPECT_TRUE(runner.AddFsRule(TargetPolicy::FILES_ALLOW_ANY, temp_directory)); in TEST()
402 wchar_t temp_directory[MAX_PATH]; in TEST() local
411 ASSERT_NE(::GetTempPath(MAX_PATH, temp_directory), 0u); in TEST()
[all …]
Dhandle_inheritance_test.cc21 wchar_t temp_directory[MAX_PATH]; in TEST() local
23 ASSERT_NE(::GetTempPath(MAX_PATH, temp_directory), 0u); in TEST()
24 ASSERT_NE(::GetTempFileName(temp_directory, L"test", 0, temp_file_name), 0u); in TEST()
Dapp_container_test.cc33 wchar_t temp_directory[MAX_PATH] = {}; in CreateTaggedEvent() local
34 GetTempPath(MAX_PATH, temp_directory); in CreateTaggedEvent()
35 GetTempFileName(temp_directory, L"test", 0, file_name); in CreateTaggedEvent()
/external/chromium_org/apps/
Dapp_restore_service_browsertest.cc117 base::ScopedTempDir temp_directory; in IN_PROC_BROWSER_TEST_F() local
118 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in IN_PROC_BROWSER_TEST_F()
120 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(), in IN_PROC_BROWSER_TEST_F()
126 "temp", temp_directory.path()); in IN_PROC_BROWSER_TEST_F()
157 base::ScopedTempDir temp_directory; in IN_PROC_BROWSER_TEST_F() local
158 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in IN_PROC_BROWSER_TEST_F()
160 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(), in IN_PROC_BROWSER_TEST_F()
166 "temp", temp_directory.path()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/child/npapi/
Dplugin_stream_win.cc48 char temp_directory[MAX_PATH]; in OpenTempFile() local
49 if (GetTempPathA(MAX_PATH, temp_directory) == 0) in OpenTempFile()
51 if (GetTempFileNameA(temp_directory, "npstream", 0, temp_file_name_) == 0) in OpenTempFile()
/external/chromium_org/media/tools/layout_tests/
Dtest_expectations_history.py64 temp_directory = tempfile.mkdtemp()
65 test_expectations_path = os.path.join(temp_directory, 'TestExpectations')
69 client.checkout(te_location_dir, temp_directory, recurse=False)
106 text = client.diff(temp_directory,
/external/chromium_org/chrome_elf/
Dbreakpad.cc114 wchar_t temp_directory[MAX_PATH + 1] = {}; in InitializeCrashReporting() local
115 DWORD length = GetTempPath(MAX_PATH, temp_directory); in InitializeCrashReporting()
165 temp_directory, in InitializeCrashReporting()
/external/chromium_org/remoting/base/
Dbreakpad_win.cc107 wchar_t temp_directory[MAX_PATH + 1] = { 0 }; in BreakpadWin() local
108 DWORD length = GetTempPath(MAX_PATH, temp_directory); in BreakpadWin()
118 temp_directory, &OnExceptionCallback, NULL, NULL, in BreakpadWin()
/external/chromium_org/chrome/browser/history/
Dredirect_browsertest.cc134 base::ScopedTempDir temp_directory; in IN_PROC_BROWSER_TEST_F() local
135 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in IN_PROC_BROWSER_TEST_F()
137 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(), in IN_PROC_BROWSER_TEST_F()
Din_memory_url_index_unittest.cc1025 base::ScopedTempDir temp_directory; in TEST_F() local
1026 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in TEST_F()
1027 set_history_dir(temp_directory.path()); in TEST_F()
1089 base::ScopedTempDir temp_directory; in TEST_F() local
1090 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in TEST_F()
1091 set_history_dir(temp_directory.path()); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/net_internals/
Dnet_internals_ui_browsertest.cc265 base::ScopedTempDir temp_directory; in GetNetLogLoggerLog() local
266 ASSERT_TRUE(temp_directory.CreateUniqueTempDir()); in GetNetLogLoggerLog()
268 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(), in GetNetLogLoggerLog()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
Dscm_unittest.py132 self.temp_directory = self._mkdtemp(suffix="svn_test")
133 self.svn_repo_path = self._join(self.temp_directory, "repo")
135 self.svn_checkout_path = self._join(self.temp_directory, "checkout")
202 self._rmtree(self.temp_directory)
/external/chromium_org/chrome/browser/sync/glue/
Dsync_backend_host_impl_unittest.cc722 base::FilePath temp_directory = in TEST_F() local
724 base::FilePath sync_file = temp_directory.AppendASCII("SyncData.sqlite3"); in TEST_F()
725 ASSERT_TRUE(base::CreateDirectory(temp_directory)); in TEST_F()
/external/chromium_org/chrome/installer/setup/
Dsetup_main.cc1302 base::FilePath temp_directory; in InitializeCrashReporting() local
1303 if (!base::GetTempDir(&temp_directory) || temp_directory.empty()) in InitializeCrashReporting()
1325 temp_directory.value(), NULL, NULL, NULL, in InitializeCrashReporting()