Searched refs:testFile (Results 1 – 6 of 6) sorted by relevance
| /arkcompiler/ets_frontend/ets2panda/linter/src/ |
| D | TestRunner.ts | 97 for (const testFile of testFiles) { constant 99 let tsName = testFile; 100 if (testFile.includes(testExtensionSts)) { 102 tsName = testFile.replace(testExtensionSts, ts.Extension.Ts); 103 fs.renameSync(path.join(testDir, testFile), path.join(testDir, tsName)); 118 fs.renameSync(path.join(testDir, tsName), path.join(testDir, testFile)); 124 function parseArgs(testDir: string, testFile: string, mode: Mode): CommandLineOptions { 126 const args: string[] = [path.join(testDir, testFile)]; 127 const argsFileName = path.join(testDir, testFile + ARGS_CONFIG_EXT); 144 function compareExpectedAndActual(testDir: string, testFile: string, mode: Mode, resultNodes: TestN… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/tooling/ |
| D | test_debug_info.cpp | 32 auto testFile = std::getenv("TEST_FILE"); in GetTestFile() local 33 if (testFile == nullptr) { in GetTestFile() 37 return testFile; in GetTestFile()
|
| /arkcompiler/ets_frontend/ets2panda/linter/scripts/ |
| D | update-test-results.mjs | 72 function updateTest(testDir, testFile, mode) { argument 74 let resultFileWithExt = testFile + resultExt; 78 if (mode === Mode.AUTOFIX && fs.existsSync(path.join(testDir, testFile + AUTOFIX_SKIP_EXT))) { 117 for (let testFile of testFiles) { 118 updateTest(testDir, testFile, Mode.DEFAULT); 119 updateTest(testDir, testFile, Mode.AUTOFIX);
|
| /arkcompiler/toolchain/tooling/test/testcases/ |
| D | js_syntax_exception_test.h | 98 const std::string testFile = "syntax_exception"; 99 std::string pandaFile_ = DEBUGGER_ABC_DIR + testFile + ".abc"; 100 std::string sourceFile_ = DEBUGGER_JS_DIR + testFile + ".js";
|
| D | js_throw_exception_test.h | 101 const std::string testFile = "throw_exception"; 102 std::string pandaFile_ = DEBUGGER_ABC_DIR + testFile + ".abc"; 103 std::string sourceFile_ = DEBUGGER_JS_DIR + testFile + ".js";
|
| /arkcompiler/runtime_core/static_core/libpandafile/tests/ |
| D | file_item_container_test.cpp | 868 std::ofstream testFile; in TEST() local 869 testFile.open(profilePath); in TEST() 870 testFile << "string_item:test_field" << std::endl; in TEST() 871 testFile << "class_item:BB" << std::endl; in TEST() 872 testFile << "code_item:BB::foo2" << std::endl; in TEST() 873 testFile << "code_item:Test::foo4" << std::endl; in TEST() 874 testFile.close(); in TEST()
|