| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/ArrayList/ |
| D | ArrayListLengthTest.ets | 102 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/ |
| D | LightWeightMapHasAllHasKeyHasValueTest.ets | 53 … 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/ |
| D | expect_output.txt | 19 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.
|
| D | sendable.ts | 98 // 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/ |
| D | hasTests.ets | 57 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 …]
|
| D | getBitCountByRangeTests.ets | 51 …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/ |
| D | object_literals_properties.ets.arkts2.json | 34 … "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 …]
|
| D | object_literals_properties.ets.migrate.json | 34 … "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 …]
|
| D | object_literals_properties.ets.autofix.json | 54 … "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/ |
| D | HashSetHasTest.ets | 39 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");
|
| D | HashSetAddRemoveTest.ets | 43 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/ |
| D | invalid_access_modifier.ets | 23 /* @@? 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/ |
| D | IR-instructions.md.erb | 31 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/ |
| D | IR-instructions.md.erb | 31 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/ |
| D | LightWeightSetAddAllHasAllHasTest.ets | 93 …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/ |
| D | TreeMapHasKeyHasValueSetAllForEachTest.ets | 45 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/ |
| D | invalid_object_literal.ets | 40 /* @@@ 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/ |
| D | instructions_data.rb | 30 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/ |
| D | if_conversion_doc.md | 35 `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/ |
| D | test_GetOrSetAccessor10-expected.txt | 1 SyntaxError: Keyword must not contain escaped characters [test_GetOrSetAccessor10.ts:18:5]
|
| D | test-class-constructor8-expected.txt | 1 SyntaxError: Constructors for derived classes must contain a super call. [test-class-constructor8.t…
|
| D | test-class-constructor17-expected.txt | 1 SyntaxError: Constructors for derived classes must contain a super call. [test-class-constructor17.…
|
| D | test-class-constructor9-expected.txt | 1 SyntaxError: Constructors for derived classes must contain a super call. [test-class-constructor9.t…
|
| D | test-class-constructor14-expected.txt | 1 SyntaxError: Constructors for derived classes must contain a super call. [test-class-constructor14.…
|
| D | test-class-constructor15-expected.txt | 1 SyntaxError: A constructor cannot contain a super call when its class extends null. [test-class-con…
|