| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/04.scopes/ |
| D | diff_spaces.sts | 21 let xyz: int; 22 return xyz; 26 public xyz: int = 1; 30 public xyz(): int { 35 enum Enum { abc, def, ghk, xyz } 37 let xyz: int = 4; 40 static xyz(): int { 47 1 == new C().xyz && 48 2 == new D().xyz() && 49 3 == Enum.xyz.valueOf() && [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/13.chaining_operator/ |
| D | chop0.sts | 51 test(boo("not null")?.fldB?.metA("xyz") === "xyz") 56 test(boo("not null")?.metB("not null")?.metA("xyz") === "xyz") 61 test(boo("not null")?.fldBn?.metA("xyz") === undefined) 66 test(boo("not null")?.metB("null")?.metA("xyz") === undefined) 71 test(boo("null")?.fldB?.metA("xyz") === undefined) 76 test(boo("null")?.metB("not null")?.metA("xyz") === undefined) 81 test(boo("null")?.fldBn?.metA("xyz") === undefined) 86 test(boo("null")?.metB("null")?.metA("xyz") === undefined)
|
| D | chop1.sts | 50 test(boo("not undefined")?.fldB?.metA("xyz") === "xyz") 55 test(boo("not undefined")?.metB("not undefined")?.metA("xyz") === "xyz") 60 test(boo("not undefined")?.fldBn?.metA("xyz") === undefined) 65 test(boo("not undefined")?.metB("undefined")?.metA("xyz") === undefined) 70 test(boo("undefined")?.fldB?.metA("xyz") === undefined) 75 test(boo("undefined")?.metB("not undefined")?.metA("xyz") === undefined) 80 test(boo("undefined")?.fldBn?.metA("xyz") === undefined) 85 test(boo("undefined")?.metB("undefined")?.metA("xyz") === undefined)
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/16.coroutines/03.promise_class/ |
| D | p.params.yaml | 18 let s = 'XYZ' 23 if (s == 'XYZ') { 30 assert (await r) == 'XYZ' 34 let s = 'XYZ' 39 if (s != 'XYZ') { 57 let s = 'XYZ' 62 if (s == 'XYZ') { 73 assert e.message == 'XYZ'
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test_satisfies9.ts | 18 const b: { xyz: "baz" } = { xyz: "foo" } satisfies { xyz: "foo" | "bar" }; constant
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | conditionalExpression2.sts | 21 case "xyz": 32 assert foo("xyz") == 42: "Error! foo(\"xyz\") must be equal 42";
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/map/Entries/ |
| D | builtinMapEntries.ts | 36 let myMap = new Map([[0, 0], [0.0, 5], [-1, 1], [2000, 0.5], [56, "oops"], ["xyz", ", ."]]); 69 //: xyz,, . 112 //: xyz,, . 128 myMap.set("xyz", -100); 135 //: xyz,-100
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/map/Keys/ |
| D | builtinMapKeys.ts | 36 …], [0.0, 5], [-1, 1], [2.5, -2.5], [NaN, Infinity], [2000, -0.0], [56, "oops"], ["xyz", "12345"]]); 71 //: xyz 116 //: xyz 131 myMap.set("xyz", -100); 140 //: xyz
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | interface_static_function_1.sts | 17 static xyz(): int { 33 I.xyz();
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | interface_static_function_2.sts | 17 static xyz(): int { 34 i.xyz();
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/08.function_declarations/04.optional_parameters/ |
| D | opt_param_n.params.yaml | 17 type XYZ=number 18 function foo(p?: XYZ) {} // CTE, primitive with alias
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/set/Values/ |
| D | builtinSetValues.ts | 36 let mySet = new Set([0, 0.0, 5, -200.5, 1e-78, NaN, "xyz", "12345"]); 70 //: xyz 116 //: xyz 142 //: xyz
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/ |
| D | promise_tests.sts | 465 let p3: Promise<Object> = Promise.resolve<Object>("xyz"); 479 if (values[2] != "xyz") { 490 let p3: Promise<Object> = Promise.resolve<Object>("xyz"); 508 let p3: Object = "xyz"; 522 if (values[2] != "xyz") { 534 array.push(Promise.resolve<Object>("xyz")); 546 if (values[2] != "xyz") { 570 let p3: Promise<Object> = Promise.resolve<Object>("xyz"); 595 if (res2.status != "fulfilled" || res2.value != "xyz") { 622 let p3: Promise<Object> = Promise.resolve<Object>("xyz"); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/ |
| D | list.std_core_stringbuilder_instance.yaml | 34 param_list: {"param1": '["", "xyz", "xyz", "\u0000 abcd", "\u0000"]'}, 41 expected_test_data: '["", "xyz", "abcdxyz", "abcd\u0000 abcd", "\u0000 abcd\u0000"]',
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_func/ |
| D | call-func-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/comp_arr/ |
| D | comp-arr-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/decl_var/ |
| D | decl-var-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/decl_field/ |
| D | decl-field-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/comp_obj/ |
| D | comp-obj-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_cons/ |
| D | call-cons-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/11.union_types/union_types_normalization/ |
| D | norm.params.yaml | 49 v = 'xyz' 50 assert v as string == 'xyz'
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_lmbd/ |
| D | call-lmbd-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.constant_string_to_char_conversion/ |
| D | str2char_n3.params.yaml | 35 const s: string = "XYZ" 95 assert ((p: char): char => { return p })(r + s + "XYZ") == c'X'
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/assn_var/ |
| D | assn-var-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_meth/ |
| D | call-meth-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|