Home
last modified time | relevance | path

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

12

/third_party/typescript/src/testRunner/unittests/services/
DorganizeImports.ts319 const testFile = { constant
323 const languageService = makeLanguageService(testFile);
324 …const changes = languageService.organizeImports({ type: "file", fileName: testFile.path }, testFor…
329 const testFile = { constant
333 const languageService = makeLanguageService(testFile);
334 …const changes = languageService.organizeImports({ type: "file", fileName: testFile.path }, testFor…
339 const testFile = { constant
343 const languageService = makeLanguageService(testFile);
344 …const changes = languageService.organizeImports({ type: "file", fileName: testFile.path }, testFor…
455 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.cpp798 FILE *testFile = NULL; in TestCollators() local
810 if(testFile) { in TestCollators()
811 fclose(testFile); in TestCollators()
826 testFile = fopen(buffer, "rb"); in TestCollators()
828 if(testFile == 0) { in TestCollators()
831 testFile = fopen(buffer, "rb"); in TestCollators()
833 if(testFile == 0) { in TestCollators()
836 testFile = fopen(buffer, "rb"); in TestCollators()
838 if (testFile == 0) { in TestCollators()
859 while (fgets(buffer, 1024, testFile) != NULL) { in TestCollators()
[all …]
Dlstmbetst.cpp85 UChar *testFile = ReadAndConvertFile(testFileName.data(), len, "UTF-8", status); in runTestFromFile() local
92 UnicodeString testString(false, testFile, len); in runTestFromFile()
199 delete [] testFile; in runTestFromFile()
Ducaconf.h47 FILE *testFile; variable
Drbbitst.cpp754 UChar *testFile = ReadAndConvertFile(testFileName.data(), len, "UTF-8", status); in TestExtended() local
765 UnicodeString testString(false, testFile, len); in TestExtended()
1138 delete [] testFile; in TestExtended()
1309 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in runUnicodeTestData() local
1312 TEST_ASSERT(testFile != NULL); in runUnicodeTestData()
1314 if (U_FAILURE(status) || testFile == NULL) { in runUnicodeTestData()
1317 UnicodeString testFileAsString(true, testFile, len); in runUnicodeTestData()
1412 delete [] testFile; in runUnicodeTestData()
4428 UChar *testFile = ReadAndConvertFile(testFileName.data(), len, "UTF-8", status); in TestEmoji() local
4429 if (U_FAILURE(status) || testFile == NULL) { in TestEmoji()
[all …]
/third_party/node/test/parallel/
Dtest-runner-reporters.js12 const testFile = fixtures.path('test-runner/reporters.js'); constant
18 const child = spawnSync(process.execPath, ['--test', testFile]);
27 const child = spawnSync(process.execPath, ['--test', '--test-reporter', 'dot', testFile]);
33 …wnSync(process.execPath, ['--test', '--test-reporter', 'dot', '--test-reporter', 'tap', testFile]);
39 …st child = spawnSync(process.execPath, ['--test', '--test-reporter-destination', 'tap', testFile]);
46 … ['--test', '--test-reporter', 'dot', '--test-reporter-destination', 'stdout', testFile]);
53 … ['--test', '--test-reporter', 'dot', '--test-reporter-destination', 'stderr', testFile]);
61 … ['--test', '--test-reporter', 'dot', '--test-reporter-destination', file, testFile]);
68 …onst child = spawnSync(process.execPath, ['--test', '--test-reporter', 'v8-serializer', testFile]);
82 testFile]);
[all …]
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/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/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/astc-encoder/Test/testlib/
Dtestset.py89 if imageFilter and image.testFile != imageFilter:
Dimage.py135 self.testFile = parts[2]
138 self.decode_file_name(self.testFile)
/third_party/toybox/tests/
Dmount.test59 echo "abcdefghijklmnopqrstuvwxyz" > testDir1/testDir2/testFile
/third_party/astc-encoder/Test/
Dastc_test_image.py204 dat = (curCount, maxCount, blkSz, image.testFile)
208 res = trs.Record(blkSz, image.testFile, res[0], res[1], res[2], res[3])
/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()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java910 static Object[] getSerializedObjects(File testFile) throws IOException, ClassNotFoundException { in getSerializedObjects() argument
911 FileInputStream fis = new FileInputStream(testFile); in getSerializedObjects()
/third_party/node/deps/npm/test/lib/commands/
Ddoctor.js42 testFile: 'test contents', property

12