Class tests.wurstscript.tests.ClassesTests

76

tests

0

failures

0

ignored

15.729s

duration

100%

successful

Tests

Test Duration Result
NPE 0.012s passed
OverrideClass 0.220s passed
abstract_class 0.321s passed
abstract_class2 0.266s passed
abstract_fail 0.004s passed
abstract_fail2 0.002s passed
abstract_must_not_be_private 0.001s passed
arrayAttributeFail1 0.001s passed
arrayAttributeFail2 0.011s passed
arrayAttributeTest1 0.255s passed
arrayAttributeTest2 0.336s passed
big_instanceof 0.353s passed
callStaticFunctionFromInit 0.041s passed
cast_class 0.329s passed
cast_class2 0.240s passed
cast_class_unrelated 0.003s passed
classes1 0.250s passed
classes_construct 0.283s passed
classes_double_defined 0.003s passed
classes_lifecycle 0.317s passed
classes_method 0.270s passed
classes_method_implicit 0.290s passed
classes_static_func 0.003s passed
classes_static_var 0.001s passed
classes_static_var2 0.001s passed
classes_static_var_get 0.002s passed
classes_static_var_set 0.001s passed
classes_static_var_set2 0.001s passed
code_members 0.001s passed
constantVars 0.002s passed
constant_fields 0.002s passed
constant_fields2 0.001s passed
construct_super 0.001s passed
constructor_overloading 0.237s passed
constructor_private 0.004s passed
constructor_private_ok 0.231s passed
destroyed 0.012s passed
dotdotOperator 0.295s passed
dotdotOperatorFail 0.003s passed
duplicateConstructor 0.001s passed
initConstant 0.207s passed
initialization_static_inner1 0.261s passed
initialization_static_inner2 0.255s passed
instanceof_null 0.271s passed
method_private 0.003s passed
ondestroy 0.259s passed
override 0.002s passed
override_valid 0.295s passed
override_valid2 0.260s passed
override_valid_trans 0.267s passed
override_valid_trans_big 0.319s passed
override_valid_void 0.250s passed
protectedInOtherPackage 0.242s passed
protectedInOtherPackage2 0.248s passed
recyling 1.815s passed
recyling2 0.255s passed
recyling_random 0.396s passed
staticThisAccess 0.004s passed
static_class_qualified_field 0.228s passed
static_class_qualified_function 0.261s passed
static_class_qualified_type 0.263s passed
static_field 0.236s passed
static_field_other_package 0.252s passed
static_static_array_field 0.259s passed
testArraySize 0.281s passed
testArraySize2 0.003s passed
testInnerClass_module 0.318s passed
testInnerClass_module_thistype 0.264s passed
testInnerClass_module_thistype2 0.005s passed
testInnerClass_module_thistype3 0.281s passed
testInnerClass_static1 0.272s passed
testInnerClass_static_from_outside 0.280s passed
testNoOverride 0.268s passed
testOver9000 1.522s passed
thisHandling 0.243s passed
tupleArrayMember 0.277s passed

Standard error

Nullpointer exception when calling A.foo
... when calling error("Nullpointer exception when calling A.foo") in NPE:4
... when calling dispatch_A_test_A_foo(0) in NPE:8
... when calling init_test() in NPE:1
... when calling main()

Called A.foo on invalid object.
... when calling error("Called A.foo on invalid object.") in destroyed:4
... when calling dispatch_A_test_A_foo(1) in destroyed:10
... when calling init_test() in destroyed:1
... when calling main()