Home
last modified time | relevance | path

Searched refs:test_tmpdir (Results 1 – 23 of 23) sorted by relevance

/external/yapf/yapftests/
Dfile_resources_test.py52 self.test_tmpdir = tempfile.mkdtemp()
55 shutil.rmtree(self.test_tmpdir)
58 local_ignore_file = os.path.join(self.test_tmpdir, '.yapfignore')
64 sorted(file_resources.GetExcludePatternsForDir(self.test_tmpdir)),
68 local_ignore_file = os.path.join(self.test_tmpdir, '.yapfignore')
74 file_resources.GetExcludePatternsForDir(self.test_tmpdir)
81 local_ignore_file = os.path.join(self.test_tmpdir, 'pyproject.toml')
90 sorted(file_resources.GetExcludePatternsForDir(self.test_tmpdir)),
99 local_ignore_file = os.path.join(self.test_tmpdir, 'pyproject.toml')
108 file_resources.GetExcludePatternsForDir(self.test_tmpdir)
[all …]
Dyapf_test.py76 self.test_tmpdir = tempfile.mkdtemp()
79 shutil.rmtree(self.test_tmpdir)
104 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
128 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
151 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
179 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
195 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
208 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
234 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
247 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
[all …]
Dstyle_test.py131 cls.test_tmpdir = tempfile.mkdtemp()
136 shutil.rmtree(cls.test_tmpdir)
143 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
154 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
165 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
176 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
188 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
200 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
215 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
226 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
[all …]
/external/cronet/third_party/protobuf/src/google/protobuf/io/
Dio_win32_unittest.cc102 string test_tmpdir; member in google::protobuf::io::win32::__anonde10e8300111::IoWin32Test
108 EXPECT_FALSE(test_tmpdir.empty()); \
164 test_tmpdir.clear(); in SetUp()
200 test_tmpdir = result.str(); in SetUp()
201 wtest_tmpdir = testonly_utf8_to_winpath(test_tmpdir.c_str()); in SetUp()
288 string path = test_tmpdir; in TEST_F()
301 EXPECT_EQ(access(test_tmpdir.c_str(), F_OK), 0); in TEST_F()
310 EXPECT_EQ(access((test_tmpdir + "/accesstest").c_str(), F_OK | W_OK), 0); in TEST_F()
311 ASSERT_EQ(access((test_tmpdir + "/./normalize_me/.././accesstest").c_str(), in TEST_F()
328 string path = test_tmpdir; in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/io/
Dio_win32_unittest.cc102 string test_tmpdir; member in google::protobuf::io::win32::__anon7b9dba1d0111::IoWin32Test
108 EXPECT_FALSE(test_tmpdir.empty()); \
164 test_tmpdir.clear(); in SetUp()
200 test_tmpdir = result.str(); in SetUp()
201 wtest_tmpdir = testonly_utf8_to_winpath(test_tmpdir.c_str()); in SetUp()
288 string path = test_tmpdir; in TEST_F()
301 EXPECT_EQ(access(test_tmpdir.c_str(), F_OK), 0); in TEST_F()
310 EXPECT_EQ(access((test_tmpdir + "/accesstest").c_str(), F_OK | W_OK), 0); in TEST_F()
311 ASSERT_EQ(access((test_tmpdir + "/./normalize_me/.././accesstest").c_str(), in TEST_F()
328 string path = test_tmpdir; in TEST_F()
[all …]
/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c336 char *test_tmpdir; in test_FS() local
339 test_tmpdir = tst_get_tmpdir(); in test_FS()
340 if (test_tmpdir == NULL) { in test_FS()
343 } else if (chdir(test_tmpdir) == -1) { in test_FS()
350 free(test_tmpdir); in test_FS()
/external/python/cpython3/
Dinstall-sh354 test_tmpdir="$tmpdir/a"
355 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
362 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/libevent/build-aux/
Dinstall-sh354 test_tmpdir="$tmpdir/a"
355 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
362 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/lmfit/build-aux/
Dinstall-sh344 test_tmpdir="$tmpdir/a"
345 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
351 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
352 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/ImageMagick/config/
Dinstall-sh354 test_tmpdir="$tmpdir/a"
355 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
362 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/speex/
Dinstall-sh360 test_tmpdir="$tmpdir/a"
361 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
367 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
368 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/e2fsprogs/config/
Dinstall-sh360 test_tmpdir="$tmpdir/a"
361 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
367 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
368 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/curl/
Dinstall-sh360 test_tmpdir="$tmpdir/a"
361 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
367 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
368 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/sg3_utils/
Dinstall-sh360 test_tmpdir="$tmpdir/a"
361 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
367 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
368 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/libpng/
Dinstall-sh360 test_tmpdir="$tmpdir/a"
361 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
367 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
368 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/pcre/
Dinstall-sh360 test_tmpdir="$tmpdir/a"
361 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
367 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
368 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/selinux/sandbox/
Dtest_sandbox.py92 def test_tmpdir(self): member in SandboxTests
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dtf_trt_integration_test_base.py948 test_tmpdir = os.getenv("TRT_TEST_TMPDIR")
949 if test_tmpdir:
951 test_tmpdir, self.__class__.__name__ + "_" + run_params.test_name +
/external/python/absl-py/
DCHANGELOG.md121 * (testing) Added public flag holders for `--test_srcdir` and `--test_tmpdir`.
124 `FLAGS.test_tmpdir`.
/external/gflags/cmake/
Dutils.cmake156 set (args "--test_tmpdir=${PROJECT_BINARY_DIR}/Testing/Temporary"
/external/gflags/test/
Dgflags_unittest.cc70 DEFINE_string(test_tmpdir, "", "Dir we use for temp files");
/external/python/cffi/testing/cffi1/
Dtest_verify1.py1369 def test_tmpdir(): function
/external/python/cffi/testing/cffi0/
Dtest_verify.py1402 def test_tmpdir(): function