Home
last modified time | relevance | path

Searched refs:testFile (Results 1 – 25 of 31) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/services/
DorganizeImports.ts312 const testFile = { constant
316 const languageService = makeLanguageService(testFile);
317 …const changes = languageService.organizeImports({ type: "file", fileName: testFile.path }, testFor…
322 const testFile = { constant
326 const languageService = makeLanguageService(testFile);
327 …const changes = languageService.organizeImports({ type: "file", fileName: testFile.path }, testFor…
332 const testFile = { constant
336 const languageService = makeLanguageService(testFile);
337 …const changes = languageService.organizeImports({ type: "file", fileName: testFile.path }, testFor…
381 const testFile = { constant
[all …]
/third_party/skia/tests/
DSkSLES2ConformanceTest.cpp38 static void test_expect_fail(skiatest::Reporter* r, const char* testFile) { in test_expect_fail() argument
40 sk_sp<SkData> shaderData = GetResourceAsData(testFile); in test_expect_fail()
42 ERRORF(r, "%s: Unable to load file", SkOSPath::Basename(testFile).c_str()); in test_expect_fail()
50 SkOSPath::Basename(testFile).c_str()); in test_expect_fail()
55 static void test_expect_pass(skiatest::Reporter* r, SkSurface* surface, const char* testFile) { in test_expect_pass() argument
57 sk_sp<SkData> shaderData = GetResourceAsData(testFile); in test_expect_pass()
59 ERRORF(r, "%s: Unable to load file", testFile); in test_expect_pass()
66 ERRORF(r, "%s: %s", testFile, result.errorText.c_str()); in test_expect_pass()
73 ERRORF(r, "%s: Unable to build shader", testFile); in test_expect_pass()
91 testFile, in test_expect_pass()
DSkSLTest.cpp50 const char* testFile, in test_one_permutation() argument
53 SkString resourcePath = SkStringPrintf("sksl/%s", testFile); in test_one_permutation()
56 ERRORF(r, "%s%s: Unable to load file", testFile, permutationSuffix); in test_one_permutation()
63 ERRORF(r, "%s%s: %s", testFile, permutationSuffix, result.errorText.c_str()); in test_one_permutation()
91 ERRORF(r, "%s%s: Unable to build shader", testFile, permutationSuffix); in test_one_permutation()
138 const char* testFile, in test_permutations() argument
143 test_one_permutation(r, surface, testFile, "", options); in test_permutations()
146 test_one_permutation(r, surface, testFile, " (NoInline)", options); in test_permutations()
149 static void test_cpu(skiatest::Reporter* r, const char* testFile) { in test_cpu() argument
153 test_permutations(r, surface.get(), testFile, /*worksInES2=*/true); in test_cpu()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ducaconf.cpp29 testFile(NULL), in UCAConformanceTest()
55 if (testFile) { in ~UCAConformanceTest()
56 fclose(testFile); in ~UCAConformanceTest()
112 if(testFile) { in openTestFile()
113 fclose(testFile); in openTestFile()
128 testFile = fopen(buffer, "rb"); in openTestFile()
130 if(testFile == 0) { in openTestFile()
133 testFile = fopen(buffer, "rb"); in openTestFile()
135 if(testFile == 0) { in openTestFile()
138 testFile = fopen(buffer, "rb"); in openTestFile()
[all …]
Dtsmthred.cpp797 FILE *testFile = NULL; in TestCollators() local
809 if(testFile) { in TestCollators()
810 fclose(testFile); in TestCollators()
825 testFile = fopen(buffer, "rb"); in TestCollators()
827 if(testFile == 0) { in TestCollators()
830 testFile = fopen(buffer, "rb"); in TestCollators()
832 if(testFile == 0) { in TestCollators()
835 testFile = fopen(buffer, "rb"); in TestCollators()
837 if (testFile == 0) { in TestCollators()
858 while (fgets(buffer, 1024, testFile) != NULL) { in TestCollators()
[all …]
Ducaconf.h47 FILE *testFile; variable
Drbbitst.cpp741 UChar *testFile = ReadAndConvertFile(testFileName.data(), len, "UTF-8", status); in TestExtended() local
752 UnicodeString testString(FALSE, testFile, len); in TestExtended()
1125 delete [] testFile; in TestExtended()
1412 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in runUnicodeTestData() local
1415 TEST_ASSERT(testFile != NULL); in runUnicodeTestData()
1417 if (U_FAILURE(status) || testFile == NULL) { in runUnicodeTestData()
1420 UnicodeString testFileAsString(TRUE, testFile, len); in runUnicodeTestData()
1515 delete [] testFile; in runUnicodeTestData()
4522 UChar *testFile = ReadAndConvertFile(testFileName.data(), len, "UTF-8", status); in TestEmoji() local
4523 if (U_FAILURE(status) || testFile == NULL) { in TestEmoji()
[all …]
/third_party/node/test/parallel/
Dtest-fs-lchown.js54 const testFile = path.join(tmpdir.path, path.basename(__filename)); constant
59 fs.copyFileSync(__filename, testFile);
60 fs.lchownSync(testFile, uid, gid);
61 fs.lchown(testFile, uid, gid, common.mustSucceed(async (err) => {
62 await promises.lchown(testFile, uid, gid);
Dtest-repl-save-load.js46 const testFile = [ variable
54 putIn.run(testFile);
61 testFile.join('\n'));
Dtest-require-invalid-main-no-exports.js16 const testFile = fixtures.path('package-main-enoent', 'test.js'); constant
18 const { error, status, stderr } = spawnSync(process.execPath, [testFile]);
Dtest-repl-tab-complete-nested-repls.js15 const testFile = fixtures.path('repl-tab-completion-nested-repls.js'); constant
16 const result = spawnSync(process.execPath, [testFile]);
/third_party/icu/icu4c/source/test/iotest/
Diotest.cpp223 LocalUFILEPointer testFile; in DataDrivenPrintf() local
237 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf()
238 if (testFile.isNull()) { in DataDrivenPrintf()
263 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); in DataDrivenPrintf()
268 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i8); in DataDrivenPrintf()
273 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i16); in DataDrivenPrintf()
278 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i32); in DataDrivenPrintf()
283 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i64); in DataDrivenPrintf()
288 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer); in DataDrivenPrintf()
292 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument); in DataDrivenPrintf()
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Ddrive_test.dart70 final String testFile = fs.path.join(tempDir.path, 'test_driver', 'e2e_test.dart');
82 expect(e.message, contains('Test file not found: $testFile'));
93 final String testFile = fs.path.join(tempDir.path, 'test_driver', 'e2e_test.dart');
97 await memFs.file(testFile).writeAsString('main() { }');
161 final String testFile = fs.path.join(tempDir.path, 'test_driver', 'e2e_test.dart');
167 expect(testArgs, <String>[testFile]);
176 await memFs.file(testFile).writeAsString('main() {}');
192 final String testFile = fs.path.join(tempDir.path, 'test_driver', 'e2e_test.dart');
206 await memFs.file(testFile).writeAsString('main() {}');
320 String testApp, testFile;
[all …]
Dtest_test.dart222 final File testFile = fs.file(testPath);
223 if (!testFile.existsSync())
224 fail('missing test file: $testFile');
/third_party/typescript/src/testRunner/unittests/tsserver/
DtypeReferenceDirectives.ts23 const testFile: File = { constant
48 const files = [typeLib, appLib, testFile, testConfig, libFile]; constant
51 service.openClientFile(testFile.path);
/third_party/node/test/js-native-api/test_general/
DtestInstanceOf.js39 function testFile(fileName) { function
54 testFile(path.join(v8TestsDir, 'instanceof.js'));
55 testFile(path.join(v8TestsDir, 'instanceof-2.js'));
/third_party/flutter/flutter/dev/tools/
Djava_and_objc_doc.dart67 final File testFile = File('${output.path}/$checkFile');
68 if (!testFile.existsSync()) {
69 print('Expected file ${testFile.path} not found');
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dgoldens.dart169 /// Creates a new [LocalFileComparator] for the specified [testFile].
172 /// directory in which [testFile] resides.
174 /// The [testFile] URL must represent a file.
175 LocalFileComparator(Uri testFile, {path.Style pathStyle})
176 : basedir = _getBasedir(testFile, pathStyle),
183 static Uri _getBasedir(Uri testFile, path.Style pathStyle) {
185 final String testFilePath = context.fromUri(testFile);
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/
Dresolver_sync.js238 var testFile = path.basename(__filename);
242 resolve.sync('./' + testFile),
250 function run() { return resolve.sync('./' + testFile + '/blah'); }
260 'Cannot find module \'./' + testFile + '/blah\' from \'' + __dirname + '\'',
Dresolver.js314 var testFile = path.basename(__filename);
318 resolve('./' + testFile, function (err, res, pkg) {
327 resolve('./' + testFile + '/blah', function (err, res, pkg) {
334 'Cannot find module \'./' + testFile + '/blah\' from \'' + __dirname + '\'',
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ant/
DCleanOutputDirectoryTaskTest.java80 .that(CleanOutputDirectoryTask.wasFileAutoGenerated(testFile(fileLines), HEADER)); in assertWasAutogenerated()
83 private static BufferedReader testFile(String... lines) { in testFile() method in CleanOutputDirectoryTaskTest
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Ddrive.dart96 final String testFile = _getTestFile();
97 if (testFile == null)
104 if (await fs.type(testFile) != FileSystemEntityType.file)
105 throwToolExit('Test file not found: $testFile');
133 await testRunner(<String>[testFile], observatoryUri);
/third_party/toybox/tests/
Dmount.test59 echo "abcdefghijklmnopqrstuvwxyz" > testDir1/testDir2/testFile
/third_party/vk-gl-cts/android/cts/runner/src/com/drawelements/deqp/runner/
DDeqpTestRunner.java2144 for (String testFile : mIncrementalDeqpIncludeFiles) { in loadTests()
2145 CLog.d("Read incremental dEQP include file '%s'", testFile); in loadTests()
2146 File file = new File(mBuildHelper.getTestsDir(), testFile); in loadTests()
2150 file = FileUtil.findFile(mBuildHelper.getTestsDir(), testFile); in loadTests()
2153 "Cannot find incremental dEQP include file: " + testFile); in loadTests()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
DSerializableTestUtility.java873 static Object[] getSerializedObjects(File testFile) throws IOException, ClassNotFoundException { in getSerializedObjects() argument
874 FileInputStream fis = new FileInputStream(testFile); in getSerializedObjects()

12