Summary

TestsErrors FailuresSuccess RateTime
3600100.00%0.79

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

Package List

PackageTestsErrors FailuresSuccess RateTime
net.sf.btw.tools3600100.00%0.79

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

net.sf.btw.tools

ClassTestsErrors FailuresSuccess RateTime
StreamUtilsTest300100.00%0.76
QueueTest2200100.00%0.02
ArrayUtilsTest1100100.00%0.01

Test Cases

StreamUtilsTest

testPackedIntMethods0.02
testByteArrayMethods0.71
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.00
testArrayHashCode0.00
testIndexOfFailsOnEmptyVector0.00
testIndexOfFindsFirstItem0.00
testComparingEmptyEnumsReturnsTrue0.00
testComparingDifferentEnumsReturnsFalse0.00
testComparingEqualEnumsReturnsTrue0.00
testAddAllPreservesElementsOrder0.00
testConversionOfPrimitiveArraysToEnumeration0.00
testCloneCreatesNewObject0.00
testCloneEqualToOriginal0.00