/ark/runtime_core/runtime/include/ |
D | runtime_options.h | 25 namespace test { 107 namespace coretypes::test { 122 namespace mem::test { 136 namespace mem::test { 140 namespace concurrency::test { 145 namespace interpreter::test { 149 namespace debugger::test { 153 namespace verifier::test { 157 namespace time::test { 274 friend class coretypes::test::ArrayTest; [all …]
|
/ark/js_runtime/test/moduletest/container/ |
D | expect_output.txt | 14 container test start 17 ### test TreeMap start ### 18 test get, out: true 19 test hasKey and hasValue, out: true 20 test getFirstKey and getLastKey, out: true 21 test getLowerKey and getHigherKey, out: true 22 test keys, out: true 23 test values, out: true 24 test entries, out: c,cc 26 test forof, out: [all …]
|
/ark/ts2abc/test262/ |
D | harness.patch | 57 @@ -209,3 +220,11 @@ function hasFeatures(test) { 59 return features.filter(feature => (test.attrs.features || []).includes(feature)).length > 0; 62 +function operMode(test) { 63 + test_scenario = test.scenario 124 - process.stdout.write(`PASS ${test.file}`); 125 + let mess = `PASS ${test.file} (${test.scenario})\n` 130 test.savedTestPath = saveCompiledTest(test, opts); 131 - process.stdout.write(`\nSaved compiled passed test as ${test.savedTestPath}\n`); 132 + // process.stdout.write(`\nSaved compiled passed test as ${test.savedTestPath}\n`); 140 - console.log(`FAIL ${test.file} (${test.scenario})`); [all …]
|
D | babel-preprocessor.js | 21 module.exports = function(test) { argument 23 test.contents = babel.transform(test.contents, config).code; 25 test.result = { 31 return test;
|
D | README.md | 3 es5_tests.txt: This file contains a list of ES5 test cases. If useful cases are found missing, you… 13 ## 2 Run test cases 28 --dir DIR Directory to test 29 --file FILE File to test 41 --timeout TIMEOUT Set a custom test timeout in milliseconds !!! 53 ### 2.2 Run all the test cases 59 ### 2.3 Run `es51` related test cases 67 ### 2.4 Run `es2015` related test cases 77 ### 2.5 Run single test case 83 ### 2.6 Run all the test cases under specified directory [all …]
|
/ark/js_runtime/ecmascript/tests/ |
D | js_handle_test.cpp | 25 namespace panda::test { namespace 80 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() local 81 auto string1 = factory->NewFromString(test.c_str()); in HWTEST_F_L0() 92 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() local 94 …factory->NewFromString(test.c_str())->Compare(*reinterpret_cast<EcmaString **>(globalString[i])) =… in HWTEST_F_L0() 99 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() local 101 …factory->NewFromString(test.c_str())->Compare(*reinterpret_cast<EcmaString **>(globalString[i])) =… in HWTEST_F_L0() 114 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() local 115 auto string1 = factory->NewFromString(test.c_str()); in HWTEST_F_L0() 140 std::string test = "test" + std::to_string(i); in HWTEST_F_L0() local [all …]
|
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file 51 # test file 78 # test file 105 # test file 132 # test file 159 # test file 186 # test file 213 # test file [all …]
|
/ark/runtime_core/tests/cts-generator/ |
D | README.md | 1 # Test generator and test runner tools 8 * `CTS_TEST_SELECT_OPTION` - options, passed to test-runner.rb. 10 * `PANDA_CTS_JOBS_NUMBER` - amount of parallel jobs for test execution. Default is 8. 41 Usage: test-runner.rb [options] 43 …-t, --test-dir DIR Path to test directory to search tests recursively, or path to si… 47 …-a, --run-all Run all tests, ignore "runner-option: ignore" tag in test definit… 48 …ignored Run ignored tests, which have "runner-option: ignore" tag in test definition 53 -j, --jobs N Amount of concurrent jobs for test execution (default 8) 65 ${PANDA_SRC_ROOT}/tests/cts-generator/test-runner.rb 91 ### How to generate all test not using cmake/make? [all …]
|
/ark/js_runtime/ecmascript/builtins/tests/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file 51 # test file 78 # test file 105 # test file 132 # test file 159 # test file 186 # test file 213 # test file [all …]
|
D | builtins_string_test.cpp | 34 namespace panda::test { namespace 100 JSTaggedValue test = factory->NewFromCanBeCompressString("ABC").GetTaggedValue(); in HWTEST_F_L0() local 102 …ast(ref->GetValue().GetTaggedObject())->Compare(reinterpret_cast<EcmaString *>(test.GetRawData())), in HWTEST_F_L0() 126 JSTaggedValue test = factory->NewFromCanBeCompressString("ABC").GetTaggedValue(); in HWTEST_F_L0() local 128 …::Cast(valueHandle->GetTaggedObject())->Compare(reinterpret_cast<EcmaString *>(test.GetRawData())), in HWTEST_F_L0() 151 JSTaggedValue test = factory->NewFromCanBeCompressString("ABC").GetTaggedValue(); in HWTEST_F_L0() local 152 ASSERT_EQ(resultHandle->Compare(reinterpret_cast<EcmaString *>(test.GetRawData())), 0); in HWTEST_F_L0() 170 JSTaggedValue test = factory->NewFromCanBeCompressString("c").GetTaggedValue(); in HWTEST_F_L0() local 171 ASSERT_EQ(resultHandle->Compare(reinterpret_cast<EcmaString *>(test.GetRawData())), 0); in HWTEST_F_L0() 189 JSTaggedValue test = factory->NewFromString("三").GetTaggedValue(); in HWTEST_F_L0() local [all …]
|
/ark/js_runtime/ecmascript/tooling/test/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 18 import("//build/test.gni") 39 "//ark/js_runtime/ecmascript/tooling/test", 44 test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/Sample.js" 56 test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/AsyncFunc.js" 68 test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/ArrowFunc.js" 80 test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/exception.js" 113 subsystem_name = "test" 126 test_abc_dir = "/data/test/" 164 subsystem_name = "test" [all …]
|
/ark/runtime_core/runtime/tests/ |
D | multithreaded_intern_string_table_test.cpp | 29 namespace panda::mem::test { namespace 143 void TestThreadEntry(MultithreadedInternStringTableTest *test) in TestThreadEntry() argument 150 auto *table = test->GetTable(); in TestThreadEntry() 152 test->PreCheck(); in TestThreadEntry() 154 test->CheckSameString(interned_str); in TestThreadEntry() 155 test->PostFree(); in TestThreadEntry()
|
/ark/js_runtime/ecmascript/ic/tests/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file 51 # test file 78 # test file 105 # test file
|
/ark/js_runtime/ecmascript/base/tests/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file 51 # test file 78 # test file 105 # test file
|
/ark/runtime_core/tests/cts-coverage-tool/ |
D | README.md | 3 The tool reads isa.yaml spec file and the provided set of test files, computes the coverage and out… 23 --testglob (-g) - glob for selecting test files in tests directory ("**/*.pa" for example), required 30 --orphaned (-o) - output list of test files that found not relevant to the current spec (the assert… 32 --report (-r) - output the test coverage summary report in yaml
|
/ark/runtime_core/docs/ |
D | debugger-vscode-communication.md | 13 2. Firstly server accepts a test client. 18 …de to have a debug server initialized at allocated time so we establish a test connection firstly … 19 3. We create a test client every 100 milliseconds to check is socket ready for a debug session. 20 4. When the connection is established (if it is at the allocated time) test client disconnects and …
|
/ark/js_runtime/test/ |
D | test_helper.gni | 17 import("//build/test.gni") 31 "//ark/js_runtime/test/resource/js_runtime/ohos_test.xml" 46 script = "//ark/js_runtime/test/run_ark_executable.py" 56 "/ark/ark_js_runtime:" + rebase_path(_root_out_dir_) + "/test/test:" + 120 script = "//ark/js_runtime/test/run_ark_executable.py"
|
/ark/js_runtime/ecmascript/hprof/tests/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file 51 # test file
|
/ark/ts2abc/ts2panda/scripts/ |
D | run_tests.py | 156 test = Ts2abcTests(args) 157 test.copy_node_modules() 158 test.copy_tests() 159 test.run_build() 160 test.run_tests()
|
/ark/js_runtime/ecmascript/regexp/tests/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file 51 # test file
|
/ark/js_runtime/ecmascript/containers/tests/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file 51 # test file
|
/ark/ts2abc/testTs/ |
D | README.md | 12 ### Execute test framework 17 python3 ./testTs/run_testTs.py --dir File directory, for example(./testTs/test/ambient)<br> 19 python3 ./testTs/run_testTs.py --file File path, for example (./testTs/test/ambient/1.ts)<br>
|
/ark/js_runtime/ecmascript/ts_types/tests/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file
|
/ark/js_runtime/ecmascript/napi/test/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file
|
/ark/js_runtime/ecmascript/snapshot/tests/ |
D | BUILD.gn | 15 import("//ark/js_runtime/test/test_helper.gni") 16 import("//build/test.gni") 24 # test file
|