Summary
[
summary] [
package list] [
test cases]
Tests | Errors | Failures | Success rate | Time(s) |
129 | 0 | 0 | 100,00% | 4,07 |
Note:
failuresare anticipated and checked for with assertions while
errorsare unanticipated.
Package List
[
summary] [
package list] [
test cases]
Package | Tests | Errors | Failures | Success Rate | Time |
jtge.engine.command
| 6 | 0 | 0 | 100,00% | 0,06 |
jtge.engine.data
| 6 | 0 | 0 | 100,00% | 0,08 |
jtge.engine.handler
| 7 | 0 | 0 | 100,00% | 0,11 |
jtge.engine.io
| 45 | 0 | 0 | 100,00% | 1,69 |
jtge.engine.net
| 10 | 0 | 0 | 100,00% | 1,47 |
jtge.engine.security
| 8 | 0 | 0 | 100,00% | 0,09 |
jtge.util
| 7 | 0 | 0 | 100,00% | 0,25 |
jtge.util.grid
| 14 | 0 | 0 | 100,00% | 0,08 |
jtge.util.grid.hex.builder
| 2 | 0 | 0 | 100,00% | 0,06 |
jtge.util.grid.hex.directiongroup
| 4 | 0 | 0 | 100,00% | 0,06 |
jtge.util.grid.square.directiongroup
| 2 | 0 | 0 | 100,00% | 0,03 |
jtge.util.grid.torus
| 8 | 0 | 0 | 100,00% | 0,02 |
jtge.util.random
| 10 | 0 | 0 | 100,00% | 0,08 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
jtge.engine.command
Class | Tests | Errors | Failures | Success Rate | Time |
|
FlowTest
| 6 | 0 | 0 | 100,00% | 0,062 |
jtge.engine.io
Class | Tests | Errors | Failures | Success Rate | Time |
|
AsynchronousInputTest
| 1 | 0 | 0 | 100,00% | 0,047 |
|
ChannelManagerTest
| 5 | 0 | 0 | 100,00% | 0,031 |
|
FileInputConnectorTest
| 2 | 0 | 0 | 100,00% | 0,032 |
|
FileOutputConnectorTest
| 2 | 0 | 0 | 100,00% | 0,047 |
|
InputTest
| 6 | 0 | 0 | 100,00% | 0,047 |
|
ObjectInputTest
| 7 | 0 | 0 | 100,00% | 0,235 |
|
ObjectOutputTest
| 6 | 0 | 0 | 100,00% | 0,234 |
|
OutputTest
| 3 | 0 | 0 | 100,00% | 0,047 |
|
XStreamInputTest
| 7 | 0 | 0 | 100,00% | 0,609 |
|
XStreamOutputTest
| 6 | 0 | 0 | 100,00% | 0,359 |
jtge.util.grid
Class | Tests | Errors | Failures | Success Rate | Time |
|
AdjacentTileIteratorTest
| 2 | 0 | 0 | 100,00% | 0,031 |
|
CoordinateTest
| 2 | 0 | 0 | 100,00% | 0,000 |
|
GridUtilTest
| 2 | 0 | 0 | 100,00% | 0,015 |
|
HexagonGridTest
| 6 | 0 | 0 | 100,00% | 0,016 |
|
LinearTileIteratorTest
| 2 | 0 | 0 | 100,00% | 0,016 |
jtge.util.grid.hex.directiongroup
Test Cases
[
summary] [
package list] [
test cases]
FlowTest
| testEqualsNull | 0,03 |
| testEquals | 0,00 |
| testExecute | 0,02 |
| testFilter | 0,00 |
| testFilterOutAllCommandsReturnsNull | 0,00 |
| testSort | 0,00 |
ContextTest
| testSetterCalledWhenPuttingCustomData | 0,03 |
| testInterfaceSetterCalledWhenPuttingCustomData | 0,00 |
| testRegisterNullKeyThrowsException | 0,00 |
| testRegisterNullDataIsNoOp | 0,00 |
ResolverTest
| testNullRegistration | 0,03 |
| testRegistration | 0,00 |
BufferTest
| testReleaseBufferWhenEmptyProducesNullCommand | 0,03 |
| testReleaseBufferWithNullCommandsProducesNullCommand | 0,00 |
| testReleaseBufferWithOneCommandForwardsIt | 0,00 |
| testReleaseBufferWithSeveralCommandsForwardsThem | 0,00 |
FilterTest
| testFilterNullCommandForwardsNull | 0,03 |
SubjectTest
| testWithNoObserver | 0,03 |
| testWithTwoObservers | 0,00 |
AsynchronousInputTest
| testRead | 0,03 |
ChannelManagerTest
| testRegisterInputOutputTriggersConnectionView | 0,03 |
| testUnregisterRegisteredInputTriggersConnectionView | 0,00 |
| testRegisterInputOutputAndClearManagerClosesBoth | 0,00 |
| testRegisterInputOutputAndUnregisterInputClosesBoth | 0,00 |
| testUnregisterNonRegisteredIsNoOp | 0,00 |
FileInputConnectorTest
| testOpenFileFails | 0,03 |
| testOpenSuccessfull | 0,00 |
FileOutputConnectorTest
| testOpenSuccessfull | 0,03 |
| testOpenDirectoryFails | 0,00 |
InputTest
| testCloseClosesInputIfNotAlreadyClosed | 0,03 |
| testCloseIsNoOpIfInputAlreadyClosed | 0,00 |
| testReadIsNoOpWhenClosed | 0,00 |
| testReadCommand | 0,00 |
| testReadNullThrowsAnException | 0,00 |
| testReadNullDetectsInputClosed | 0,00 |
ObjectInputTest
| testCreateWithNullStreamThrowsAnException | 0,20 |
| testCreateDoesNotReadAnythingFromTheStream | 0,00 |
| testCloseForwardsToTheStream | 0,00 |
| testReadThrowsExceptionWhenTheStreamDoes | 0,00 |
| testReadEndOfFileClosesAndReturnsNull | 0,00 |
| testCanReadDummyCommand | 0,02 |
| testReadTrashThrowsAnException | 0,00 |
ObjectOutputTest
| testCreateWithNullStreamThrowsAnException | 0,20 |
| testCloseForwardsToTheStream | 0,00 |
| testCreateDoesNotWriteAnythingToTheStream | 0,00 |
| testWriteThrowsAnExceptionWhenTheStreamDoes | 0,00 |
| testWriteNullCommandDoesNotWriteDataToTheStream | 0,00 |
| testWriteAppendsDataToTheStream | 0,03 |
OutputTest
| testCloseClosesOutputIfNotAlreadyClosed | 0,03 |
| testCloseIsNoOpIfOutputAlreadyClosed | 0,00 |
| testHandleCommandForwardsToWrite | 0,00 |
XStreamInputTest
| testCreateWithNullStreamThrowsAnException | 0,53 |
| testCreateDoesNotReadAnythingFromTheStream | 0,00 |
| testCloseForwardsToTheStream | 0,02 |
| testReadThrowsExceptionWhenTheStreamDoes | 0,02 |
| testReadEndOfFileClosesAndReturnsNull | 0,00 |
| testCanReadDummyCommand | 0,05 |
| testReadTrashThrowsAnException | 0,00 |
XStreamOutputTest
| testCreateWithNullStreamThrowsAnException | 0,31 |
| testCloseForwardsToTheStream | 0,02 |
| testCreateDoesNotWriteAnythingToTheStream | 0,00 |
| testWriteThrowsAnExceptionWhenTheStreamDoes | 0,03 |
| testWriteNullCommandDoesNotWriteDataToTheStream | 0,00 |
| testWriteAppendsDataToTheStream | 0,00 |
NetworkAcceptorTest
| testCreateWithInvalidPort | 0,06 |
| testOpenPortAlreadyInUse | 0,03 |
| testOpen | 0,05 |
| testOpenAndCloseRightAway | 0,06 |
| testClose | 0,06 |
| testCloseWhileNotOpenIsNoOp | 0,03 |
| testCloseTwiceWhileNotOpenIsNoOp | 0,03 |
NetworkConnectorTest
| testOpenSuccessfull | 0,03 |
| testCreateInvalidPort | 0,00 |
| testOpenTimeouts | 1,08 |
LoginHandlerTest
| testUserLogsInTriggersRegistration | 0,03 |
| testMatchingCommandIsExecuted | 0,00 |
| testNonMatchingCommandIsNotExecuted | 0,00 |
| testNonMatchingCommandIsForwardedWhenUserHasLoggedIn | 0,00 |
UserManagerTest
| testDisconnectNonRegisteredInputOutputIsNoOp | 0,03 |
| testRegisterUserWithUnregisteredInputIsNoOp | 0,00 |
| testRegisterUserTriggersLogin | 0,02 |
| testDisconnectInputOutputTriggersLogout | 0,00 |
EasyMockTestCaseTest
| testCreateMockFromInterfaceProvidesNonNullObject | 0,02 |
| testCreateMockFromClassProvidesNonNullObject | 0,23 |
| testControlObjectForCreatedMockIsNonNull | 0,00 |
| testControlObjectForInvalidMockIsNull | 0,00 |
| testCreateMockAndRunTestPasses | 0,00 |
| testCreateMockWithExpectationAndRunTestFails | 0,00 |
| testCreateMockWithExpectationAndRunTestPasses | 0,00 |
AdjacentTileIteratorTest
| testEmptyGrid | 0,02 |
| testPartialGrid | 0,00 |
CoordinateTest
| testEqualsObject | 0,00 |
| testClone | 0,00 |
GridUtilTest
| testEven | 0,00 |
| testOdd | 0,00 |
PeakHexagonBuilderTest
| testOutOfBoundPicking | 0,03 |
| testTopLeftHexagonPicking | 0,02 |
FlatHexagonDirectionGroupTest
| testGetAdjacent | 0,02 |
FlatShiftedHexagonDirectionGroupTest
| testGetAdjacent | 0,02 |
PeakHexagonDirectionGroupTest
| testGetAdjacent | 0,02 |
PeakShiftedHexagonDirectionGroupTest
| testGetAdjacent | 0,02 |
HexagonGridTest
| testFlatGridLinearIterator | 0,02 |
| testFlatGridAdjacentIterator | 0,00 |
| testFlatShiftedGridAdjacentIterator | 0,00 |
| testPeakGridAdjacentIterator | 0,00 |
| testPeakShiftedGridAdjacentIterator | 0,00 |
| testPeakShiftedGridAdjacentIteratorOutsideGrid | 0,00 |
LinearTileIteratorTest
| testEmptyGrid | 0,02 |
| testNormalGrid | 0,00 |
EightDirectionGroupTest
| testGetAdjacent | 0,02 |
FourDirectionGroupTest
| testGetAdjacent | 0,02 |
HorizontalTorusTest
| testWithinRangeCoordinateTransformationIsInvariant | 0,00 |
| testWithinEdgeCoordinatesTransformationIsInvariant | 0,00 |
| testWithinNegativeCoordinateTransformationMovesItIntoRange | 0,00 |
| testWithinOutOfBoundsCoordinateTransformationMovesItIntoRange | 0,00 |
VerticalTorusTest
| testWithinRangeCoordinateTransformationIsInvariant | 0,00 |
| testWithinEdgeCoordinatesTransformationIsInvariant | 0,00 |
| testWithinNegativeCoordinateTransformationMovesItIntoRange | 0,00 |
| testWithinOutOfBoundsCoordinateTransformationMovesItIntoRange | 0,00 |
RandomIteratorTest
| testRandomizeNullIterator | 0,02 |
| testRemoveThrowsUnsupportedOperationException | 0,00 |
| testRandomizeEmptyList | 0,00 |
| testRandomizeListWithOneElement | 0,02 |
| testRandomizeListWithTwoElementsReversingThem | 0,00 |
RandomTest
| testNextInt | 0,05 |
| testNextFloatForZeroIsZero | 0,00 |
| testNextFloatIsAFloat | 0,00 |
| testSetSeedForReproductibility | 0,00 |
| testGetSeed | 0,00 |