Home
last modified time | relevance | path

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

12345678910>>...174

/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/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 …]
/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="obj/arkcompiler/toolchain/tooling/test/dropframe.abc -> /data/test" src=…
27 …tion name="push" value="obj/arkcompiler/toolchain/tooling/test/variable_first.abc -> /data/test" s…
[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/ets2panda/test/test-lists/parser/
Dparser-js-allowed.txt241 compiler/ts/test-interface.ts
242 compiler/ts/test-type-literal.ts
264 parser/js/test-sequence-expression.js
265 parser/js/test-import-meta.js
266 parser/js/test-this-expression.js
267 parser/js/test-class-definition.js
268 parser/js/test-export-named-decl.js
269 parser/js/test-var-decl.js
270 parser/js/test-import-expression.js
271 parser/js/test-update-expression.js
[all …]
/arkcompiler/ets_runtime/test/moduletest/container/
Dexpect_output.txt16 Test ArrayList success!!!
17 Test Deque success!!!
21 Test HashMap success!!!
22 Test HashSet success!!!
23 Test LightWeightMap success!!!
24 Test LightWeightSet success!!!
25 Test LinkedList success!!!
27 Test List success!!!
28 Test PlainArray success!!!
30 Test Queue success!!!
[all …]
Dcontainer_lightweightmap.js18 * @tc.desc:test container
31 // test isEmpty: true
32 res.set("test isEmpty:", proxy.isEmpty());
36 // test get: true
37 res.set("test get:", proxy.length == 2 && proxy.get("a") == "aa" && proxy.get("b") == "bb");
38 // test hasKey and hasValue: true
39 …res.set("test hasKey and hasValue:", proxy.hasKey("a") && proxy.hasKey("b") && proxy.hasValue("aa"…
43 // test getIndexOfKey and getIndexOfValue: true
44 …res.set("test getIndexOfKey and getIndexOfValue:", proxy.getIndexOfKey("a") === 0 && proxy.getInde…
45 // 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 …]
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 …]
/arkcompiler/ets_frontend/es2panda/test/
Dtest_tsc_ignore_list.txt1 es2panda/test/TypeScript/tests/cases/compiler/bom-utf16be.ts
2 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInType.ts
3 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInterfaceMembers.ts
4 es2panda/test/TypeScript/tests/cases/compiler/elidedEmbeddedStatementsReplacedWithSemicolon.ts
5 es2panda/test/TypeScript/tests/cases/compiler/emitBundleWithShebang1.ts
6 es2panda/test/TypeScript/tests/cases/compiler/isLiteral1.ts
7 es2panda/test/TypeScript/tests/cases/compiler/isLiteral2.ts
8 es2panda/test/TypeScript/tests/cases/compiler/letAsIdentifier2.ts
9 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES5.ts
10 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES6.ts
[all …]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
Dtest_doclet.py202 test = TestCase()
203 test.assertTrue(sts is not None)
205 test.assertTrue(parser.state is not None)
206 test.assertTrue('ArraySort' == parser.state.name)
207 test.assertTrue(2 == len(parser.state.params))
208 test.assertTrue(2 == len(parser.state.benches))
228 test = TestCase()
229 test.assertTrue(sts is not None)
231 test.assertTrue(parser.state is not None)
232 test.assertTrue('X' == parser.state.name)
[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/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DTypeMethodTest.sts16 function test(result: boolean, name: String): int {
94 return test(serializeMethodType.getParametersNum() == 0, " 0 Parameters") +
95test(serializeMethodType.getResultType() == StringType.REF, " has String result type") +
96test(serializeMethodType.getReceiverType().equals(pt), " has Point receiver type") +
97 test(addMethodType.getParametersNum() == 1, " 1 parameter:") +
98 test(addMethodType.getParameter(0).getType().equals(pt), " Point parameter") +
99test(addMethodType.getResultType().equals(pt), " has Point result type") +
100test(addMethodType.getReceiverType().equals(pt), " has Point receiver type") +
101 test(cType.getParametersNum() == 1, " 1 Parameter") +
102 test(cType.getParameter(0).getType() == IntType.VAL, " int parameter") +
[all …]
DTypeClassTypeTest.sts16 function test(result: boolean, name: String): int {
103 …failures += test(ct.getFieldByName(field.getName()).equals(field), " " + field.getName() + " fie…
110 let failures = test(ct.getOwnFieldsNum() == ct.getFieldsNum(), " OwnFieldsNum == FieldsNum")
113 failures += test(ct.getFieldByName(field.getName()).equals(field), " " + field.getName())
123 …failures += test(findMethodByName(ct, objectMethodName) != null, " " + objectMethodName + "…
131 return test(pt.getName() == "Point", "ClassName: Point") +
132test(pt.hasEmptyConstructor(), " doesn't have empty constuctor"…
133test(pt.getBaseType().equals(ObjectType), " base type is ObjectType") +
134 test(pt.getInterfacesNum() == 1, " 1 Interface:") +
135test(pt.getInterface(0).getName() == "Serializable", " Serializable interface") +
[all …]
/arkcompiler/ets_frontend/es2panda/test/optimizer/ts/branch-elimination/projects/ts_ohmurl_project/
Drecordnames.txt1 test-export-bundle:myapp/test-export-bundle
2 test-export-non-ohmurl:test-export-non-ohmurl
3 test-export-normalized:&myapp/test-export-normalized&
4 test-export-normalized-bundlename:bundlename&myapp/test-export-normalized-bundlename&
5 test-export-package:myapp/test-export-package
6 test-import-datatypes:&myapp/test-import-datatypes&
7 test-import-exec:&myapp/test-import-exec&
8 test-import-namespace:&myapp/test-import-namespace&
/arkcompiler/toolchain/tooling/test/client_utils/
Dtest_list.cpp16 #include "tooling/test/client_utils/test_list.h"
18 #include "tooling/test/client_utils/test_util.h"
21 #include "tooling/test/testcases/js_breakpoint_arrow_test.h"
22 #include "tooling/test/testcases/js_breakpoint_async_test.h"
23 #include "tooling/test/testcases/js_breakpoint_test.h"
24 #include "tooling/test/testcases/js_closure_scope_test.h"
25 #include "tooling/test/testcases/js_container_test.h"
26 #include "tooling/test/testcases/js_exception_test.h"
27 #include "tooling/test/testcases/js_local_variable_scope_test.h"
28 #include "tooling/test/testcases/js_module_variable_test.h"
[all …]
/arkcompiler/ets_runtime/test/moduletest/
DBUILD.gn197 foreach(test, test_list) {
198 deps += [ "${test}:${test}Action" ]
200 deps += [ "${test}:${test}ContextAction" ]
212 foreach(test, release_test_list) {
214 "${test}:${test}Action",
215 "${test}:${test}ContextAction",
226 foreach(test, assert_test_list) {
227 deps += [ "${test}:${test}AssertAction" ]
229 deps += [ "${test}:${test}ContextAssertAction" ]
240 foreach(test, release_test_assert_list) {
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/
Dencoder64_test_1.cpp21 bool TestNeg(Encoder64Test *test) in TestNeg() argument
24 test->PreWork(); in TestNeg()
26 auto param = test->GetParameter(TypeInfo(T(0))); in TestNeg()
27 // Main test call in TestNeg()
28 test->GetEncoder()->EncodeNeg(param, param); in TestNeg()
30 test->PostWork(); in TestNeg()
33 if (!test->GetEncoder()->GetResult()) { in TestNeg()
38 test->Dump(false); in TestNeg()
40 // Main test loop: in TestNeg()
47 if (!test->CallCode<T>(tmp, -tmp)) { in TestNeg()
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
Dencoder64_test_1.cpp23 bool TestNeg(Encoder64Test *test) in TestNeg() argument
26 test->PreWork(); in TestNeg()
28 auto param = test->GetParameter(TypeInfo(T(0))); in TestNeg()
29 // Main test call in TestNeg()
30 test->GetEncoder()->EncodeNeg(param, param); in TestNeg()
32 test->PostWork<T>(); in TestNeg()
35 if (!test->GetEncoder()->GetResult()) { in TestNeg()
40 test->Dump(false); in TestNeg()
42 // Main test loop: in TestNeg()
49 if (!test->CallCode<T>(tmp, -tmp)) { in TestNeg()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DErrorsTest.sts26 failures += test(testCreateError(), "Create an Error object with a message");
27 failures += test(testThrowError(), "Throw an Error and catch it");
28 failures += test(testErrorMessage(), "Validate the message of the caught Error");
29 failures += test(testErrorWithCause(), "Error object with cause");
30 …failures += test(testCreateAggregateError(), "Create an AggregateError object with an array of err…
31 failures += test(testAggregateErrorMessage(), "Validate the message of the AggregateError");
32 failures += test(testEvalError(), "EvalError with message and options");
33 failures += test(testRangeError(), "RangeError with message and options");
34 failures += test(testReferenceError(), "ReferenceError with message and options");
35 failures += test(testSyntaxError(), "SyntaxError with message and options");
[all …]
/arkcompiler/ets_frontend/es2panda/test/optimizer/ts/branch-elimination/projects/ts_module_syntax_project/
Drecordnames.txt1 test-export-default-const:&myapp/test-export-default-const&
2 test-export-default-let:&myapp/test-export-default-let&
3 test-export-default-value:&myapp/test-export-default-value&
4 test-export-syntax:&myapp/test-export-syntax&
5 test-import-syntax-exec:&myapp/test-import-syntax-exec&
6 test-local-export:&myapp/test-local-export&
7 test-ts-namespace-export:&myapp/test-ts-namespace-export&
/arkcompiler/ets_runtime/test/moduletest/regexp/
Dregexp.js18 * @tc.desc:test Regexp
45 var result = reg.test("a");
49 var result1 = reg1.test('0٫0000000000001');
53 print(reg2.test('άέήίΰϊϋόύώ'));
55 print(reg2.test('ΆΈΉΊΪΫΎΏ'));
57 print(reg2.test('αβγδεζηθικλμνξοπρςστυφχψω'));
59 print(reg2.test('ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ'));
62 print(reg3.test(''))
65 print(reg4.test('a'));
68 print(reg5.test('a'));
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/aarch32/
Dencoder32_test_1.cpp30 bool TestNeg(Encoder32Test *test) in TestNeg() argument
33 test->PreWork<T>(); in TestNeg()
35 auto param = test->GetParameter(TypeInfo(T(0))); in TestNeg()
36 // Main test call in TestNeg()
37 test->GetEncoder()->EncodeNeg(param, param); in TestNeg()
39 test->PostWork<T>(); in TestNeg()
42 if (!test->GetEncoder()->GetResult()) { in TestNeg()
47 test->Dump(false); in TestNeg()
49 // Main test loop: in TestNeg()
56 if (!test->CallCode<T>(tmp, -tmp)) { in TestNeg()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/13.chaining_operator/
Dchop1.sts21 function test(b: boolean) {
48 test(boo("not undefined")?.fldB?.fldA === "abc")
49 test(boo("not undefined")?.fldB?.fldAn === undefined)
50 test(boo("not undefined")?.fldB?.metA("xyz") === "xyz")
51 test(boo("not undefined")?.fldB?.metA("undefined") === undefined)
53 test(boo("not undefined")?.metB("not undefined")?.fldA === "abc")
54 test(boo("not undefined")?.metB("not undefined")?.fldAn === undefined)
55 test(boo("not undefined")?.metB("not undefined")?.metA("xyz") === "xyz")
56 test(boo("not undefined")?.metB("not undefined")?.metA("undefined") === undefined)
58 test(boo("not undefined")?.fldBn?.fldA === undefined)
[all …]
Dchop0.sts21 function test(b: boolean) {
49 test(boo("not null")?.fldB?.fldA === "abc")
50 test(boo("not null")?.fldB?.fldAn === null)
51 test(boo("not null")?.fldB?.metA("xyz") === "xyz")
52 test(boo("not null")?.fldB?.metA("null") === null)
54 test(boo("not null")?.metB("not null")?.fldA === "abc")
55 test(boo("not null")?.metB("not null")?.fldAn === null)
56 test(boo("not null")?.metB("not null")?.metA("xyz") === "xyz")
57 test(boo("not null")?.metB("not null")?.metA("null") === null)
59 test(boo("not null")?.fldBn?.fldA === undefined)
[all …]

12345678910>>...174