Class tests.wurstscript.tests.ClassesTests

76

tests

0

failures

0

ignored

17.233s

duration

100%

successful

Tests

Test Duration Result
NPE 0.031s passed
OverrideClass 0.470s passed
abstract_class 0.322s passed
abstract_class2 0.262s 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.014s passed
arrayAttributeTest1 0.411s passed
arrayAttributeTest2 0.484s passed
big_instanceof 0.269s passed
callStaticFunctionFromInit 0.003s passed
cast_class 0.233s passed
cast_class2 0.268s passed
cast_class_unrelated 0.005s passed
classes1 0.276s passed
classes_construct 0.296s passed
classes_double_defined 0.009s passed
classes_lifecycle 0.340s passed
classes_method 0.532s passed
classes_method_implicit 0.297s passed
classes_static_func 0.003s passed
classes_static_var 0.044s passed
classes_static_var2 0.002s passed
classes_static_var_get 0.001s passed
classes_static_var_set 0.001s passed
classes_static_var_set2 0.002s passed
code_members 0.001s passed
constantVars 0.002s passed
constant_fields 0.002s passed
constant_fields2 0.002s passed
construct_super 0.001s passed
constructor_overloading 0.332s passed
constructor_private 0.003s passed
constructor_private_ok 0.226s passed
destroyed 0.011s passed
dotdotOperator 0.257s passed
dotdotOperatorFail 0.004s passed
duplicateConstructor 0.002s passed
initConstant 0.228s passed
initialization_static_inner1 0.293s passed
initialization_static_inner2 0.259s passed
instanceof_null 0.355s passed
method_private 0.004s passed
ondestroy 0.232s passed
override 0.002s passed
override_valid 0.249s passed
override_valid2 0.278s passed
override_valid_trans 0.345s passed
override_valid_trans_big 0.455s passed
override_valid_void 0.301s passed
protectedInOtherPackage 0.297s passed
protectedInOtherPackage2 0.253s passed
recyling 2.057s passed
recyling2 0.284s passed
recyling_random 0.393s passed
staticThisAccess 0.003s passed
static_class_qualified_field 0.217s passed
static_class_qualified_function 0.223s passed
static_class_qualified_type 0.249s passed
static_field 0.221s passed
static_field_other_package 0.275s passed
static_static_array_field 0.226s passed
testArraySize 0.302s passed
testArraySize2 0.003s passed
testInnerClass_module 0.312s passed
testInnerClass_module_thistype 0.326s passed
testInnerClass_module_thistype2 0.004s passed
testInnerClass_module_thistype3 0.479s passed
testInnerClass_static1 0.272s passed
testInnerClass_static_from_outside 0.241s passed
testNoOverride 0.235s passed
testOver9000 1.415s passed
thisHandling 0.237s passed
tupleArrayMember 0.282s 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()