Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
273 0 0 0 100% 55.609

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
no.motif.single 42 0 0 0 100% 3.683
no.motif.iter.ordering 8 0 0 0 100% 0.016
no.motif 140 0 0 0 100% 34.376
no.motif.f 30 0 0 0 100% 10.674
no.motif.iter 53 0 0 0 100% 6.86

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

no.motif.single

Class Tests Errors Failures Skipped Success Rate Time
ElemTest 2 0 0 0 100% 1.67
NonOptionalValueTest 2 0 0 0 100% 0.002
OptionalTest 38 0 0 0 100% 2.011

no.motif.iter.ordering

Class Tests Errors Failures Skipped Success Rate Time
EnhancedComparatorTest 8 0 0 0 100% 0.016

no.motif

Class Tests Errors Failures Skipped Success Rate Time
BaseTest 5 0 0 0 100% 0.101
BaseTheories 3 0 0 0 100% 4.784
CharsTest 2 0 0 0 100% 0.068
CoverageWorkaroundTest 1 0 0 0 100% 0.039
EnumsTest 3 0 0 0 100% 4.233
ExceptionsTest 4 0 0 0 100% 0.079
ImplicitsTest 4 0 0 0 100% 0.012
IntsTest 8 0 0 0 100% 0.003
IOTest 3 0 0 0 100% 0.01
IterateTest 9 0 0 0 100% 6.045
IterateTheories 1 0 0 0 100% 4.911
LongsTest 6 0 0 0 100% 0.009
MapsTest 19 0 0 0 100% 9.93
ReflectTest 9 0 0 0 100% 0.136
RunnablesTest 1 0 0 0 100% 0.001
StringsTest 55 0 0 0 100% 0.019
StringsTheories 5 0 0 0 100% 3.992
WherePredicateTest 2 0 0 0 100% 0.004

no.motif.f

Class Tests Errors Failures Skipped Success Rate Time
AlwaysPredicateTest 1 0 0 0 100% 5.237
ApplyTest 1 0 0 0 100% 5.147
ConjunctionPremiseTest 4 0 0 0 100% 0.102
ConjunctionTest 4 0 0 0 100% 0.104
DisjunctionPremiseTest 4 0 0 0 100% 0.016
DisjunctionTest 5 0 0 0 100% 0.006
DoChainTest 2 0 0 0 100% 0.006
FalseIfNullTest 2 0 0 0 100% 0.011
FnChainTest 1 0 0 0 100% 0.012
PartialApplicationTest 2 0 0 0 100% 0.022
ThrowTest 4 0 0 0 100% 0.011

no.motif.iter

Class Tests Errors Failures Skipped Success Rate Time
AppendPrependTest 2 0 0 0 100% 0.008
CollectingIterableTest 9 0 0 0 100% 0.151
CyclingIterableTest 5 0 0 0 100% 0.148
FilteredIterableTest 5 0 0 0 100% 0.148
HeadTailTest 4 0 0 0 100% 0.144
IndexedIterableTest 1 0 0 0 100% 0.16
IterableTakeTest 4 0 0 0 100% 0.016
MappedIterableTest 3 0 0 0 100% 0.003
PreIndexedContentIteratorTest 5 0 0 0 100% 0.004
ReadOnlyIteratorTest 1 0 0 0 100% 6.051
ReduceTest 5 0 0 0 100% 0.003
SideEffectableTest 1 0 0 0 100% 0.012
SimpleIteratorTest 4 0 0 0 100% 0.004
SingularIteratorTest 2 0 0 0 100% 0.004
SuccessorIterableTest 2 0 0 0 100% 0.004

Test Cases

[Summary] [Package List] [Test Cases]

BaseTest

universalQuantifierFunction 0.066
joinStringsFromTwoFns 0.061
guardFnWithPredicate 0.095
existentialQuantifierFunction 0.062
alwaysYieldConstantValueForDifferentFunctionTypes 0.082

BaseTheories

containedInNullOrEmptyCollectionIsAlwaysFalse 4.714
hashCode 4.493
containedInANonEmptyCollection 4.77

CharsTest

isLetterOrDigit 0.068
isLetter 0.064

CoverageWorkaroundTest

instantiateAllStaticUtilClassToAchieveCoverageForPrivateConstructors 0.039

EnumsTest

resolveToFallbackValue 4.233
resolveGivenNameAsEnum 0.615
mapBetweenUnrelatedEnumsByName 0.084

