Summary
[
summary] [
package list] [
test cases]
Tests |
Errors |
Failures |
Success rate |
Time(s) |
10 |
0 |
6 |
40,00% |
1,25 |
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 |
pl.agh.iosr.ballamigos.server
|
7 |
0 |
3 |
57,14% |
1,15 |
pl.agh.iosr.ballamigos.server.communication.rmi
|
3 |
0 |
3 |
0,00% |
0,10 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
pl.agh.iosr.ballamigos.server
Class |
Tests |
Errors |
Failures |
Success Rate |
Time |
|
GameServerTest
|
5 |
0 |
3 |
40,00% |
1,118 |
|
RoomTest
|
2 |
0 |
0 |
100,00% |
0,031 |
pl.agh.iosr.ballamigos.server.communication.rmi
Class |
Tests |
Errors |
Failures |
Success Rate |
Time |
|
ServerImplTest
|
3 |
0 |
3 |
0,00% |
0,102 |
Test Cases
[
summary] [
package list] [
test cases]
GameServerTest
|
testGetInstance |
0,16 |
|
testAddPlayer |
0,11 |
can't add player with unique login
|
|
testMovePlayer |
0,01 |
Can't add player
|
|
testMoveUnloggedPlayer |
0,01 |
Unlogged user added to room
|
|
testCreateRoom |
0,00 |
RoomTest
|
testAddPlayer |
0,00 |
|
testRemovePlayer |
0,00 |
ServerImplTest
|
testLogin |
0,05 |
can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use
|
|
testLogout |
0,02 |
can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use
|
|
testSendMessage |
0,01 |
can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use
|
Failure details
|
testAddPlayer
|
can't add player with unique login
|
junit.framework.AssertionFailedError: can't add player with unique login at pl.agh.iosr.ballamigos.server.GameServerTest.testAddPlayer(GameServerTest.java:80)
|
|
testMovePlayer
|
Can't add player
|
junit.framework.AssertionFailedError: Can't add player at pl.agh.iosr.ballamigos.server.GameServerTest.testMovePlayer(GameServerTest.java:111)
|
|
testMoveUnloggedPlayer
|
Unlogged user added to room
|
junit.framework.AssertionFailedError: Unlogged user added to room at pl.agh.iosr.ballamigos.server.GameServerTest.testMoveUnloggedPlayer(GameServerTest.java:146)
|
|
testLogin
|
can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use
|
junit.framework.AssertionFailedError: can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use at pl.agh.iosr.ballamigos.server.communication.rmi.ServerImplTest.setUp(ServerImplTest.java:46)
|
|
testLogout
|
can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use
|
junit.framework.AssertionFailedError: can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use at pl.agh.iosr.ballamigos.server.communication.rmi.ServerImplTest.setUp(ServerImplTest.java:46)
|
|
testSendMessage
|
can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use
|
junit.framework.AssertionFailedError: can't create server object Port already in use: 1988; nested exception is: java.net.BindException: Address already in use at pl.agh.iosr.ballamigos.server.communication.rmi.ServerImplTest.setUp(ServerImplTest.java:46)
|