| /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; 41 1 == new C().xyz && 42 2 == new D().xyz() && 43 3 == Enum.xyz.valueOf() && 44 4 == xyz [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/13.chaining_operator/ |
| 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)
|
| 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)
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | string_literals_inference.sts | 29 function f1(a: "xyz"): "xyz" { 78 x5 = "xyz" 79 assert x5 == "xyz" 83 const x1 = "xyz" 85 assert y1 == "xyz" 116 x4[3] = "xyz" 118 assert x4[3] == "xyz"
|
| D | conditionalExpression2.sts | 21 case "xyz": 32 assert foo("xyz") == 42: "Error! foo(\"xyz\") must be equal 42";
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test_satisfies9.ts | 18 const b: { xyz: "baz" } = { xyz: "foo" } satisfies { xyz: "foo" | "bar" }; constant
|
| /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/ets2panda/test/ast/parser/ets/ |
| D | interface_private_function_1.sts | 17 private xyz(): int { 34 i.xyz(); 37 /* @@? 34:5 Error TypeError: Signature xyz(): int is not visible here. */
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/sts_ts_subset/std/core/ |
| D | PromiseRaceResolve2.sts | 27 if (err != "xyz") { 33 reject!("xyz");
|
| D | PromiseAllSettledResolve.sts | 18 let p3 = Promise.resolve<string>("xyz"); 36 if ((values[2] as PromiseFulfilledResult<string>).value != "xyz") {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/ |
| D | promise_tests.sts | 464 let p3: Promise<Object> = Promise.resolve<Object>("xyz"); 478 if (values[2] != "xyz") { 489 let p3: Promise<Object> = Promise.resolve<Object>("xyz"); 507 let p3: Object = "xyz"; 521 if (values[2] != "xyz") { 533 array.push(Promise.resolve<Object>("xyz")); 545 if (values[2] != "xyz") { 569 let p3: Promise<Object> = Promise.resolve<Object>("xyz"); 594 if (res2.status != "fulfilled" || res2.value != "xyz") { 621 let p3: Promise<Object> = Promise.resolve<Object>("xyz"); [all …]
|
| /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", ", ."]]); 77 //: xyz,, . 126 //: xyz,, . 147 myMap.set("xyz", -100); 158 //: xyz,-100
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/06.type_inference/01.smart_types/ |
| D | comb_01d.sts | 61 let e: Error = new Error("xyz") 62 assert(foo(e) == 3 && err == e && str == "xyz")
|
| D | comb_01c.sts | 60 let e: Error = new Error("xyz") 61 assert(foo(e) == 3 && err == e && str == "xyz")
|
| D | comb_10a.sts | 42 let e: Error = new Error("xyz") 43 assert(foo(e) == 3 && err == e && str == "xyz")
|
| D | comb_01b.sts | 63 let e: Error = new Error("xyz") 64 assert(foo(e) == 3 && err == e && str == "xyz")
|
| D | comb_13.sts | 53 let e: Error = new Error("xyz") 54 assert(foo(e) == 3 && err == e && str == "xyz")
|
| D | comb_01a.sts | 67 let e: Error = new Error("xyz") 68 assert(foo(e) == 3 && err == e && not_undef as Error == e && str == "xyz")
|
| /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"]]); 81 //: xyz 134 //: xyz 153 myMap.set("xyz", -100); 168 //: xyz
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/06.type_declarations/01.type_alias_declaration/ |
| D | alias.params.yaml | 171 let v2: TT = [43.0, 'xyz'] 174 v3[1][0] == 43.0 && v3[1][1] == 'xyz' 186 let v6: TT = [43.0, 'xyz'] 188 v5[1] == null && v6[0] == 43.0 && v6[1] == 'xyz' 215 ((v3 as NestedFunc[])[2] as Foo)('xyz') == 'xyzxyz'
|
| /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/04.names_declarations_and_scopes/08.function_declarations/04.optional_parameters/ |
| D | opt_param.params.yaml | 143 type XYZ=number 144 function foo(p?: XYZ) {} // primitive with alias 252 type XYZ=Color 253 function foo(c?: XYZ) {}
|
| /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/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/comp_obj/ |
| D | comp-obj-lit.params.yaml | 55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }
|