Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
94 0 0 0 100% 11.876

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
uk.org.lidalia.lang 94 0 0 0 100% 11.876

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

uk.org.lidalia.lang

Class Tests Errors Failures Skipped Success Rate Time
LazyValueTests 7 0 0 0 100% 1.069
ClassesTests 7 0 0 0 100% 0.023
ModifierTests 42 0 0 0 100% 0.089
WrappedValueTests 9 0 0 0 100% 1.826
ExceptionsTests 5 0 0 0 100% 1.117
RichObjectTests 10 0 0 0 100% 5.289
TaskTests 4 0 0 0 100% 0.083
ThreadLocalTests 8 0 0 0 100% 0.588
ThreadLocalClassLoaderTests 2 0 0 0 100% 1.792

Test Cases

[Summary] [Package List] [Test Cases]

LazyValueTests

throwsSourceException 0.49
threadSafeAndEvaluatedOnlyOnce 0.312
handlesInterruption 0.247
supplierNotEvaluatedOnInstantiation 0.017
returnsExpectedValue 0.001
toStringWhenNotYetEvaluated 0.001
toStringWhenEvaluated 0.001

ClassesTests

notInstantiable 0
hasConstructorFalse 0
hasConstructorTrue 0
getClassGenerified 0
inSameClassHierarchyReflexive 0
inSameClassHierarchySymmetric 0
inSameClassHierarchyWhenimplementingSameInterfaceOtherwiseUnrelated 0.023

ModifierTests

[0] PUBLIC, class uk.org.lidalia.lang.ModifierTests$publicClass (modifierExistsOnClass) 0.002
[1] PRIVATE, class uk.org.lidalia.lang.ModifierTests$privateClass (modifierExistsOnClass) 0
[2] PROTECTED, class uk.org.lidalia.lang.ModifierTests$protectedClass (modifierExistsOnClass) 0.001
[3] STATIC, class uk.org.lidalia.lang.ModifierTests$staticClass (modifierExistsOnClass) 0.001
[4] FINAL, class uk.org.lidalia.lang.ModifierTests$finalClass (modifierExistsOnClass) 0
[5] INTERFACE, interface uk.org.lidalia.lang.ModifierTests$interfaceClass (modifierExistsOnClass) 0.001
[6] ABSTRACT, class uk.org.lidalia.lang.ModifierTests$abstractClass (modifierExistsOnClass) 0.001
[0] PUBLIC (modifierDoesNotExistOnClassWithNoModifier) 0
[1] PRIVATE (modifierDoesNotExistOnClassWithNoModifier) 0.001
[2] PROTECTED (modifierDoesNotExistOnClassWithNoModifier) 0.001
[3] STATIC (modifierDoesNotExistOnClassWithNoModifier) 0.001
[4] FINAL (modifierDoesNotExistOnClassWithNoModifier) 0
[5] SYNCHRONIZED (modifierDoesNotExistOnClassWithNoModifier) 0
[6] VOLATILE (modifierDoesNotExistOnClassWithNoModifier) 0
[7] TRANSIENT (modifierDoesNotExistOnClassWithNoModifier) 0.001
[8] NATIVE (modifierDoesNotExistOnClassWithNoModifier) 0
[9] INTERFACE (modifierDoesNotExistOnClassWithNoModifier) 0
[10] ABSTRACT (modifierDoesNotExistOnClassWithNoModifier) 0
[11] STRICT (modifierDoesNotExistOnClassWithNoModifier) 0.003
[0] PUBLIC (modifierDoesNotExistOnMemberWithNoModifier) 0
[1] PRIVATE (modifierDoesNotExistOnMemberWithNoModifier) 0
[2] PROTECTED (modifierDoesNotExistOnMemberWithNoModifier) 0.002
[3] STATIC (modifierDoesNotExistOnMemberWithNoModifier) 0
[4] FINAL (modifierDoesNotExistOnMemberWithNoModifier) 0.001
[5] SYNCHRONIZED (modifierDoesNotExistOnMemberWithNoModifier) 0
[6] VOLATILE (modifierDoesNotExistOnMemberWithNoModifier) 0
[7] TRANSIENT (modifierDoesNotExistOnMemberWithNoModifier) 0
[8] NATIVE (modifierDoesNotExistOnMemberWithNoModifier) 0.001
[9] INTERFACE (modifierDoesNotExistOnMemberWithNoModifier) 0.005
[10] ABSTRACT (modifierDoesNotExistOnMemberWithNoModifier) 0.001
[11] STRICT (modifierDoesNotExistOnMemberWithNoModifier) 0.001
[0] PUBLIC, public byte uk.org.lidalia.lang.ModifierTests.publicField (modifierExistsOnMember) 0.001
[1] PRIVATE, private byte uk.org.lidalia.lang.ModifierTests.privateField (modifierExistsOnMember) 0.001
[2] PROTECTED, protected byte uk.org.lidalia.lang.ModifierTests.protectedField (modifierExistsOnMember) 0.001
[3] STATIC, static byte uk.org.lidalia.lang.ModifierTests.staticField (modifierExistsOnMember) 0.001
[4] FINAL, final byte uk.org.lidalia.lang.ModifierTests.finalField (modifierExistsOnMember) 0.001
[5] SYNCHRONIZED, synchronized void uk.org.lidalia.lang.ModifierTests.synchronizedMethod[] (modifierExistsOnMember) 0.001
[6] VOLATILE, volatile byte uk.org.lidalia.lang.ModifierTests.volatileField (modifierExistsOnMember) 0.001
[7] TRANSIENT, transient byte uk.org.lidalia.lang.ModifierTests.transientField (modifierExistsOnMember) 0.001
[8] NATIVE, native void uk.org.lidalia.lang.ModifierTests.nativeMethod[] (modifierExistsOnMember) 0.013
[9] STRICT, strictfp void uk.org.lidalia.lang.ModifierTests.strictMethod[] (modifierExistsOnMember) 0
strictClassDoesNotHaveStrictModifier 0.044

