Class SocketTesting
java.lang.Object
SocketTesting
@TestMethodOrder(org.junit.jupiter.api.MethodOrderer.OrderAnnotation.class)
public class SocketTesting
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
testAmount
protected final int testAmount- See Also:
- Constant Field Values
-
-
Constructor Details
-
SocketTesting
public SocketTesting()
-
-
Method Details
-
A_initServer_A
@Test @DisplayName("Initialize Server") @Order(0) public void A_initServer_A() throws IOException, GeneralSecurityException- Throws:
IOExceptionGeneralSecurityException
-
B_massConnection_B
@Test @DisplayName("Mass Connection Test") @Order(1) public void B_massConnection_B() throws GeneralSecurityException, IOException, InterruptedException -
C_messageTest_C
@Test @DisplayName("Mass Message Test") @Order(2) public void C_messageTest_C() -
E_hostname_E
@Test @DisplayName("Hostname") @Order(3) public void E_hostname_E() throws GeneralSecurityException, IOException- Throws:
GeneralSecurityExceptionIOException
-
F_kickTest_F
- Throws:
InterruptedException
-
G_banTest_G
- Throws:
InterruptedException
-
I_serverClose_I
- Throws:
IOException
-