[ summary] [ package list] [ test cases]
Tests | Errors | Failures | Success rate | Time(s) |
---|---|---|---|---|
62 | 0 | 0 | 100,00% | 0,64 |
Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.
[ summary] [ package list] [ test cases]
Package | Tests | Errors | Failures | Success Rate | Time |
---|---|---|---|---|---|
battlehex.controller | 7 | 0 | 0 | 100,00% | 0,14 |
battlehex.model.command | 3 | 0 | 0 | 100,00% | 0,27 |
battlehex.model.map | 52 | 0 | 0 | 100,00% | 0,23 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Class | Tests | Errors | Failures | Success Rate | Time | |
---|---|---|---|---|---|---|
BaseStateTest | 2 | 0 | 0 | 100,00% | 0,047 | |
PlacementPendingStateTest | 3 | 0 | 0 | 100,00% | 0,047 | |
TerritorySelectedStateTest | 2 | 0 | 0 | 100,00% | 0,047 |
Class | Tests | Errors | Failures | Success Rate | Time | |
---|---|---|---|---|---|---|
MapTest | 13 | 0 | 0 | 100,00% | 0,047 | |
MoneyTest | 3 | 0 | 0 | 100,00% | 0,031 | |
SubTerritoryIteratorTest | 4 | 0 | 0 | 100,00% | 0,031 | |
TerritoryTest | 22 | 0 | 0 | 100,00% | 0,078 | |
TileTest | 10 | 0 | 0 | 100,00% | 0,047 |
[ summary] [ package list] [ test cases]
testClickAtNullTerritoryIsNoOp | 0,03 | |
testClickAtTerritoryChangesStateToTerritorySelectedState | 0,02 |
testClickOnNullTerritoryIsNoOp | 0,03 | |
testClickOutsideTerritoryIsNoOp | 0,00 | |
testClickInsideTerritoryForwardsOrderToConsumerAndChangesSelectedTerritory | 0,02 |
testClickAtNullTerritoryChangesStateToBaseState | 0,05 | |
testClickAtValidTerritoryDoesNotChangeState | 0,00 |
testPopulateEmptyCoordinatesIteratorIsNoOp | 0,27 | |
testPopulateEmptyPlayersIteratorIsNoOp | 0,00 | |
testPopulateGridCreatesProperNumberOfTiles | 0,00 |
testCreateSingleTile | 0,05 | |
testCreateNeighbourTilesNotOwnedBySamePlayer | 0,00 | |
testCreateTwoNeighbourTilesOwnedBySamePlayer | 0,00 | |
testCreateThreeNeighbourContiguousTilesOwnedBySamePlayer | 0,00 | |
testCreateThreeNeighbourDispatchedTilesOwnedBySamePlayer | 0,00 | |
testCaptureAdjacentTileFromLoneTileCreatesCapital | 0,00 | |
testCaptureAdjacentTileFromTerritoryMergesTerritories | 0,00 | |
testTransferTileFromThreeTilesTerritoryKeepsCapital | 0,00 | |
testTransferTileFromTwoTilesTerritoryDestroysCapital | 0,00 | |
testTransferTileFromThreeTilesTerritorySplitsItAndDestroysCapital | 0,00 | |
testTransferMiddleTileFromFiveTilesTerritorySplitsIt | 0,00 | |
testTransferMiddleTileFromFourTilesTerritorySplitsInThreeTerritories | 0,00 | |
testStackOverflowError | 0,00 |
testCreatedMoneyIsEmpty | 0,02 | |
testPaymentIncreasesMoney | 0,00 | |
testMoneyTransferedToSavingsUponPayment | 0,00 |
testDoesNotIterateIfTileNotInCollection | 0,02 | |
testDoesNotIterateIfTileAloneInCollection | 0,00 | |
testTwoTilesNotNeighboursAreInTwoDistinctSubTerritories | 0,02 | |
testTwoNeighbourTilesAreInSameSubTerritory | 0,00 |
testTerritoryWithOneTileHasNoCapital | 0,03 | |
testTerritoryWithOneTileOwner | 0,00 | |
testAddNullTileIsNoOp | 0,00 | |
testAddTileToItsOwnTerritoryIsNoOp | 0,00 | |
testAddTileChangesItsTerritory | 0,02 | |
testAddTwoTilesToTerritoryCreatesCapital | 0,00 | |
testTransferTileNotInTerritoryIsNoOp | 0,00 | |
testTransferNullTileToAnotherTerritoryIsNoOp | 0,00 | |
testTransferTileToNullTerritoryIsNoOp | 0,00 | |
testTransferTileToItsTerritoryResetsTerritory | 0,00 | |
testTransferTileToAnotherTerritoryAddsIt | 0,00 | |
testMergeToNullTerritoryIsNoOp | 0,00 | |
testMergeTerritoryWithItselfIsNoOp | 0,00 | |
testMergeTwoTerritoriesBelongingToDifferentPlayersIsNoOp | 0,00 | |
testMergeTerritoriesAddsTilesToOtherTerritoryAndTransfersMoney | 0,00 | |
testTransferFirstTileFromTwoTilesTerritoryDestroysCapital | 0,00 | |
testTransferSecondTileFromTwoTilesTerritoryDestroysCapital | 0,00 | |
testTransferCapitalFromThreeTilesTerritoryReallocatesCapital | 0,00 | |
testRemoveMiddleTileFromThreeTilesTerritorySplitsInTwoTerritories | 0,00 | |
testEmptyTerritoryHasNoIncome | 0,00 | |
testTerritoryWithoutCapitalHasNoIncome | 0,02 | |
testTwoTilesTerritoryHasAnIncomeOfTwo | 0,00 |
testCreateTileAddsItToTerritoryAndFlushes | 0,03 | |
testLoneTileHasItsTerritory | 0,00 | |
testSetSameTerritoryIsNoOp | 0,00 | |
testSetNullTerritoryIsNoOp | 0,00 | |
testSetAnotherTerritoryTransfersTileAndUpdatesItsTerritory | 0,00 | |
testCaptureNullTileIsNoOp | 0,00 | |
testCaptureSameTileIsNoOp | 0,00 | |
testCaptureAnotherTileOfSameTerritoryIsNoOp | 0,02 | |
testCaptureAnotherTileWithNullTerritoryIsNoOp | 0,00 | |
testCaptureAnotherTileChangesItsTerritory | 0,00 |