ExceptionsTest

runtimeExceptionHasSameStacktraceAsWrappedException 0.079
runtimeExceptionsAreReturnedAsIs 0.076
getTheRootMessageOfAnException 0.072
checkedExceptionsAreWrappedInARuntimeException 0.069

AlwaysPredicateTest

constantPredicateAlwaysYieldsSameResult 5.237

ApplyTest

convertFnToDo 5.147

ConjunctionPremiseTest

emptyConjunctionIsTrue 0.028
conjunctionFromListOfPremises 0
allMustBeTrueForTheConjunctionToBeTrue 0
onlyOnePredicate 0.001

ConjunctionTest

conjunctionFromListOfPredicates 0.064
emptyConjunctionIsTrue 0
allMustBeTrueForTheConjunctionToBeTrue 0
onlyOnePredicate 0.04

DisjunctionPremiseTest

onlyOneMustBeTrueForTheDisjunctionToBeTrue 0.015
onlyOnePremise 0.012
disjunctionFromListOfPredicates 0.003
emptyDisjunctionIsFalse 0

DisjunctionTest

disjunctionFromListOfCandidateObjects 0.004
onlyOnePredicate 0.005
disjunctionFromListOfPredicates 0.003
onlyOneMustBeTrueForTheDisjunctionToBeTrue 0.001
emptyDisjunctionIsFalse 0.001

DoChainTest

executesOneAction 0.006
executesTwoActionsInSequence 0.005

FalseIfNullTest

doesNotCallNullsafeMethodIfValueIsNull 0
delegatesToNullsafeMethodForNonNullValues 0.011

FnChainTest

fnChainWithEndingSideeffect 0.012

PartialApplicationTest

partiallyApplyAFn 0.022
partiallyApplyAFn2 0.013

ThrowTest

throwsExceptionForFn0 0.008
throwsExceptionForDo 0
throwsExceptionForFn 0.003
throwsExceptionForFn2 0.001

ImplicitsTest

setImplicitTimeZone 0.009
overrideSystemTime 0.003
defaultTimeMillis 0.003
defaultTimeZone 0.001

IntsTest

divideValue 0.001
multiplyValue 0
intValueIsNullsafe 0
doublingValuesUsingPartiallyAppliedMultiplier 0.001
powerFunctionHasBaseAs1stArgAndExponentAs2ndArg 0.001
givenBitSizesYieldItsAmountOfPossibleDiscreetValues 0.002
subtractValue 0
incrementInteger 0

IOTest

writeSeveralStringsToOutputStream 0.004
streamThrowingException 0.009
writeStringToOutputStream 0.003

AppendPrependTest

appendToExistingElements 0.006
prependToExistingElements 0.006

CollectingIterableTest

getLastElement 0.008
collectsInAnUnmodifiableList 0
createMapWhereMultipleElementsResolvesToSameKeyIsAnError 0
collectInCustomCollection 0.001
lastElementOfEmptyElementsIsNone 0
createMapWhereEachElementsCorrespondsToAUniqueKey 0.147
exerciseToString 0
collectSorted 0.147
groupingElements 0.147

CyclingIterableTest

repeatingZeroTimesYieldsNoElements 0.148
repeatingNoElementsYieldsNoElementsForAnyRepeatAmount 0.005
repeatingSomeElementsANegativeAmountIsNotValid 0.005
repeatingWillCycleTheIterableAGivenAmountOfTimes 0.006
repeatingOneTimeYieldsTheSameElements 0

FilteredIterableTest

filterOnlyMatchesFirstElement 0
treatsNullsAsValidElements 0.147
filterMatchesNoneOfTheElements 0.001
filterOnlyMatchesLastElement 0.001
filterAnEmptyIterable 0.141

HeadTailTest

tailOfEmptyElementsThrowsException 0
headOfEmptyElementsIsNone 0.141
tailOfElements 0.001
headOfElements 0

IndexedIterableTest

indexesElements 0.16

IterableTakeTest

takingMoreElementsThanContainedYieldsAllElements 0.016
takingElementsUntilPredicateIsTrue 0.009
takingLessElementsThanContainedYieldsOnlyTheTakenAmount 0.01
takingElementsWhilePredicateIsTrue 0.007

MappedIterableTest

mapTheValuesOfAnIterable 0.003
treatsNullsAsValidElements 0
mapAnEmptyIterable 0

