| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/strings/ |
| D | string_api.ets | 35 assertEQ(chars.length, 5, "Chars length must be 5"); 36 assertEQ(chars[0], c'h', "First letter must be `h`"); 37 assertEQ(chars[1], c'e', "Second letter must be `e`"); 38 assertEQ(chars[2], c'l', "Third letter must be `l`"); 39 assertEQ(chars[3], c'l', "Fourth letter must be `l`"); 40 assertEQ(chars[4], c'o', "Fifth letter must be `o`"); 44 assertEQ(byteChars[0], 98, "First byte must be 98"); 45 assertEQ(byteChars[1], 121, "Second byte must be 121"); 46 assertEQ(byteChars[2], 116, "Third byte must be 116"); 47 assertEQ(byteChars[3], 101, "Fourth byte must be 101"); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/intrinsics/ |
| D | string_from_char_code.ets | 17 arktest.assertEQ(string.fromCharCode(), '', 'Must be an empty string'); 18 …arktest.assertEQ(string.fromCharCode().length, 0, 'String length of an empty string must be equal … 22 arktest.assertEQ(string.fromCharCode(0x43 as number, 65.992 as number), 'CA', "Must be 'CA'"); 23 …mCharCode(0x43 as number, 65.992 as number).length, 2, "String length of 'CA' must be equal to 2"); 24 arktest.assertEQ(string.fromCharCode(0xA as number, 0xA as number), '\n\n', "Must be '\\n\\n'"); 25 …mCharCode(0xA as number, 0xA as number).length, 2, "String length of '\\n\\n' must be equal to 2"); 26 …string.fromCharCode(0xA as number, 0x9 as number, 0xA as number), '\n\t\n', "Must be '\\n\\t\\n'"); 27 …umber, 0x9 as number, 0xA as number).length, 3, "String length of '\\n\\t\\n' must be equal to 3"); 28 arktest.assertEQ(string.fromCharCode(0xA as number, 0xD as number), '\n\r', "Must be '\\n\\r'"); 29 …mCharCode(0xA as number, 0xD as number).length, 2, "String length of '\\n\\r' must be equal to 2"); [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/lexicalEnv/classEnv/ |
| D | constructor-try-catch-nosuper-exception-expected.txt | 1 ReferenceError: undefinedsub-class must call super before use 'this' 2 ReferenceError: undefinedsub-class must call super before use 'this' 3 ReferenceError: undefinedsub-class must call super before use 'this' 4 ReferenceError: undefinedsub-class must call super before use 'this' 5 ReferenceError: undefinedsub-class must call super before use 'this' 6 ReferenceError: undefinedsub-class must call super before use 'this' 7 ReferenceError: undefinedsub-class must call super before use 'this' 8 ReferenceError: undefinedsub-class must call super before use 'this' 9 ReferenceError: undefinedsub-class must call super before use 'this' 10 ReferenceError: undefinedsub-class must call super before use 'this'
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | string_split_test.ets | 29 let str = "It can't be - there must be a gap in between!"; 31 assertEQ(arr.length, 11, "Length must be 11"); 32 assertTrue(arr[0].equals("It"), "First substring must be `It`"); 33 assertTrue(arr[1].equals("can't"), "Second substring must be `can't`"); 34 assertTrue(arr[2].equals("be"), "Third substring must be `be`"); 35 assertTrue(arr[3].equals("-"), "Third substring must be `-`"); 36 assertTrue(arr[4].equals("there"), "Third substring must be `there`"); 37 assertTrue(arr[5].equals("must"), "Third substring must be `must`"); 38 assertTrue(arr[6].equals("be"), "Third substring must be `be`"); 39 assertTrue(arr[7].equals("a"), "Third substring must be `a`"); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | StringFasta.ets | 134 /* @@? 21:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 135 /* @@? 22:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 136 /* @@? 23:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 137 /* @@? 24:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 138 /* @@? 25:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 139 /* @@? 26:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 140 /* @@? 27:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 141 /* @@? 28:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 142 /* @@? 29:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 143 /* @@? 30:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… [all …]
|
| D | labeled.ets | 26 /* @@@ label Error SyntaxError: Label must be followed by a loop statement. */ 27 /* @@@ label1 Error SyntaxError: Label must be followed by a loop statement. */ 28 /* @@@ label2 Error SyntaxError: Label must be followed by a loop statement. */ 29 /* @@@ label3 Error SyntaxError: Label must be followed by a loop statement. */ 30 /* @@@ label4 Error SyntaxError: Label must be followed by a loop statement. */ 31 /* @@@ label5 Error SyntaxError: Label must be followed by a loop statement. */ 32 /* @@@ label6 Error SyntaxError: Label must be followed by a loop statement. */
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/FixedArray/ |
| D | StringFasta.ets | 134 /* @@? 21:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 135 /* @@? 22:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 136 /* @@? 23:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 137 /* @@? 24:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 138 /* @@? 25:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 139 /* @@? 26:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 140 /* @@? 27:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 141 /* @@? 28:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 142 /* @@? 29:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… 143 /* @@? 30:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | sendable_explicit_field_type.ets.json | 184 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 194 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 204 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 214 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 234 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 244 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 254 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 264 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 274 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 284 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… [all …]
|
| D | sendable_explicit_field_type.ets.migrate.json | 184 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 194 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 204 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 214 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 234 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 244 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 254 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 264 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 274 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 284 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… [all …]
|
| D | object_literals_autofixes.ets.json | 34 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 44 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 64 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 74 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 94 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 104 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 114 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 124 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 134 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… [all …]
|
| D | sendable_explicit_field_type.ets.autofix.json | 184 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 194 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 204 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 214 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 234 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 244 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 254 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 264 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 274 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 284 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… [all …]
|
| D | object_literals_properties.ets.json | 24 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 34 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 44 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 54 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 64 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 94 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 114 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 124 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 134 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… [all …]
|
| D | method_inheritance.ets.arkts2.json | 24 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 34 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 44 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 54 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 84 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 94 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 104 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 114 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 174 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… 184 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a… [all …]
|
| D | object_literals_3.ets.json | 24 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 34 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 54 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 64 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 74 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 94 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 104 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 114 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 124 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… [all …]
|
| D | object_literals_autofixes.ets.autofix.json | 46 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 68 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 100 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 122 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 132 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 154 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 176 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 198 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 208 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 230 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… [all …]
|
| D | sendable_generic_types.ets.json | 24 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 34 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 44 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 54 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 94 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 104 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 114 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 124 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 134 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 144 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/ |
| D | test5.ts.json | 24 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 34 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 44 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 54 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 64 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 74 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 84 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 94 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 104 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… 114 …"rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-senda… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ReflectGetBadCases.ets | 59 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 65 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 71 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 77 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 83 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 89 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 95 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 101 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 107 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1 115 … result += e.toString().contains("`target` argument of Reflect.get must be indexed", 0) ? 0 : 1 [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | union_types_3.ets | 18 assertEQ((x0 as int) * 2, 4, "Error! Must be 4"); 20 assertEQ((x0 as int) * 3, -6, "Error! Must be -6"); 22 assertEQ((x0 as boolean), true, "Error! Must be true"); 24 assertTrue(((x0 as String) + "STR2").equals("STR1STR2"), "Error! Must be `STR1STR2`"); 27 assertTrue((x1 as String).equals("AAA"), "Error! Must be `AAA`"); 30 assertEQ((x2 as boolean), true, "Error! Must be `true`"); 32 // assertEQ((x3 as double), 3.14, "Error! Must be `3.14`" // #15576); 33 assertEQ((x3 as Double), 3.14, "Error! Must be `3.14`");
|
| D | union_types_1.ets | 37 assertEQ(xx.num_to_return(), 777, "Error! The num field of class `C` must be 777"); 42 assertEQ(x.num, 777, "Error! The num field of union must be 777"); 44 assertEQ(a, 780, "Error! Variable 'a' must be 780"); 46 assertEQ(x.num, 1000, "Error! The num field of union must be 1000"); 53 assertEQ(x.num, 1000, "Error! The num field of union must be 1000"); 56 assertEQ(xx.num_to_return(), 1000, "Error! The num field of class `C` must be 1000"); 62 assertEQ(x.num, 41, "Error! The num field of union must be 41"); 64 assertEQ(x.num, 42, "Error! The num field of union must be 42");
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/ |
| D | quoted_hyphen_props_deprecated_sdk.ets.json | 34 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 44 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 54 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 64 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 74 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 94 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 104 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 114 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 124 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule38.ets.json | 24 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 34 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 44 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 54 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 64 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 74 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 94 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 104 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 114 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | invalid_access_modifier.ets | 21 /* @@? 17:13 Error SyntaxError: Access modifier must precede field and method modifiers. */ 23 /* @@? 17:14 Error SyntaxError: Keyword must not contain escaped characters. */ 24 /* @@? 17:14 Error SyntaxError: Access modifier must precede field and method modifiers. */ 26 /* @@? 17:15 Error SyntaxError: Keyword must not contain escaped characters. */ 27 /* @@? 17:15 Error SyntaxError: Access modifier must precede field and method modifiers. */ 29 /* @@? 17:16 Error SyntaxError: Keyword must not contain escaped characters. */ 30 /* @@? 17:16 Error SyntaxError: Access modifier must precede field and method modifiers. */
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/linker/ |
| D | runtime_linker_extensions.ets | 50 assertEQ(cls, placeholderClass, "dummy linker must always return class A"); 63 // Object must be returned from BootRuntimeLinker 64 …assertEQ(cls1.getLinker(), getBootRuntimeLinker(), "std.core.Object must be loaded by BootRuntimeL… 66 assertEQ(cls1, cls2, "loadClass must be idempotent"); 84 assertLT(0, abcFiles.length, "this test must have additional abc files") 101 …assertEQ(objectClass.getLinker(), getBootRuntimeLinker(), "std.core.Object must be loaded by BootR… 105 assertNE(cls1, undefined, "AdditionalClass1 must be found"); 106 assertEQ(cls1.getLinker(), linker, "AdditionalClass1 must be loaded by custom linker"); 109 // As side effect, this must load "additional3.ets" and execute code from it 111 assertNE(cls2, undefined, "AdditionalClass2 must be found"); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | notNull.ets | 41 assertEQ(typeOf(b), 1, "b must be type Int") 42 assertEQ(b, 5, "b must be 5") 59 assertEQ(typeOf(b), 1, "b must be type Int") 76 assertTrue(d instanceof Double, "d must be type Double") 77 assertEQ(d, 3.1415, "d must be 3.1415") 81 assertTrue("3.1415".equals(sd), "s must be '3.1415'") 85 assertTrue(f instanceof Float, "f must be type Float") 86 assertEQ(f, Float.DELTA, "f must be Float.DELTA") 103 assertTrue(false, "this must not be executed") 108 assertTrue(npe_caught, "NPE must be caught") [all …]
|