$darkmode
DENOPTIM
|
Unit test for descriptor SocketProvidedDescriptor. More...
Classes | |
class | MySocketServer |
class | RequestHandler |
Public Member Functions | |
void | setUpSertver () throws Exception |
void | ClossServer () throws Exception |
void | testSocketProvidedDescriptor () throws Exception |
Private Member Functions | |
boolean | closeEnough (double expected, double actual) |
Private Attributes | |
SocketProvidedDescriptor | descriptor |
MySocketServer | server |
Gson | jsonConverted |
Static Private Attributes | |
static final String | HOSTNAME = "localhost" |
Unit test for descriptor SocketProvidedDescriptor.
Definition at line 51 of file SocketProvidedDescriptorTest.java.
|
private |
Definition at line 282 of file SocketProvidedDescriptorTest.java.
Referenced by denoptim.fitness.descriptors.SocketProvidedDescriptorTest.testSocketProvidedDescriptor().
void denoptim.fitness.descriptors.SocketProvidedDescriptorTest.ClossServer | ( | ) | throws Exception |
Definition at line 81 of file SocketProvidedDescriptorTest.java.
References denoptim.fitness.descriptors.SocketProvidedDescriptorTest.server, and denoptim.fitness.descriptors.SocketProvidedDescriptorTest.MySocketServer.stopServer().
void denoptim.fitness.descriptors.SocketProvidedDescriptorTest.setUpSertver | ( | ) | throws Exception |
Definition at line 63 of file SocketProvidedDescriptorTest.java.
References denoptim.fitness.descriptors.SocketProvidedDescriptorTest.MySocketServer.getPort(), denoptim.fitness.descriptors.SocketProvidedDescriptorTest.HOSTNAME, denoptim.fitness.descriptors.SocketProvidedDescriptorTest.jsonConverted, denoptim.fitness.descriptors.SocketProvidedDescriptorTest.server, denoptim.fitness.descriptors.SocketProvidedDescriptor.setParameters(), and denoptim.fitness.descriptors.SocketProvidedDescriptorTest.MySocketServer.startServer().
void denoptim.fitness.descriptors.SocketProvidedDescriptorTest.testSocketProvidedDescriptor | ( | ) | throws Exception |
Definition at line 243 of file SocketProvidedDescriptorTest.java.
References denoptim.fitness.descriptors.SocketProvidedDescriptor.calculate(), denoptim.fitness.descriptors.SocketProvidedDescriptorTest.closeEnough(), and denoptim.fitness.descriptors.SocketProvidedDescriptorTest.descriptor.
|
private |
Definition at line 53 of file SocketProvidedDescriptorTest.java.
Referenced by denoptim.fitness.descriptors.SocketProvidedDescriptorTest.testSocketProvidedDescriptor().
|
staticprivate |
Definition at line 57 of file SocketProvidedDescriptorTest.java.
Referenced by denoptim.fitness.descriptors.SocketProvidedDescriptorTest.setUpSertver().
|
private |
Definition at line 55 of file SocketProvidedDescriptorTest.java.
Referenced by denoptim.fitness.descriptors.SocketProvidedDescriptorTest.RequestHandler.run(), and denoptim.fitness.descriptors.SocketProvidedDescriptorTest.setUpSertver().
|
private |
Definition at line 54 of file SocketProvidedDescriptorTest.java.
Referenced by denoptim.fitness.descriptors.SocketProvidedDescriptorTest.ClossServer(), and denoptim.fitness.descriptors.SocketProvidedDescriptorTest.setUpSertver().