EnhancedComparatorTest

priorityIsEvaluatedOnActualElements 0.014
placeNullsLast 0.015
descendingOrder 0.01
twoNullsSafeComparatorTreatsTwoNullsAsEqualOrElseDelegatesToContainedComparator 0.01
priorityByPredicate 0.012
placeNullsFirst 0.009
severalMatchedByPriorityIsOrdered 0.011
nullSafety 0.009

PreIndexedContentIteratorTest

throwsIndexOutOfBoundsIfCallingNextWhenNoElementsAreLeft 0.002
yieldsEachElementOfAnIntArray 0.003
iterateEmptyArray 0
iterateCharArray 0.002
throwsExceptionIfEndIndexLessThanStartIndex 0.001

ReadOnlyIteratorTest

removingElementsIsNotSupportedAndNotOverrideable 6.051

ReduceTest

concatenateCharsToString 0.002
concatenatingNoElementsYieldsTheUnitValue 0.001
sumIntegers 0.002
concatenateStrings 0.001
multiplyIntegers 0

SideEffectableTest

doSideeffectOperation 0.012

SimpleIteratorTest

nextReturnsAnElementThenThrowsNoSuchElement 0.004
iteratingUsingForLoop 0.001
iteratorMayThrowException 0.003
nextThrowsNoSuchElement 0

SingularIteratorTest

yieldsASingleValue 0.001
throwsExceptionIfNextIsCalledTwice 0

SuccessorIterableTest

endsWhenSuccessorFunctionYieldsNull 0.004
getsSuccessors 0.001

IterateTest

iterateANullMapYieldsEmptyEntries 0
emptyPredicate 0.001
bridgeArrayYieldingFunctionToIterableYieldingFunction 0.003
iterateAMapAsKeyAndValueEntries 0.001
iteratingNullIsEmptyIterable 0
flatMap 0.001
iterateEmptyJavaCollectionYieldsNoneInstance 0
functionsAreAppliedOnEvalAndNeverAgain 6.04
consumingStreamLikeIterables 0.001

IterateTheories

sizeOfCollection 4.911

LongsTest

divideValue 0.002
multiplyValue 0.001
longValue 0
rounding 0.001
longValueIsNullsafe 0.007
subtractValue 0

MapsTest

unsupportedOperationsBecomeSupportedAfterAMapViewOfFnIsCleared 0.013
putIsNotSupported 0.006
filterAndMapOnMapKeysAndValues 0.003
aPutValueCanBeRetrievedByItsKey 0.297
canSetNewValuesWithEntrySet 4.851
keyMappingToValueWhichIsNotKeyInSecondMap 4.921
mapDoesNotContainKeyAfterItHasBeenRemoved 4.038
removingFromEmptyCombinedMapDoesNotRemoveFromUnderlyingMaps 4.895
valueInPredicate 4.161
afterAnEntryHasBeenPutTheMapContainsThatKey 0.318
neverContainsValueWhichIsNotInSecondMap 5.803
afterAMapHasBeenPutTheMapContainsTheEntriesOfThatMap 1.404
fnAsMapKeyQuery 4.157
putAllIsNotSupported 0.001
emptyIfOneOfTheMapsAreEmpty 3.666
clearedFnAsMapIsEmpty 4.077
keyMappingToValueWhichIsKeyInSecondMap 5.742
mapAsFnYieldsValuesOf 9.612
getReturnsNullForKeysNotInFirstMap 4.085

ReflectTest

createInstanceThrowsException 0.122
getNameOfClasses 0
createInstances 0.004
typedClass 0
pickOutObjectsOfCertainSubtype 0.002
getAnnotatedObjects 0.005
getNameOfFields 0
untypedClass 0
getPackageOfClasses 0

RunnablesTest

chainOfRunnables 0.001

ElemTest

hasNiceToString 0.001
adheresToEqualsHashCodeContract 1.669

NonOptionalValueTest

nullIsOk 0
mappingFollowsSameSemanticsAsOptional 0

OptionalTest

