public class NetPyNENSGSimulatorServiceTest extends java.lang.Object implements ISimulatorCallbackListener
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
dirToExecute |
private static boolean |
done |
private static java.lang.String |
fileToExecute |
private static boolean |
localTest |
private static java.lang.String |
resultsDir |
private static NetPyNENSGSimulatorService |
simulator |
Constructor and Description |
---|
NetPyNENSGSimulatorServiceTest() |
Modifier and Type | Method and Description |
---|---|
static void |
doYourOneTimeTeardown() |
void |
endOfSteps(IAspectConfiguration aspectConfiguration,
java.util.Map<java.io.File,ResultsFormat> results) |
void |
externalProcessFailed(java.lang.String message,
java.lang.Exception e) |
static void |
setup() |
void |
testNetPyNEDeleteJobs()
Test method for
NetPyNESimulatorService . |
void |
testNetPyNEExecution()
Test method for
org.geppetto.simulator.external.services.NeetPyNESimulatorService . |
void |
testNetPyNEList()
Test method for
NetPyNESimulatorService . |
void |
testNetPyNEProcessDone()
Test method for
NetPyNESimulatorService . |
private static java.lang.String dirToExecute
private static java.lang.String fileToExecute
private static NetPyNENSGSimulatorService simulator
private static java.lang.String resultsDir
private static boolean done
private static boolean localTest
public static void setup() throws java.io.IOException
java.io.IOException
public void testNetPyNEExecution() throws java.lang.Exception
org.geppetto.simulator.external.services.NeetPyNESimulatorService
.java.lang.Exception
public void testNetPyNEList() throws GeppettoInitializationException, GeppettoExecutionException, CiCipresException, java.lang.InterruptedException
NetPyNESimulatorService
.GeppettoExecutionException
GeppettoInitializationException
CiCipresException
java.lang.InterruptedException
java.lang.Exception
public void testNetPyNEDeleteJobs() throws java.lang.Exception
NetPyNESimulatorService
.java.lang.Exception
public void testNetPyNEProcessDone() throws java.lang.Exception
NetPyNESimulatorService
.java.lang.Exception
public void endOfSteps(IAspectConfiguration aspectConfiguration, java.util.Map<java.io.File,ResultsFormat> results)
endOfSteps
in interface ISimulatorCallbackListener
results
- The file containing the results of the simulation in the Geppetto HDF5 recording formatpublic static void doYourOneTimeTeardown() throws java.io.IOException
java.io.IOException
public void externalProcessFailed(java.lang.String message, java.lang.Exception e)
externalProcessFailed
in interface ISimulatorCallbackListener