WrappedValueTests

equalToNull 0.666
equalToSelf 0.675
equalToOtherInstanceDifferentValue 0.18
equalToOtherWrappedValueDifferentHierarchy 0.223
equalToSubtype 0.072
equalToOtherInstanceSameValue 0.005
hashCodeValue 0.002
equalToOtherObject 0.001
toStringValue 0.002

ExceptionsTests

throwUncheckedWithCheckedException 0.21
notInstantiable 0.68
throwUncheckedWithNullAndReturnStatementToTrickCompiler 0.083
throwUncheckedWithCheckedExceptionAndReturnStatementToTrickCompiler 0.082
throwUncheckedWithNull 0.062

RichObjectTests

equalsOnInstancesOfClassesAssignableFromEachOtherWithSameIdentityMembers 5.139
toStringNoFields 0.029
equalsObject 0.022
equalsOnInstanceOfClassesNotAssignableFromEachOther 0.022
equalsNoFields 0.003
equalsOnInstancesOfClassesAssignableFromEachOtherWithDifferentIdentityMembers 0.06
differentIdentityFieldsHaveDifferentHashCodes 0.001
equalsOnInstanceOfSameClass 0.005
toStringWorks 0.001
equalsOnInstanceOfSameClassMultipleIdentityMembers 0.007

TaskTests

runCallsDoRun 0.024
callThrowsException 0.026
callCallsDoRun 0.013
runThrowsException 0.02

ThreadLocalTests

initialValueSourceIsStateful 0.086
initialValueWorksForAllThreads 0.084
removeWorks 0.001
resetWorksForAllThreads 0.027
initialValueSourceIsStatefulOtherThread 0.06
differentValuePerThread 0.053
initialValueSourceIsCalledSeparatelyPerThread 0.119
removeWorksOtherThread 0.158

ThreadLocalClassLoaderTests

classLoaderCannotBeGarbageCollectedAfterSettingAValueOnAJavaLangThreadLocal 0.773
classLoaderCanBeGarbageCollectedAfterSettingAValueOnAThreadLocal 1.019