Home
last modified time | relevance | path

Searched full:xyz (Results 1 – 25 of 56) sorted by relevance

123

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/04.scopes/
Ddiff_spaces.sts21 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/
Dchop0.sts51 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)
Dchop1.sts50 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/
Dp.params.yaml18 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/
Dtest_satisfies9.ts18 const b: { xyz: "baz" } = { xyz: "foo" } satisfies { xyz: "foo" | "bar" }; constant
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DconditionalExpression2.sts21 case "xyz":
32 assert foo("xyz") == 42: "Error! foo(\"xyz\") must be equal 42";
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/map/Entries/
DbuiltinMapEntries.ts36 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/
DbuiltinMapKeys.ts36 …], [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/
Dinterface_static_function_1.sts17 static xyz(): int {
33 I.xyz();
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dinterface_static_function_2.sts17 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/
Dopt_param_n.params.yaml17 type XYZ=number
18 function foo(p?: XYZ) {} // CTE, primitive with alias
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/set/Values/
DbuiltinSetValues.ts36 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/
Dpromise_tests.sts465 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/
Dlist.std_core_stringbuilder_instance.yaml34 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/
Dcall-func-lit.params.yaml55 - { 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/
Dcomp-arr-lit.params.yaml55 - { 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/
Ddecl-var-lit.params.yaml55 - { 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/
Ddecl-field-lit.params.yaml55 - { 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/
Dcomp-obj-lit.params.yaml55 - { 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/
Dcall-cons-lit.params.yaml55 - { 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/
Dnorm.params.yaml49 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/
Dcall-lmbd-lit.params.yaml55 - { 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/
Dstr2char_n3.params.yaml35 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/
Dassn-var-lit.params.yaml55 - { 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/
Dcall-meth-lit.params.yaml55 - { from_type: '`abc${a}abc`|`xyz${a}xyz`|""', expr: '""' }

123