Home
last modified time | relevance | path

Searched refs:testDir (Results 1 – 24 of 24) sorted by relevance

/third_party/node/deps/npm/test/tap/
Dpack.js15 const testDir = common.pkg constant
16 const tmp = path.join(testDir, 'tmp')
26 return rimraf(testDir)
27 .then(() => fixture.create(testDir))
33 '--prefix', testDir,
36 cwd: testDir
43 path.join(testDir, 'generic-package-90000.100001.5.tgz')
47 .then(() => rimraf(testDir))
81 return rimraf(testDir)
82 .then(() => fixture.create(testDir))
[all …]
Daliases.js18 const testDir = common.pkg constant
33 fixture.create(testDir)
65 '--cache', path.join(testDir, 'npmcache'),
67 ], { cwd: testDir })
74 '--cache', path.join(testDir, 'npmcache'),
76 ], { cwd: testDir })
83 path.join(testDir, 'node_modules', 'bar', 'package.json'),
91 return common.npm(['ls', '--json'], { cwd: testDir })
113 ], { cwd: testDir })
136 ], { cwd: testDir })
[all …]
Dci.js16 const testDir = common.pkg constant
19 cwd: testDir,
54 return Promise.all([rimraf(cacheDir), rimraf(testDir)]).then(() => {
55 fixture.create(testDir)
66 path.join(testDir, 'package-lock.json'),
83 return rimraf(testDir)
84 .then(() => fixture.create(testDir))
102 return fs.readdirAsync(path.join(testDir, 'node_modules'))
110 path.join(testDir, 'node_modules', mod, 'package.json')
134 path.join(testDir, 'package-lock.json'),
[all …]
Daudit-fix.js16 const testDir = common.pkg constant
18 const EXEC_OPTS = { cwd: testDir }
23 rimraf.sync(testDir)
36 rimraf.sync(testDir)
52 fixture.create(testDir)
88 '--cache', path.join(testDir, 'npm-cache')
118 '--cache', path.join(testDir, 'npm-cache')
129 t.similar(JSON.parse(fs.readFileSync(path.join(testDir, 'package-lock.json'), 'utf8')), {
153 fixture.create(testDir)
226 '--cache', path.join(testDir, 'npm-cache')
[all …]
Daudit.js15 const testDir = common.pkg constant
17 const EXEC_OPTS = { cwd: testDir }
24 rimraf.sync(testDir)
100 fixture.create(testDir)
136 '--cache', path.join(testDir, 'npm-cache')
159 '--cache', path.join(testDir, 'npm-cache')
177 fixture.create(testDir)
213 '--cache', path.join(testDir, 'npm-cache')
233 fixture.create(testDir)
269 '--cache', path.join(testDir, 'npm-cache')
[all …]
Dshrinkwrap-resolve-conflict.js15 const testDir = common.pkg constant
16 const modAdir = path.resolve(testDir, 'modA')
17 const modBdir = path.resolve(testDir, 'modB')
18 const modCdir = path.resolve(testDir, 'modC')
73 fixture.create(testDir)
75 return fs.readFileAsync(path.join(testDir, file)).then(JSON.parse)
81 ], {cwd: testDir}, (err, code, out, stderr) => {
117 test('cleanup', () => rimraf(testDir))
Dpublish.js11 const testDir = common.pkg constant
15 path.join(testDir, 'package.json'),
24 path.join(testDir, 'index.js'),
56 'cwd': testDir,
96 ], {'cwd': testDir})
117 ], {'cwd': testDir})
146 ], {'cwd': testDir})
Dinstall-before.js15 const testDir = common.pkg constant
30 fixture.create(testDir)
70 '--cache', path.join(testDir, 'npmcache'),
72 ], { cwd: testDir })
88 return rimraf(testDir)
/third_party/node/test/parallel/
Dtest-fs-opendir.js10 const testDir = tmpdir.path; constant
18 fs.closeSync(fs.openSync(path.join(testDir, filename), 'w'));
47 const dir = fs.opendirSync(testDir);
59 assert.strictEqual(dir.path, testDir);
68 fs.opendir(testDir, common.mustSucceed((dir) => {
123 const dir = await fs.promises.opendir(testDir);
145 for await (const dirent of await fs.promises.opendir(testDir)) {
159 const dir = await fs.promises.opendir(testDir);
169 const dir = await fs.promises.opendir(testDir);
181 const dir = await fs.promises.opendir(testDir);
[all …]
Dtest-fs-watch-recursive.js12 const testDir = tmpdir.path; constant
17 const testsubdir = fs.mkdtempSync(testDir + path.sep);
22 assert.throws(() => { fs.watch(testDir, { recursive: true }); },
26 const watcher = fs.watch(testDir, { recursive: true });
/third_party/glslang/gtests/
DTestFixture.h443 void loadFileCompileAndCheck(const std::string& testDir,
457 const std::string inputFname = testDir + "/" + testName;
459 testDir + baseDir + testName + ".out";
482 void loadFileCompileAndCheckWithOptions(const std::string &testDir,
492 const std::string inputFname = testDir + "/" + testName;
493 const std::string expectedOutputFname = testDir + baseDir + testName + ".out";
511 void loadFileCompileFlattenUniformsAndCheck(const std::string& testDir,
518 const std::string inputFname = testDir + "/" + testName;
520 testDir + "/baseResults/" + testName + ".out";
538 void loadFileCompileIoMapAndCheck(const std::string& testDir, in loadFileCompileIoMapAndCheck() argument
[all …]
/third_party/node/test/sequential/
Dtest-fs-watch.js41 const testDir = tmpdir.path; constant
55 const filepath = path.join(testDir, 'watch.txt');
74 const filepathAbs = path.join(testDir, 'hasOwnProperty');
76 process.chdir(testDir);
95 const testsubdir = fs.mkdtempSync(testDir + path.sep);
/third_party/node/test/pummel/
Dtest-fs-watch-file.js35 const testDir = tmpdir.path; constant
38 const filepathOne = path.join(testDir, filenameOne);
42 const filepathTwoAbs = path.join(testDir, filenameTwo);
75 process.chdir(testDir);
Dtest-fs-watch-non-recursive.js35 const testDir = tmpdir.path; constant
36 const testsubdir = path.join(testDir, 'testsubdir');
43 const watcher = fs.watch(testDir, { persistent: true }, common.mustNotCall());
/third_party/libxml2/fuzz/
DgenSeed.c251 processXPath(const char *testDir, const char *prefix, const char *name, in processXPath() argument
259 testDir, subdir, prefix); in processXPath()
332 processXPathDir(const char *testDir) { in processXPathDir() argument
339 if (processXPath(testDir, "", "expr", "<d></d>", "expr", 0) != 0) in processXPathDir()
342 size = snprintf(pattern, sizeof(pattern), "%s/docs/*", testDir); in processXPathDir()
361 if (processXPath(testDir, docFile, docFile, data, "tests", 0) != 0) in processXPathDir()
363 if (processXPath(testDir, docFile, docFile, data, "xptr", 1) != 0) in processXPathDir()
/third_party/typescript/src/testRunner/
DexternalCompileRunner.ts19 abstract testDir: string; property in Harness.ExternalCompileRunnerBase
22 return IO.getDirectories(this.testDir);
49 let cwd = path.join(IO.getWorkspaceRoot(), cls.testDir, directoryName);
107 readonly testDir = "tests/cases/user/"; property in Harness.UserCodeRunner
124 readonly testDir = "tests/cases/docker/"; property in Harness.DockerfileRunner
141 const cwd = path.join(IO.getWorkspaceRoot(), cls.testDir, directory);
/third_party/icu/icu4c/source/test/intltest/
Dtextfile.cpp51 const char* testDir = IntlTest::getSourceTestData(ec); in TextFile() local
55 if (!ensureCapacity((int32_t)(uprv_strlen(testDir) + uprv_strlen(name) + 1))) { in TextFile()
59 uprv_strcpy(buffer, testDir); in TextFile()
/third_party/nghttp2/integration-tests/
Dnghttpx_http3_test.go257 "--mruby-file=" + testDir + "/req-return.rb",
301 "--mruby-file=" + testDir + "/resp-return.rb",
340 args: []string{"--mruby-file=" + testDir + "/req-return.rb"},
Dnghttpx_http1_test.go535 args: []string{"--mruby-file=" + testDir + "/req-set-header.rb"},
561 args: []string{"--mruby-file=" + testDir + "/req-return.rb"},
601 args: []string{"--mruby-file=" + testDir + "/resp-set-header.rb"},
626 args: []string{"--mruby-file=" + testDir + "/resp-return.rb"},
975 "--mruby-file=" + testDir + "/req-return.rb",
1018 "--mruby-file=" + testDir + "/resp-return.rb",
1318 args: []string{"--mruby-file=" + testDir + "/req-return.rb"},
Dserver_tester.go35 testDir = sourceDir + "/integration-tests" const
143 args = append(args, testDir+"/server.key", testDir+"/server.crt")
Dnghttpx_http2_test.go947 args: []string{"--subcert=" + testDir + "/alt-server.key:" + testDir + "/alt-server.crt"},
1117 args: []string{"--mruby-file=" + testDir + "/req-set-header.rb"},
1143 args: []string{"--mruby-file=" + testDir + "/req-return.rb"},
1183 args: []string{"--mruby-file=" + testDir + "/resp-set-header.rb"},
1208 args: []string{"--mruby-file=" + testDir + "/resp-return.rb"},
3201 "--mruby-file=" + testDir + "/req-return.rb",
3244 "--mruby-file=" + testDir + "/resp-return.rb",
3582 args: []string{"--mruby-file=" + testDir + "/req-return.rb"},
/third_party/toybox/tests/
Dmount.test58 mkdir -p testDir1/testDir2 testDir
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dcreate.dart573 final Directory testDir = directory.childDirectory('test');
574 final List<FileSystemEntity> files = testDir.listSync(recursive: true);
575 await testDir.delete(recursive: true);
/third_party/chromium/patch/
D0001-cve.patch119650 @@ -362,6 +362,8 @@ processXPathDir(const char *testDir) {
119652 if (processXPath(testDir, docFile, docFile, data, "xptr", 1) != 0)
119654 + if (processXPath(testDir, docFile, docFile, data, "xptr-xp1", 1) != 0)