Summary

TestsErrors FailuresSuccess RateTime
3600100.00%0.86

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

Package List

PackageTestsErrors FailuresSuccess RateTime
net.sf.btw.commons3600100.00%0.86

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

net.sf.btw.commons

ClassTestsErrors FailuresSuccess RateTime
StreamUtilsTest300100.00%0.77
QueueTest2200100.00%0.02
ArrayUtilsTest1100100.00%0.06

Test Cases

StreamUtilsTest

testPackedIntMethods0.02
testByteArrayMethods0.75
testStringToByteArray0.00

QueueTest

testIfNewQueueIsEmpty0.00
testIfQueueWithItemIsNotEmpty0.00
testIfQueueWith100ElementsIsNotEmpty0.00
testIfQueueWith50ElementsOccupies50Slots0.00
testIfQueueWith100ElementsIsFull0.00
testIfQueueWithRemovedElementsIsEmpty0.00
testIfOfferToZeroSizedQueueFails0.00
testIfRemoveLastFromEmptyFails0.00
testIfPollFromEmptyQueueFails0.00
testClearedQueueIsEmpty0.00
testOfferAndPollPreservesElementsOrder0.00
testOfferAndRemoveLastPreservesElementsOrder0.00
testOfferZeroElementsLeavesQueueEmpty0.00
testEnumerationOfEmptyQueueIsEmpty0.00
testEnumerationOfNonEmptyQueueIsNonEmpty0.00
testOfferAllPreservesElementsOrder0.00
testIfOfferAllFailsOnItself0.00
testIfEmptyCloneIsEmpty0.00
testNonEmptyCloneIsNonEmpty0.00
testIfCloneIsEqual0.00
testPeekOnEmptyQueueReturnsNull0.00
testPeekPreservesElementOrder0.00

ArrayUtilsTest

testIfObjectsAreArray0.01
testArrayHashCode0.00
testIndexOfFailsOnEmptyVector0.00
testIndexOfFindsFirstItem0.00
testComparingEmptyEnumsReturnsTrue0.00
testComparingDifferentEnumsReturnsFalse0.00
testComparingEqualEnumsReturnsTrue0.00
testAddAllPreservesElementsOrder0.00
testConversionOfPrimitiveArraysToEnumeration0.00
testCloneCreatesNewObject0.00
testCloneEqualToOriginal0.00