java.lang.Object
Model.tests.HostModelTest
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPlayerTest(Socket socket, Socket socket2, HostModel hostModel, int hostServerPort) Method that tests the connection to the host model and creating the players with the lists of playersstatic voidchallengeTest(Socket socket, Socket socket2, HostModel hostModel, int hostServerPort) static voidstatic voidtakeTileFromBagTest(Socket socket, Socket socket2, HostModel hostModel, int hostServerPort) static voidtryPlaceWordTest(Socket socket, Socket socket2, HostModel hostModel, int hostServerPort)
-
Constructor Details
-
HostModelTest
public HostModelTest()
-
-
Method Details
-
addPlayerTest
public static void addPlayerTest(Socket socket, Socket socket2, HostModel hostModel, int hostServerPort) Method that tests the connection to the host model and creating the players with the lists of players- Parameters:
socket- - represent clientsocket2- - represent clienthostModel- - represent the host modelhostServerPort- - represent the port
-
takeTileFromBagTest
-
tryPlaceWordTest
-
challengeTest
-
main
-