RPCServerIT

public class RPCServerIT

Integration tests for the RPCServer.

Author:Kyle M. Douglass

Fields

rpcClient

RPCClient rpcClient

A RPCClient that will be used to test server communications.

rpcServer

RPCServer rpcServer

A RPCServer that will be used to test client/server communications.

Methods

setUp

public void setUp()

Sets up two different Microscopes for acquisition simulations.

tearDown

public void tearDown()

Closes the server communications.

Throws:

testCreateAndDeleteSimulation

public void testCreateAndDeleteSimulation()

Test of createSimulation and deleteSimulation methods, of class RemoteSimulationServiceHandler.

testGetControlSignal

public void testGetControlSignal()

Test of getControlSignal method, of class RemoteSimulationServiceHandler.

testGetFovSize

public void testGetFovSize()

Test of getFovSize method, of class RemoteSimulationServiceHandler.

testGetNextImageAndImageCount

public void testGetNextImageAndImageCount()

Test of getNextImage and getImageCount methods, of class RemoteSimulationServiceHandler.

testGetObjectSpacePixelSize

public void testGetObjectSpacePixelSize()

Test of getObjectSpacePixelSize method, of class RemoteSimulationServiceHandler.

testGetServerStatus

public void testGetServerStatus()

Test of getGetServerStatus method, of class RemoteSimulationServiceHandler.

testIncrementTimeStep

public void testIncrementTimeStep()

Test of incrementTimeStep method, of class RemoteSimulationServiceHandler.

testIsServing

public void testIsServing()

Test of isServing method, of class RPCServer.

testSetControlSignal

public void testSetControlSignal()

Test of setControlSignal method, of class RemoteSimulationServiceHandler.

testToJsonMessages

public void testToJsonMessages()

Test of toJsonMessages method, of class RemoteSimulationServiceHandler.

testToJsonStateCamera

public void testToJsonStateCamera()

Test of toJsonState and getCameraJsonName methods, of class RemoteSimulationServiceHandler.

testToJsonStateFluorescence

public void testToJsonStateFluorescence()

Test of toJsonState and getFluorescenceJsonName methods, of class RemoteSimulationServiceHandler.

testToJsonStateLaser

public void testToJsonStateLaser()

Test of toJsonState and getLaserJsonName methods, of class RemoteSimulationServiceHandler.

testToJsonStateObjective

public void testToJsonStateObjective()

Test of toJsonState and getObjectiveJsonName methods, of class RemoteSimulationServiceHandler.

testToJsonStateStage

public void testToJsonStateStage()

Test of toJsonState and getLaserJsonName methods, of class RemoteSimulationServiceHandler.

testTrueSignal

public void testTrueSignal()

Test of getShortTrueSignalDescription and getTrueSignal methods, of class RemoteSimulationServiceHandler.