| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | variance_typeparam_union.ets | 70 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 71 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 72 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 73 /* @@@ label3 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 74 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 75 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 76 /* @@@ label6 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 77 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 78 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 79 /* @@@ label8 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… [all …]
|
| D | variance_typeparam_array.ets | 45 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 46 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 48 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 52 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 53 /* @@@ label9 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 54 /* @@@ label10 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' … [all …]
|
| D | variance_typeparam_lambda.ets | 45 /* @@@ label1 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 46 /* @@@ label2 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 48 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 52 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 53 /* @@@ label9 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 54 /* @@@ label10 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' positio… [all …]
|
| D | variance_typeparam_class.ets | 52 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 53 /* @@@ label1 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 54 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 55 /* @@@ label2 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 56 /* @@@ label3 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 57 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 58 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 59 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 60 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 61 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position…
|
| D | variance_typeparam.ets | 45 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 46 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 48 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 49 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 51 /* @@@ label7 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 52 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position…
|
| D | variance_typeparam_tuple.ets | 41 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 42 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 43 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 44 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 45 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 46 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 47 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 48 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
|
| D | variance_typeparam_transmit.ets | 34 /* @@@ label1 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 35 /* @@@ label2 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 36 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 37 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 38 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
|
| D | variance_typeparam_super.ets | 32 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 33 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 34 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 35 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position…
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/ |
| D | variance_typeparam_array.ets | 45 /* @@@ label1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 46 /* @@@ label2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 48 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 52 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p… 53 /* @@@ label9 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po… 54 /* @@@ label10 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' … [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/unions/ |
| D | union_field_access.ets | 31 arktest.assertEQ(a.prop1, '123', 'expected \'123\', but got ' + a.prop1); 33 arktest.assertEQ(a.prop1, '234', 'expected \'234\', but got ' + a.prop1); 34 arktest.assertEQ(a.prop2, 123, 'expected 123, but got ' + a.prop2); 36 arktest.assertEQ(a.prop2, 234, 'expected 234, but got ' + a.prop2); 37 arktest.assertEQ(a.prop3, 12, 'expected 12, but got ' + a.prop3); 39 arktest.assertEQ(a.prop3, 13, 'expected 13, but got ' + a.prop3); 40 arktest.assertEQ(a.prop4, 456, 'expected 456, but got ' + a.prop4); 42 arktest.assertEQ(a.prop4, 567, 'expected 567, but got ' + a.prop4); 43 arktest.assertEQ(a.prop5, 13, 'expected 13, but got ' + a.prop5); 45 arktest.assertEQ(a.prop5, 14, 'expected 14, but got ' + a.prop5);
|
| D | union_field_access_with_inheritance.ets | 36 arktest.assertEQ(a.prop1, '123', 'expected \'123\', but got ' + a.prop1); 38 arktest.assertEQ(a.prop1, '234', 'expected \'234\', but got ' + a.prop1); 39 arktest.assertEQ(a.prop2, 123, 'expected 123, but got ' + a.prop2); 41 arktest.assertEQ(a.prop2, 234, 'expected 234, but got ' + a.prop2); 42 arktest.assertEQ(a.prop3, 12, 'expected 12, but got ' + a.prop3); 44 arktest.assertEQ(a.prop3, 13, 'expected 13, but got ' + a.prop3); 45 arktest.assertEQ(a.prop4, 456, 'expected 456, but got ' + a.prop4); 47 arktest.assertEQ(a.prop4, 567, 'expected 567, but got ' + a.prop4); 48 arktest.assertEQ(a.prop5, 13, 'expected 13, but got ' + a.prop5); 50 arktest.assertEQ(a.prop5, 14, 'expected 14, but got ' + a.prop5);
|
| D | union_getter_setter_with_inheritance.ets | 100 arktest.assertEQ(a.prop1, '123', 'expected \'123\', but got ' + a.prop1); 102 arktest.assertEQ(a.prop1, '234', 'expected \'234\', but got ' + a.prop1); 103 arktest.assertEQ(a.prop2, 123, 'expected 123, but got ' + a.prop2); 105 arktest.assertEQ(a.prop2, 234, 'expected 234, but got ' + a.prop2); 106 arktest.assertEQ(a.prop3, 12, 'expected 12, but got ' + a.prop3); 108 arktest.assertEQ(a.prop3, 13, 'expected 13, but got ' + a.prop3); 109 arktest.assertEQ(a.prop4, 456, 'expected 456, but got ' + a.prop4); 111 arktest.assertEQ(a.prop4, 567, 'expected 567, but got ' + a.prop4); 112 arktest.assertEQ(a.prop5, 13, 'expected 13, but got ' + a.prop5); 114 arktest.assertEQ(a.prop5, 14, 'expected 14, but got ' + a.prop5);
|
| D | union_getter_setter.ets | 92 arktest.assertEQ(a.prop1, '123', 'expected \'123\', but got ' + a.prop1); 94 arktest.assertEQ(a.prop1, '234', 'expected \'234\', but got ' + a.prop1); 95 arktest.assertEQ(a.prop2, 123, 'expected 123, but got ' + a.prop2); 97 arktest.assertEQ(a.prop2, 234, 'expected 234, but got ' + a.prop2); 98 arktest.assertEQ(a.prop3, 12, 'expected 12, but got ' + a.prop3); 100 arktest.assertEQ(a.prop3, 13, 'expected 13, but got ' + a.prop3); 101 arktest.assertEQ(a.prop4, 456, 'expected 456, but got ' + a.prop4); 103 arktest.assertEQ(a.prop4, 567, 'expected 567, but got ' + a.prop4); 104 arktest.assertEQ(a.prop5, 13, 'expected 13, but got ' + a.prop5); 106 arktest.assertEQ(a.prop5, 14, 'expected 14, but got ' + a.prop5);
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/ |
| D | ambient_annotations_bad_type03.ets | 21 …iArray' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl… 22 …'color' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl… 23 …tBools' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl… 24 …iewers' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl… 25 …rColor' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl… 26 …stBool' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl… 27 …ersAge' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl… 28 …horAge' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl… 29 …orName' in annotation 'ClassAuthor' is declared in the ambient declaration but missing in the impl…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/ |
| D | launch_instruction.ets | 38 console.println("Test 'onearg': expected argument '1' but was " + x); 47 console.println("Test 'twoargs': expected first argument '1' but was " + x); 51 console.println("Test 'twoargs': expected second argument '2' but was " + y); 60 console.println("Test 'threeargs': expected first argument '1' but was " + x); 64 console.println("Test 'threeargs': expected second argument '2' but was " + y); 68 console.println("Test 'threeargs': expected third argument '3' but was " + z); 77 console.println("Test 'fourargs': expected first argument '1' but was " + x1); 81 console.println("Test 'fourargs': expected second argument '2' but was " + x2); 85 console.println("Test 'fourargs': expected third argument '3' but was " + x3); 89 console.println("Test 'fourargs': expected fourth argument '4' but was " + x4); [all …]
|
| D | launch_exception.ets | 36 console.println("No exceptions thrown by coro_stack_overflow() but should be!") 40 console.println("Expected StackOverflowError but another exception has been thrown!"); 50 console.println("No exceptions thrown by coro_error() but should be!") 54 console.println("Expected Error but another exception has been thrown!");
|
| D | launch_return.ets | 68 errorMessage = "Expected -3 but got " + value; 82 errorMessage = "Expected 'x' but got " + value; 96 errorMessage = "Expected 32767 but got " + value; 110 errorMessage = "Expected 5 but got " + value; 124 errorMessage = "Expected 777 but got " + value; 139 errorMessage = "Expected " + FLOAT_PI + " but got " + value; 154 errorMessage = "Expected 2.71 but got " + value;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/17.typeof_expression/ |
| D | comptime.params.yaml | 29 …- { name: 'object', decl: 'const c:C|null = new C', desc: 'T|null - T is a class (but not Object),… 30 …- { name: 'object', decl: 'const c:I|null = new C', desc: 'T|null - T is a class (but not Object),… 31 …st c:bigint[]|null = [ 1n, 2n, 3n, 4n, 5n]', desc: 'T|null - T is a class (but not Object), interf… 32 …lean[]|null = [ true, false, true, false ]', desc: 'T|null - T is a class (but not Object), interf… 33 … 'const c:number[]|null = [ 1, 2, 3, 4, 5]', desc: 'T|null - T is a class (but not Object), interf… 34 …l: 'const c:byte[]|null = [ 1, 2, 3, 4, 5]', desc: 'T|null - T is a class (but not Object), interf… 35 …: 'const c:short[]|null = [ 1, 2, 3, 4, 5]', desc: 'T|null - T is a class (but not Object), interf… 36 …cl: 'const c:int[]|null = [ 1, 2, 3, 4, 5]', desc: 'T|null - T is a class (but not Object), interf… 37 …l: 'const c:long[]|null = [ 1, 2, 3, 4, 5]', desc: 'T|null - T is a class (but not Object), interf… 38 …: 'const c:float[]|null = [ 1, 2, 3, 4, 5]', desc: 'T|null - T is a class (but not Object), interf… [all …]
|
| /arkcompiler/ets_runtime/test/aottest/class_method_signature/ |
| D | expect_output.txt | 28 test one signature but no body 30 test multi-signatures but one body 32 test multi-signatures but no body
|
| D | class_method_signature.ts | 103 // one signature but no body 110 return "test one signature but no body"; 117 // multi-signatures but one body 130 return "test multi-signatures but one body"; 138 // multi-signature but no body. 149 return "test multi-signatures but no body";
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_ts_subset/std/core/ |
| D | PromiseAnySequence4.ets | 18 …console.log('Test failed. Expected sequence length ' + expectedLength + ', but got ' + actual.leng… 23 … console.log('Test failed. Expected element at ' + i + ' to be ' + i + ', but got ' + actual[i]); 48 console.log('Test failed. Expected number of errors 2, but got ' + err.errors.length); 52 console.log('Test failed. Expected the first error is \'abc\', but got ' + err.errors[0]); 56 console.log('Test failed. Expected the first error is \'def\', but got ' + err.errors[1]);
|
| D | Promiseconstructor.ets | 20 …console.log("Test failed. Expected PromiseFulfilledResult<string> status is fulfilled but got `${f… 23 …console.log("Test failed. Expected PromiseFulfilledResult<string> value is abc but got `${f1.value… 26 …console.log("Test failed. Expected PromiseRejectedResult status is rejected but got `${r1.status}`…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/08.function_method_and_constructor_overloading/04.declaration_distinguishable_by_signatures/ |
| D | dist.ets | 20 - They are functions with the same name, but their signatures are not override-equivalent. 21 - They are methods with the same name, but their signatures are not override-equivalent. 22 - They are constructors of the same class, but their signatures are not override-equivalent.
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/timer/ |
| D | timer_tests.ets | 27 …console.log("Test failed. Expected " + this.numCheckpoints + " checkpoints, but got " + this.seque… 33 …console.log("Test failed. Expected " + i + "-th checkpoint to be " + i + ", but got " + this.seque… 73 …d libuv uses clock_gettime under the hood, but with different parameters. Date.now() uses CLOCK_RE… 106 …d libuv uses clock_gettime under the hood, but with different parameters. Date.now() uses CLOCK_RE… 150 …d libuv uses clock_gettime under the hood, but with different parameters. Date.now() uses CLOCK_RE… 177 …d libuv uses clock_gettime under the hood, but with different parameters. Date.now() uses CLOCK_RE… 212 …d libuv uses clock_gettime under the hood, but with different parameters. Date.now() uses CLOCK_RE… 245 …d libuv uses clock_gettime under the hood, but with different parameters. Date.now() uses CLOCK_RE… 281 …d libuv uses clock_gettime under the hood, but with different parameters. Date.now() uses CLOCK_RE… 303 …d libuv uses clock_gettime under the hood, but with different parameters. Date.now() uses CLOCK_RE…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ArrayGet.ets | 40 throw new Error(`Expects b[2] == 237, but actual value = ${b[2]}.`); 56 `but value '${compRes}' is got.`; 66 throw new Error(`Expects b[2] == 237, but actual value = ${b[2]}.`); 82 `but value '${compRes}' is got.`; 92 throw new Error(`Expects b[2] == 237, but actual value = ${b[2]}.`); 108 `but value '${compRes}' is got.`;
|