Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/linter/src/
DTestRunner.ts97 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/
Dtest_debug_info.cpp32 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/
Dupdate-test-results.mjs72 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/
Djs_syntax_exception_test.h98 const std::string testFile = "syntax_exception";
99 std::string pandaFile_ = DEBUGGER_ABC_DIR + testFile + ".abc";
100 std::string sourceFile_ = DEBUGGER_JS_DIR + testFile + ".js";
Djs_throw_exception_test.h101 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/
Dfile_item_container_test.cpp868 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()