Home
last modified time | relevance | path

Searched full:contain (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/ArrayList/
DArrayListLengthTest.ets102 assertFalse(arrayList.has("start"), "The ArrayList should not contain 'start' after removal");
103 assertFalse(arrayList.has("end"), "The ArrayList should not contain 'end' after removal");
117 assertFalse(arrayList.has("`"), "The ArrayList should not contain '`' after removal");
118 assertFalse(arrayList.has("%"), "The ArrayList should not contain '%' after removal");
119 assertFalse(arrayList.has(`"`), "The ArrayList should not contain '\"' after removal");
140 assertTrue(arrayList.has("zhang san"), "The ArrayList should contain 'zhang san'");
141 assertTrue(arrayList.has(1), "The ArrayList should contain the number 1");
142 assertTrue(arrayList.has(temp), "The ArrayList should contain the Temp object");
143 assertTrue(arrayList.has(undefined), "The ArrayList should contain undefined");
144 assertTrue(arrayList.has(null), "The ArrayList should contain null");
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/LightWeightMap/
DLightWeightMapHasAllHasKeyHasValueTest.ets53 … assertEQ(result, true, "The lightWeightMap should contain all data from another lightWeightMap");
65 …assertEQ(result, false, "The lightWeightMap should not contain data that are not set in another li…
80 … "The lightWeightMap should not contain data that are out of range in another lightWeightMap");
91 … assertEQ(result, true, "The lightWeightMap should contain all data from an empty lightWeightMap");
101 assertEQ(result1, true, "The lightWeightMap should contain the key");
102 assertEQ(result2, true, "The lightWeightMap should contain the value");
111 assertEQ(result1, false, "The lightWeightMap should not contain the key that is not set");
112 assertEQ(result2, false, "The lightWeightMap should not contain the value that is not set");
120 …assertEQ(result1, false, "The lightWeightMap should not contain any key when the lightWeightMap is…
121 …assertEQ(result2, false, "The lightWeightMap should not contain any value when the lightWeightMap …
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sendable/
Dexpect_output.txt19 sendable contain sendable succeed.
20 sendable contain non-sendable failed. err: TypeError: Cannot set sendable property with mismatched …
21 sendable contain static non-sendable failed. err: TypeError: Cannot set sendable property with mism…
22 sendable contain undefined succeed.
23 sendable contain lexenv succeed.
Dsendable.ts98 // 4. sendable can only contain sendable
113 print('sendable contain sendable succeed.');
115 print('sendable contain sendable failed. err: ' + err + ', code: ' + err.code);
129 print('sendable contain non-sendable succeed.');
131 print('sendable contain non-sendable failed. err: ' + err + ', code: ' + err.code);
143 print('sendable contain static non-sendable succeed.');
145 print('sendable contain static non-sendable failed. err: ' + err + ', code: ' + err.code);
154 print('sendable contain undefined succeed.');
156 print('sendable contain undefined failed. err: ' + err + ', code: ' + err.code);
185 print('sendable contain lexenv succeed.');
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/arkts/@arkts/collections/BitVector/
DhasTests.ets57 assertEQ(bitVector.has(1, 3, 6), true, "BitVector should contain 1 in range 3-6");
58 assertEQ(bitVector.has(1, 0, 2), false, "BitVector should not contain 1 in range 0-2");
59 assertEQ(bitVector.has(0, 3, 5), false, "BitVector should not contain 0 in range 3-5");
60 assertEQ(bitVector.has(0, 0, 3), true, "BitVector should contain 0 in range 0-3");
183 assertEQ(bitVector.has(1, 0, 31), false, "BitVector should not contain 1 in range 0-31");
184 assertEQ(bitVector.has(1, 32, 64), true, "BitVector should contain 1 in range 32-64");
185 assertEQ(bitVector.has(0, 0, 32), true, "BitVector should contain 0 in range 0-32");
186 assertEQ(bitVector.has(0, 32, 63), false, "BitVector should not contain 0 in range 32-63");
205 assertEQ(bitVector.has(1, 10, 41), false, "BitVector should not contain 1 in range 10-41");
206 …assertEQ(bitVector.has(1, 42, bitVectorLength + 10), true, "BitVector should contain 1 in range 42…
[all …]
DgetBitCountByRangeTests.ets51 …assertEQ(bitVector.getBitCountByRange(0, 0, 5), 3, "BitVector should contain 3 zeros in range 0-5"…
52 …assertEQ(bitVector.getBitCountByRange(1, 0, 5), 2, "BitVector should contain 2 ones in range 0-5");
175 …assertEQ(bitVector.getBitCountByRange(0, 0, 64), 32, "BitVector should contain 32 zeros in range 0…
176 …assertEQ(bitVector.getBitCountByRange(1, 0, 64), 32, "BitVector should contain 32 ones in range 0-…
195 …r.getBitCountByRange(0, 10, bitVectorLength + 10), 32, "BitVector should contain 32 zeros in range…
196 …r.getBitCountByRange(1, 10, bitVectorLength + 10), 32, "BitVector should contain 32 ones in range …
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dobject_literals_properties.ets.arkts2.json34 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
64 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
94 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
134 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
144 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
154 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
174 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
204 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
214 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
224 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
[all …]
Dobject_literals_properties.ets.migrate.json34 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
64 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
74 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
104 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
114 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
144 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
164 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
184 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
204 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
224 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
[all …]
Dobject_literals_properties.ets.autofix.json54 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
115 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
176 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
249 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
270 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
291 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
311 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
372 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
393 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
403 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)",
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/HashSet/
DHashSetHasTest.ets39 assertEQ(result, true, "The hashSet should contain the specified value");
47 assertEQ(result, false, "The hashSet should not contain the specified value that is not set");
54 …assertEQ(result, false, "The hashSet should not contain the specified value when the hashSet is em…
62 assertEQ(result, true, "The hashSet should contain the null value");
70 assertEQ(result, false, "The hashSet should not contain the specified value that is not set");
81 assertEQ(result2, false, "The hashSet should contain the specified value that is not set");
89 assertEQ(result, true, "The hashSet should contain the specified value");
DHashSetAddRemoveTest.ets43 assertEQ(result, true, "The hashSet should contain the added value");
51 assertEQ(result, true, "The hashSet should contain the added null value");
59 assertEQ(result, true, "The hashSet should contain the added value");
68 assertEQ(result, true, "The hashSet should contain the added value");
79 assertEQ(result, true, "The hashSet should contain the added value");
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
Dinvalid_access_modifier.ets23 /* @@? 17:14 Error SyntaxError: Keyword must not contain escaped characters. */
26 /* @@? 17:15 Error SyntaxError: Keyword must not contain escaped characters. */
29 /* @@? 17:16 Error SyntaxError: Keyword must not contain escaped characters. */
/arkcompiler/runtime_core/static_core/compiler/optimizer/templates/
DIR-instructions.md.erb31 verify << "users.contain(#{ null_check_users.map { |x| x.opcode }.join(', ')})"
33 verify << "users.contain(#{ zero_check_users.map { |x| x.opcode }.join(', ')})"
35 verify << "users.contain(#{ bounds_check_users.map { |x| x.opcode }.join(', ')})"
37 verify << "users.contain(#{ negative_check_users.map { |x| x.opcode }.join(', ')})"
/arkcompiler/runtime_core/compiler/optimizer/templates/
DIR-instructions.md.erb31 verify << "users.contain(#{ null_check_users.map { |x| x.opcode }.join(', ')})"
33 verify << "users.contain(#{ zero_check_users.map { |x| x.opcode }.join(', ')})"
35 verify << "users.contain(#{ bounds_check_users.map { |x| x.opcode }.join(', ')})"
37 verify << "users.contain(#{ negative_check_users.map { |x| x.opcode }.join(', ')})"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/LightWeightSet/
DLightWeightSetAddAllHasAllHasTest.ets93 …assertEQ(result, true, "The lightWeightSet should contain all elements from another lightWeightSet…
106 … "The lightWeightSet should not contain elements that are not set in another lightWeightSet");
121 … "The lightWeightSet should not contain elements that are out of range in another lightWeightSet");
141 assertEQ(result, true, "The lightWeightSet should contain the value");
149 assertEQ(result, false, "The lightWeightSet should not contain the value that is not set");
156 …assertEQ(result, false, "The lightWeightSet should not contain any value when the lightWeightSet i…
168 assertEQ(result, true, "The lightWeightSet should contain the value");
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/TreeMap/
DTreeMapHasKeyHasValueSetAllForEachTest.ets45 assertEQ(hasK, true, "The treeMap should contain the key");
46 assertEQ(hasV, true, "The treeMap should contain the value");
58 assertEQ(hasK, false, "The treeMap should not contain the key that is not set");
59 assertEQ(hasV, false, "The treeMap should not contain the value that is not set");
70 assertEQ(hasK, false, "The treeMap should not contain any key when the treeMap is empty");
71 assertEQ(hasV, false, "The treeMap should not contain any value when the treeMap is empty");
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dinvalid_object_literal.ets40 /* @@@ label2 Error SyntaxError: Object pattern can't contain methods. */
41 /* @@@ label3 Error SyntaxError: Object pattern can't contain methods. */
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dinstructions_data.rb30 abort "Instruction description doesn't contain opcode field" unless inst.include? "opcode"
34 abort "Instruction description doesn't contain opcode field" unless inst.include? "opcode"
/arkcompiler/runtime_core/static_core/compiler/docs/
Dif_conversion_doc.md35 `PBB`(Phi BB) -- false or true successor of `BB`, which contain PHI instruction for BB and JBB
49 `PBB`(Phi BB) -- the successor of `JBB` and `JBB 2`, which contain PHI instruction for `JBB` and `J…
57 4. `JBB`(and `JBB 2` for Diamond) doesn't contain instruction with `no_ifcvt` property(for example …
60 7. `PBB` doesn't contain float Phi with different inputs for `JBB` and `BB`(`JBB 2` for Diamond)
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest_GetOrSetAccessor10-expected.txt1 SyntaxError: Keyword must not contain escaped characters [test_GetOrSetAccessor10.ts:18:5]
Dtest-class-constructor8-expected.txt1 SyntaxError: Constructors for derived classes must contain a super call. [test-class-constructor8.t…
Dtest-class-constructor17-expected.txt1 SyntaxError: Constructors for derived classes must contain a super call. [test-class-constructor17.…
Dtest-class-constructor9-expected.txt1 SyntaxError: Constructors for derived classes must contain a super call. [test-class-constructor9.t…
Dtest-class-constructor14-expected.txt1 SyntaxError: Constructors for derived classes must contain a super call. [test-class-constructor14.…
Dtest-class-constructor15-expected.txt1 SyntaxError: A constructor cannot contain a super call when its class extends null. [test-class-con…

12345678910>>...15