Home
last modified time | relevance | path

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

12345678910>>...94

/arkcompiler/ets_frontend/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 …]
/arkcompiler/ets_runtime/test/resource/js_runtime/
Dohos_test.xml18 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
23 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
28 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
33 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
38 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
43 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
48 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
53 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
58 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
63 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
[all …]
/arkcompiler/ets_frontend/es2panda/test/
Dtest_tsc_ignore_list.txt1 es2panda/test/TypeScript/tests/cases/compiler/ambientClassOverloadForFunction.ts
2 es2panda/test/TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody5.ts
3 es2panda/test/TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody6.ts
4 es2panda/test/TypeScript/tests/cases/compiler/assertionFunctionsCanNarrowByDiscriminant.ts
5 es2panda/test/TypeScript/tests/cases/compiler/bom-utf16be.ts
6 es2panda/test/TypeScript/tests/cases/compiler/castTest.ts
7 es2panda/test/TypeScript/tests/cases/compiler/classFunctionMerging.ts
8 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInType.ts
9 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInterfaceMembers.ts
10 es2panda/test/TypeScript/tests/cases/compiler/computedPropertiesTransformedInOtherwiseNonTSClasses.…
[all …]
/arkcompiler/toolchain/test/resource/tooling/
Dohos_test.xml18 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/sample.abc -> /data/test" src="o…
19 …option name="push" value="obj/arkcompiler/toolchain/tooling/test/exception.abc -> /data/test" src=…
20 …option name="push" value="obj/arkcompiler/toolchain/tooling/test/arrow_func.abc -> /data/test" src…
21 …option name="push" value="obj/arkcompiler/toolchain/tooling/test/async_func.abc -> /data/test" src…
22 …ption name="push" value="obj/arkcompiler/toolchain/tooling/test/range_error.abc -> /data/test" src…
23 …ion name="push" value="obj/arkcompiler/toolchain/tooling/test/syntax_exception.abc -> /data/test" …
24 …ion name="push" value="obj/arkcompiler/toolchain/tooling/test/throw_exception.abc -> /data/test" s…
25 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/step.abc -> /data/test" src="out…
26 <option name="push" value="test/test/libjsdebugtest.so -> /data/test" src="out"/>
27 <option name="push" value="test/test/libdebugger_entry.so -> /data/test" src="out"/>
[all …]
/arkcompiler/runtime_core/platforms/tests/
Dfile_test.cpp37 class FileTest : public testing::Test {
48 …const std::string pathStr = "/test/test/test/test/test/test/test/test/test/test/test/test/test/tes…
58 …const std::string pathStr = "\\test\\test\\test\\test\\test\\test\\test\\test\\test\\test\\test\\t…
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_treemap.js18 * @tc.desc:test container
31 // test get: true
32 res.set("test get:", map.length == 2 && map.get("a") == "aa" && map.get("b") == "bb");
33 // test hasKey and hasValue: true
34 res.set("test hasKey and hasValue:", map.hasKey("a") && map.hasKey("b") && map.hasValue("aa") &&
38 // test getFirstKey and getLastKey: true
39 … res.set("test getFirstKey and getLastKey:", map.getFirstKey() == "a" && map.getLastKey() == "c");
40 // test getLowerKey and getHigherKey: true
41 …res.set("test getLowerKey and getHigherKey:", map.getLowerKey("b") == "a" && map.getLowerKey("a") …
43 // test keys: true
[all …]
Dcontainer_treeset.js18 * @tc.desc:test container
31 // test has: true
32 map.set("test has:", set.length == 2 && set.has("aa") && set.has("bb") && !set.has("cc"));
35 // test getFirstKey and getLastKey: true
36 …map.set("test getFirstKey and getLastKey:", set.getFirstValue() == "aa" && set.getLastValue() == "…
37 // test getLowerValue and getHigherValue out: true
38 map.set("test getLowerValue and getHigherValue", set.getLowerValue("bb") == "aa" &&
42 // test values: true
44 …map.set("test values:", iteratorSetValues.next().value == "aa" && iteratorSetValues.next().value =…
46 // test entries: [cc, cc], undefined
[all …]
Dcontainer_hashmap.js18 * @tc.desc:test container
29 // test isEmpty true
30 res.set("test isEmpty ture:", map.isEmpty() == true)
35 // test isEmpty false
36 res.set("test isEmpty false:", map.isEmpty() == false)
37 // test get: true
38 res.set("test get:", map.length == 2 && map.get("a") == "aa" && map.get("b") == "bb");
39 // test hasKey and hasValue: true
40 res.set("test hasKey and hasValue:", map.hasKey("a") && map.hasKey("b") && map.hasValue("aa") &&
44 // test keys: true
[all …]
Dcontainer_lightweightset.js18 * @tc.desc:test container
29 // test isEmpty: true
30 res.set("test isEmpty:", proxy.isEmpty());
34 // test has: true
35 res.set("test has 1:", proxy.has(1));
36 res.set("test has 2:", proxy.has(2));
37 res.set("test has 3:", proxy.has(3));
38 // test has: false
39 res.set("test has 4:", proxy.has(4) == false);
40 // test values: true
[all …]
Dcontainer_lightweightmap.js18 * @tc.desc:test container
29 // test isEmpty: true
30 res.set("test isEmpty:", proxy.isEmpty());
34 // test get: true
35 res.set("test get:", proxy.length == 2 && proxy.get("a") == "aa" && proxy.get("b") == "bb");
36 // test hasKey and hasValue: true
37 …res.set("test hasKey and hasValue:", proxy.hasKey("a") && proxy.hasKey("b") && proxy.hasValue("aa"…
41 // test getIndexOfKey and getIndexOfValue: true
42 …res.set("test getIndexOfKey and getIndexOfValue:", proxy.getIndexOfKey("a") === 0 && proxy.getInde…
43 // test getKeyAt: true
[all …]
Dcontainer_hashset.js18 * @tc.desc:test container
31 // test has: true
32 map.set("test has:", set.length == 2 && set.has("aa") && set.has("bb") && !set.has("cc"));
36 // test values: true
38 …map.set("test values:", iteratorSetValues.next().value == "aa" && iteratorSetValues.next().value =…
40 // test entries: [cc, cc], undefined
44 map.set("test entries1:", iteratorSetEntries.next().value != undefined);
45 map.set("test entries2:", iteratorSetEntries.next().value == undefined);
47 // test forof: aa, bb, cc
55 // test forin:
[all …]
Dexpect_output.txt14 container test start
15 Test ArrayList success!!!
16 Test Deque success!!!
17 Test HashMap success!!!
18 Test HashSet success!!!
19 Test LightWeightMap success!!!
20 Test LightWeightSet success!!!
21 Test LinkedList success!!!
22 Test List success!!!
23 Test PlainArray success!!!
[all …]
Dcontainer_vector.js18 * @tc.desc:test container
34 map.set("test add and toString:", res);
35 // test insert, length, get, getIndexOf
37 map.set("test length:", vector.length == 6);
38 map.set("test get(index is 2):", vector.get(2) == 2);
39 map.set("test get(index is 3):", vector.get(3) !== 3); // false
40 map.set("test getIndexOf(target is 3):", vector.getIndexOf(3) == 1); // true
41 map.set("test getIndexOf(target is 2):", vector.getIndexOf(2) !== 5); // false
42 // test isEmpty
43 map.set("test isEmpty:", !vector.isEmpty());
[all …]
Dcontainer_list.js18 * @tc.desc:test container
28 map.set("test list isEmpty1:", list.isEmpty() === true)
34 map.set("test list isEmpty2:", list.isEmpty() === false)
35 map.set("test list get 1:", list.get(1) === 1)
36 map.set("test list has:", list.has(8))
37 map.set("test list not has:", list.has(123) === false)
46 map.set("test list equal:", list.equal(list1))
49 map.set("test list equal:", list.equal(list1) === false)
50 map.set("test list getLastIndexOf:", list.getLastIndexOf(1) === 1)
51 map.set("test list getIndexOf:", list.getIndexOf(5) === 5)
[all …]
Dcontainer_linked_list.js18 * @tc.desc:test container
32 map.set("test linkedlist has:", list.has(8))
33 map.set("test linkedlist not has:", list.has(2))
34 map.set("test linkedlist getLastIndexOf:", list.getLastIndexOf(1) === 1)
35 map.set("test linkedlist getIndexOf:", list.getIndexOf(5) === 5)
46 map.set("test linkedlist removeByIndex:", res)
56 map.set("test linkedlist remove:", res)
57 map.set("test linkedlist remove1:", removeRes)
58 map.set("test linkedlist getFirst:", list.getFirst() === 0)
59 map.set("test linkedlist getLast:", list.getLast() === 7)
[all …]
/arkcompiler/runtime_core/compiler/tests/amd64/
Dencoder64_test.cpp116 class Encoder64Test : public ::testing::Test {
434 bool TestNeg(Encoder64Test *test) in TestNeg() argument
437 test->PreWork(); in TestNeg()
439 auto param = test->GetParameter(TypeInfo(T(0))); in TestNeg()
440 // Main test call in TestNeg()
441 test->GetEncoder()->EncodeNeg(param, param); in TestNeg()
443 test->PostWork<T>(); in TestNeg()
446 if (!test->GetEncoder()->GetResult()) { in TestNeg()
451 test->Dump(false); in TestNeg()
453 // Main test loop: in TestNeg()
[all …]
/arkcompiler/runtime_core/compiler/tests/aarch64/
Dencoder64_test.cpp130 class Encoder64Test : public ::testing::Test {
436 bool TestNeg(Encoder64Test *test) in TestNeg() argument
439 test->PreWork(); in TestNeg()
441 auto param = test->GetParameter(TypeInfo(T(0))); in TestNeg()
442 // Main test call in TestNeg()
443 test->GetEncoder()->EncodeNeg(param, param); in TestNeg()
445 test->PostWork(); in TestNeg()
448 if (!test->GetEncoder()->GetResult()) { in TestNeg()
453 test->Dump(false); in TestNeg()
455 // Main test loop: in TestNeg()
[all …]
/arkcompiler/runtime_core/compiler/tests/aarch32/
Dencoder32_test.cpp119 class Encoder32Test : public ::testing::Test {
431 bool TestNeg(Encoder32Test *test) in TestNeg() argument
434 test->PreWork<T>(); in TestNeg()
436 auto param = test->GetParameter(TypeInfo(T(0))); in TestNeg()
437 // Main test call in TestNeg()
438 test->GetEncoder()->EncodeNeg(param, param); in TestNeg()
440 test->PostWork<T>(); in TestNeg()
443 if (!test->GetEncoder()->GetResult()) { in TestNeg()
448 test->Dump(false); in TestNeg()
450 // Main test loop: in TestNeg()
[all …]
/arkcompiler/runtime_core/tests/checked/verify_aot_tests/
Dverify_aot_test.pa25 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
26 #! RUN options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc", entry: "Ver…
27 #! EVENT /AotManager,.*test.*,ADDED/
28 #! EVENT /AotManager,.*test.*,VERIFIED/
31 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
32 #! RUN options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc", entry: "Ver…
33 #! EVENT /AotManager,.*test.*,ADDED/
34 #! EVENT /AotManager,.*test.*,VERIFIED/
37 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
38 #! RUN options: "--panda-files=../../verify_aot_tests_file2.checked/test.abc", entry: "Ver…
[all …]
/arkcompiler/ets_frontend/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 …]
/arkcompiler/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…
46 --aot-mode Perform AOT compilation on test sources
50 --verify-tests Run verifier against positive tests (option for test checking)
53 …-a, --run-all Run all tests, ignore "runner-option: ignore" tag in test definit…
[all …]
/arkcompiler/ets_runtime/test/moduletest/typearray/
Dexpect_output.txt14 Float64Array test success !!!
15 Float32Array test success !!!
16 Int32Array test success !!!
17 Int16Array test success !!!
18 Int8Array test success !!!
19 Uint32Array test success !!!
20 Uint16Array test success !!!
21 Uint8Array test success !!!
22 Uint8ClampedArray test success !!!
23 BigInt64Array test success !!!
[all …]
/arkcompiler/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 …]
/arkcompiler/toolchain/tooling/test/utils/
Dtest_list.cpp16 #include "test/utils/test_list.h"
18 #include "test/utils/test_util.h"
21 #include "test/testcases/js_breakpoint_test.h"
22 #include "test/testcases/js_breakpoint_arrow_test.h"
23 #include "test/testcases/js_breakpoint_async_test.h"
24 #include "test/testcases/js_exception_test.h"
25 #include "test/testcases/js_range_error_test.h"
26 #include "test/testcases/js_single_step_test.h"
27 #include "test/testcases/js_step_into_test.h"
28 #include "test/testcases/js_step_over_test.h"
[all …]

12345678910>>...94