Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 525) sorted by relevance

12345678910>>...21

/ark/ts2abc/testTs/
Dskip_tests.json3 "./testTs/test/fixSignatureCaching.ts",
4 "./testTs/test/scanner/ecmascript3/scannerES3NumericLiteral6.ts",
5 "./testTs/test/scanner/ecmascript3/scannerES3NumericLiteral4.ts",
6 "./testTs/test/scanner/ecmascript3/scannerES3NumericLiteral3.ts",
7 "./testTs/test/scanner/ecmascript5/scannerNumericLiteral6.ts",
8 "./testTs/test/scanner/ecmascript5/scannerNumericLiteral4.ts",
9 "./testTs/test/scanner/ecmascript5/scannerUnicodeEscapeInKeyword1.ts",
10 "./testTs/test/scanner/ecmascript5/scannertest1.ts",
11 "./testTs/test/scanner/ecmascript5/scannerS7.8.3_A6.1_T1.ts",
12 "./testTs/test/scanner/ecmascript5/scannerS7.4_A2_T2.ts",
[all …]
Dimport_tests.json3 "./testTs/test/ambient/ambientDeclarationsPatterns/ambientDeclarationsPatterns.ts",
4 "./testTs/test/ambient/ambientShorthand_merging/ambientShorthand_merging.ts",
5 "./testTs/test/ambient/ambientShorthand_reExport/ambientShorthand_reExport.ts",
6 "./testTs/test/declarationEmit/typeReferenceRelatedFiles/typeReferenceRelatedFiles.ts",
7 "./testTs/test/externalModules/typeOnly/importDefaultNamedType/importDefaultNamedType.ts",
8 "./testTs/test/moduleResolution/scopedPackages/scopedPackages.ts",
9 "./testTs/test/moduleResolution/scopedPackagesClassic/scopedPackagesClassic.ts"
12 …"./testTs/test/internalModules/DeclarationMerging/AmbientModuleAndNonAmbientFunctionWithTheSameNam…
13 "./testTs/test/jsdoc/constructorTagOnClassConstructor.ts",
14 "./testTs/test/jsdoc/declarations/jsDeclarationsThisTypes.ts",
[all …]
/ark/js_runtime/test/resource/js_runtime/
Dohos_test.xml18 …tion name="push" value="obj/ark/js_runtime/ecmascript/tooling/test/Sample.abc -> /data/test" src="…
19 …on name="push" value="obj/ark/js_runtime/ecmascript/tooling/test/exception.abc -> /data/test" src=…
20 …on name="push" value="obj/ark/js_runtime/ecmascript/tooling/test/ArrowFunc.abc -> /data/test" src=…
21 …on name="push" value="obj/ark/js_runtime/ecmascript/tooling/test/AsyncFunc.abc -> /data/test" src=…
22 <option name="push" value="test/test/libjsdebugtest.so -> /data/test" src="out"/>
23 <option name="push" value="test/test/libdebugger_entry.so -> /data/test" src="out"/>
24 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
25 … <option name="push" value="test/test/libark_ecma_debugger_test.so -> /data/test" src="out"/>
30 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
31 … <option name="push" value="test/test/libark_ecma_debugger_test.so -> /data/test" src="out"/>
[all …]
/ark/runtime_core/runtime/include/
Druntime_options.h25 namespace test {
105 } // namespace test
107 namespace coretypes::test {
111 } // namespace coretypes::test
122 namespace mem::test {
134 } // namespace mem::test
136 namespace mem::test {
138 } // namespace mem::test
140 namespace concurrency::test {
143 } // namespace concurrency::test
[all …]
/ark/js_runtime/test/moduletest/container/
Dexpect_output.txt14 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 …]
Dcontainer_treemap.js25 print("### test TreeMap start ###")
26 // test get, out: true
27 print("test get, out:", map.length == 2 && map.get("a") == "aa" && map.get("b") == "bb");
28 // test hasKey and hasValue, out: true
29 print("test hasKey and hasValue, out:", map.hasKey("a") && map.hasKey("b") && map.hasValue("aa") &&
33 // test getFirstKey and getLastKey, out: true
34 print("test getFirstKey and getLastKey, out:", map.getFirstKey() == "a" && map.getLastKey() == "c");
35 // test getLowerKey and getHigherKey, out: true
36 print("test getLowerKey and getHigherKey, out:", map.getLowerKey("b") == "a" && map.getLowerKey("a"…
38 // test keys, out: true
[all …]
Dcontainer_treeset.js25 print("### test TreeSet start ###")
26 // test has, out: true
27 print("test has, out:", set.length == 2 && set.has("aa") && set.has("bb") && !set.has("cc"));
30 // test getFirstKey and getLastKey, out: true
31 print("test getFirstKey and getLastKey, out:", set.getFirstValue() == "aa" && set.getLastValue() ==…
32 // test getLowerValue and getHigherValue out: true
33 print("test getLowerValue and getHigherValue out:", set.getLowerValue("bb") == "aa" &&
36 // test values, out: true
38 print("test values, out:", iteratorSetValues.next().value == "aa" && iteratorSetValues.next().value…
40 // test entries, out: [cc, cc], undefined
[all …]
/ark/ts2abc/test262/
Dharness.patch30 -// Test Pipeline
42 +// Test Pipeline
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`);
[all …]
DREADME.md3 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 …]
Dbabel-preprocessor.js21 module.exports = function(test) { argument
23 test.contents = babel.transform(test.contents, config).code;
25 test.result = {
31 return test;
/ark/runtime_core/tests/cts-generator/
DREADME.md1 # 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.
12 ## Test generator
36 ## Test runner
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)
[all …]
/ark/runtime_core/tests/cts-generator/runner/reporters/
Dtest_reporter.rb34 @logger.log 2, "Test file: #{@pa_file}"
46 @logger.log 2, "Skip excluded test #{@pa_file} by tag"
50 @logger.log 2, "Skip not included test #{@pa_file} by tag"
54 @logger.log 2, "Skip test #{@pa_file} since bug id do not match"
58 @logger.log 2, "Skip test #{@pa_file}, because 'runner_option: ignore' tag is defined"
62 @logger.log 2, "Skip test #{@pa_file}, because run only test with 'runner_option: ignore' tag"
66 @logger.log 2, "Execute test #{@pa_file}, since 'runner_option: ignore' tag is ignored"
74 @logger.log 1, "Test failed: #{@pa_file}"
81 @logger.log 1, "Test failed: #{@pa_file}"
82 @logger.log 1, "Test is compiled, but should be rejected #{@pa_file}"
[all …]
/ark/runtime_core/tests/cts-generator/generator/
Dtest.rb15 class Test class
16 def initialize(test, predefined, process_only, output, skip_header) argument
17 # test - YAML:
21 @test = test
24 @test_name = test[Generator::TEST_NAME]
25 @isa = test[Generator::TEST_ISA]
26 @commands = test[Generator::TEST_COMMANDS]
27 @skip = @test[Generator::TEST_SKIP]
30 @definitions = Definitions.new @test[Generator::DEFINITIONS]
35 LOG.info "START parsing test '#{@test_name}'"
[all …]
Dparser.rb40 updated_tests = @tests.flat_map do |test|
41 if test.key? Generator::TESTS_INCLUDE
42 file_name = test[Generator::TESTS_INCLUDE]
53 # Add definitions to each test group from file.
60 test
80 # Generated test directory
92 LOG.debug "'only:' is defined for some test, process current: #{process}"
95test = Test.new raw_test, @predefined, options[:command_has_only_key], @output, @skip_header
96 test.parse
99 LOG.debug "'only:' is not defined for test, process current: true"
[all …]
/ark/js_runtime/ecmascript/tests/
Djs_handle_test.cpp25 namespace panda::test { namespace
26 class JSHandleTest : public testing::Test {
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()
[all …]
DBUILD.gn15 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 …]
Dlinked_hash_table_test.cpp31 namespace panda::test { namespace
32 class LinkedHashTableTest : public testing::Test {
82 // mock object needed in test in HWTEST_F_L0()
98 // test set() in HWTEST_F_L0()
102 // test find() in HWTEST_F_L0()
109 // test remove() in HWTEST_F_L0()
123 // mock object needed in test in HWTEST_F_L0()
139 // test set() in HWTEST_F_L0()
143 // test has() in HWTEST_F_L0()
148 // test remove() in HWTEST_F_L0()
[all …]
Djs_api_tree_set_test.cpp35 namespace panda::test { namespace
36 class JSAPITreeSetTest : public testing::Test {
102 // test JSAPITreeSet in HWTEST_F_L0()
116 // test has in HWTEST_F_L0()
129 // test JSAPITreeSet in HWTEST_F_L0()
151 // test has in HWTEST_F_L0()
160 // test has in HWTEST_F_L0()
172 // test TaggedTreeSet in HWTEST_F_L0()
188 // test has in HWTEST_F_L0()
200 // test TaggedTreeSet in HWTEST_F_L0()
[all …]
/ark/js_runtime/ecmascript/tooling/test/
Ddebugger_params_test.cpp28 namespace panda::test { namespace
36 class DebuggerParamsTest : public testing::Test {
76 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
82 … msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"maxScriptsCacheSize":100}})"; in HWTEST_F_L0()
96 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
102 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"unknownKey":100}})"; in HWTEST_F_L0()
108 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"samplingInterval":true}})"; in HWTEST_F_L0()
113 … msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"samplingInterval":"Test"}})"; in HWTEST_F_L0()
118 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"samplingInterval":1000}})"; in HWTEST_F_L0()
130 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
[all …]
Ddebugger_types_test.cpp27 namespace panda::test { namespace
34 class DebuggerTypesTest : public testing::Test {
79 msg = std::string() + R"({"id":0,"method":"Debugger.Test"})"; in HWTEST_F_L0()
84 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
89 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"unknownKey":100}})"; in HWTEST_F_L0()
94 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":100}})"; in HWTEST_F_L0()
98 // abnormal params of params.sub-key = [ type = [ "sub": "test" ] }, ] in HWTEST_F_L0()
99 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":100}})"; in HWTEST_F_L0()
104 …msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":")" + ObjectType::Objec… in HWTEST_F_L0()
110 …msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":")" + ObjectType::Objec… in HWTEST_F_L0()
[all …]
DBUILD.gn15 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/js_runtime/ecmascript/builtins/tests/
DBUILD.gn15 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/libpandabase/tests/
Dbit_utils_test.cpp22 namespace panda::test { namespace
24 TEST(BitUtils, ReverseBytesUint32) in TEST() function
31 TEST(BitUtils, ReverseBytesUint64) in TEST() function
38 TEST(BitUtils, ReverseBitsUint32) in TEST() function
45 TEST(BitUtils, ReverseBitsUint64) in TEST() function
52 TEST(BitUtils, RoundUp) in TEST() function
60 TEST(BitUtils, RoundDown) in TEST() function
67 } // namespace panda::test
Dmem_range_test.cpp25 namespace panda::test::mem_range { namespace
64 // test constructor and simple methods
65 TEST(MemRangeTest, BasicTest) in TEST() function
72 // test correct start and end addresses in TEST()
76 // test inner addresses in TEST()
81 // test outer addresses in TEST()
88 // test constructor with incorrect args
89 TEST(MemRangeTest, AssertTest) in TEST() function
97 // test IsIntersect method
98 TEST(MemRangeTest, IntersectTest) in TEST() function
[all …]
/ark/runtime_core/runtime/tests/
Dclass_size_test.cpp25 namespace panda::test { namespace
31 TEST(ClassSizeTest, TestSizeOfEmptyClass) in TEST() function
37 TEST(ClassSizeTest, TestSizeOfClassWithVtbl) in TEST() function
45 TEST(ClassSizeTest, TestSizeOfClassWith8BitFields) in TEST() function
53 TEST(ClassSizeTest, TestSizeOfClassWith16BitFields) in TEST() function
61 TEST(ClassSizeTest, TestSizeOfClassWith32BitFields) in TEST() function
69 TEST(ClassSizeTest, TestSizeOfClassWith64BitFields) in TEST() function
82 TEST(ClassSizeTest, TestSizeOfClassWithRefFields) in TEST() function
90 TEST(ClassSizeTest, TestSizeOfClassWithAnyFields) in TEST() function
104 TEST(ClassSizeTest, TestHoleFilling) in TEST() function
[all …]

12345678910>>...21