noneIsNotEqualToSomeValue 0.001
noneOrOtherOptional 0
optionalNullIsNone 0
sneakilyInstantiatedNewNoneInstanceShouldBeEqualToSingleton 0.004
deserializedNoneIsRestoredAsTheSingletonInstance 0.118
mappingNoneAlwaysGiveSameNone 0.111
prepending 0.001
getTheValue 0
removingFromAnOptionalIteratorIsAbsurd 0
iteratesOneTimeOverSome 0
orElseThrowOnSomeReturnsTheOptionalValue 0.097
canDecideSomeOrNoneBasedOnPredicate 0
orElseOnSomeReturnsTheOptionalValue 0
orElseOnNoneReturnsElse 0
itIsPossibleToMapANone 0
optionalValueIsSome 0
canAskIfValueIsPresent 0
orNullOnSomeIsTheWrappedValue 0
flatMapToAnotherOptional 0
splittingUsingFunctionYieldingEnhancedIterableReturnsThatSameInstance 0.052
orNullOnNoneIsNull 0
severalMappingsOfSomeValue 0
flatMapOnNoneAlwaysYieldsNone 0
mapTheValue 0
doesNotIterateOverNone 0
filteringOptional 0.001
throwsExceptionWhenGettingAMappedNone 0
splitToIterable 0
mapperFunctionReturningNullCreatesNone 0.001
hasNiceToString 0
orElseThrowOnNoneThrows 0.002
mappingToNoneWithFailingPredicate 0
someOrOtherOptional 0
throwsExceptionIfGettingAValueFromNone 0
severalMappingOfNone 0
adheresToEqualsHashcodeContract 1.792
fallbackToElements 0
appending 0

StringsTest

extractSubstringAfterIndexValueOfMinus2OrLessIsInvalid 0.001
extractSubstringBeforeNegativeIndexIsInvalid 0.007
numeric 0.002
toLowerCaseWithLocale 0.001
reversedString 0
splittingAStringUsingADelimiterString 0.003
insertStringBetweenTwoStrings 0
prepending 0
alphanumeric 0
toLowerCase 0
length 0
splitStringByCharacterDelimiter 0.004
alphabetic 0.001
extractSubstringAfterIndexOutOfBoundsYieldsTheEmptyString 0.001
repeatedString 0.001
indexOfLastOccurrenceOfCharacter 0.004
extractSubstringBeforeFirstOccurrenceOfGivenString 0.001
consecutiveSplittingSubstringsYieldsEmptyStrings 0
extractStringBetweenTwoOutermostStrings 0.004
joinedWithSeparator 0.001
extractSubstringBeforeLastOccurrenceOfGivenString 0.003
trimmed 0
toUpperCase 0
convertToDouble 0
concatenating 0
bytesOfAStringWithInvalidCharsetThrowsException 0.001
extractAllStringsOccurringBetweenGivenStrings 0.003
join 0
concatNullIsEmptyString 0.001
blank 0
containsSequenceOfChars 0
repeatingNegativeAmountIsNotValid 0
repeatedStringWithDelimiter 0.001
substringWithNegativeStartIndexIsAnError 0
extractSubstringBeforeIndexOutOfBoundsYieldsTheOriginalString 0
extractStringBetweenTwoStrings 0.001
leadingCharacters 0.001
startsWithPrefix 0.001
indexOfFirstOccurrenceOfSubstring 0
convertToInt 0
consecutiveSplitCharsYieldsEmptyStrings 0
extractSubstringAfterFirstOccurenceOfGivenString 0
regexMatches 0.001
lengthOfString 0
extractAllBetweenTwoEmptyStringsIsAnError 0
bytesOfAString 0
extractSubstringAfterIndexValueOfMinus1YieldsOriginalString 0
extractSubstringAfterLastOccurenceOfGivenString 0
substringByStartAndEndIndex 0.001
indexOfFirstOccurrenceOfCharacter 0
substringWithNegativeEndIndexIsAnError 0
endsWithSuffix 0
convertToLong 0
trailingCharacters 0.003
appending 0

StringsTheories

iteratingAnyStringYieldsItsCharacters 0.319
splitAnyStringOnNonExistingCharYieldsTheOriginalString 2.725
splitsToOneMoreStringsThanOccurencesOfTheCharacter 2.829
splitAnyStringOnNonExistingSubstringYieldsTheOriginalString 3.977
splittingStringsWhereEveryCharIsAnDelimiterYieldsEmptyStrings 0.186

WherePredicateTest

filterDomainObjectsUsingWherePredicate 0.004
combineFnAndPredicate 0

Back to top

Version: 0.8. Last Published: 2016-03-02.

Reflow Maven skin by Andrius Velykis.