public class NoAccessGeppettoManagerTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ExpectedException |
exception |
private static IExperiment |
existingExperiment |
private static IGeppettoProject |
geppettoProject |
private static GeppettoManager |
manager |
private static java.util.ArrayList<UserPrivileges> |
privileges |
private static RuntimeProject |
runtimeProject |
Constructor and Description |
---|
NoAccessGeppettoManagerTest() |
Modifier and Type | Method and Description |
---|---|
static void |
doYourOneTimeTeardown() |
static void |
setUp() |
void |
test01SetUser()
Test method for
GeppettoManager.setUser(org.geppetto.core.data.model.IUser) . |
void |
test02LoadProjectNegative()
|
void |
test03LoadProject()
|
void |
test04RuntimeProject()
|
void |
test05LoadExperiment()
|
void |
test06CheckExperimentsStatus()
|
void |
test07SetModelParametersNegativeNoDesign()
|
void |
test08SetWatchedVariablesNegativeNoDesign()
Test method for
org.geppetto.simulation.manager.GeppettoManager#setWatchedVariables(java.util.List, org.geppetto.core.data.model.IExperiment, org.geppetto.core.data.model.IGeppettoProject) . |
void |
test09NewExperiment()
|
void |
test11SetModelParameters()
|
void |
test12SetModelParametersNegativeWrongParameter()
|
void |
test13SetWatchedVariables()
Test method for
org.geppetto.simulation.manager.GeppettoManager#setWatchedVariables(java.util.List, org.geppetto.core.data.model.IExperiment, org.geppetto.core.data.model.IGeppettoProject) . |
void |
test16RunExperiment()
|
void |
test22PlayExperiment()
Test method for
org.geppetto.simulation.manager.GeppettoManager#playExperiment(java.lang.String, org.geppetto.core.data.model.IExperiment) . |
void |
test23DownloadModel()
|
void |
test24DownloadResults()
|
void |
test25GetSupportedOuputs()
|
void |
test27DeleteExperiment()
|
void |
test29CloseProject()
|
void |
test30DeleteProject()
|
void |
testLinkDropBoxAccount()
Test method for
GeppettoManager.linkDropBoxAccount(java.lang.String) . |
void |
testUnlinkDropBoxAccount()
Test method for
GeppettoManager.unlinkDropBoxAccount(java.lang.String) . |
void |
testUploadModelToDropBox()
|
void |
testUploadResultsToDropBox()
|
public final ExpectedException exception
private static java.util.ArrayList<UserPrivileges> privileges
private static IExperiment existingExperiment
private static GeppettoManager manager
private static IGeppettoProject geppettoProject
private static RuntimeProject runtimeProject
public static void setUp() throws java.lang.Exception
java.lang.Exception
public void test01SetUser() throws GeppettoExecutionException
GeppettoManager.setUser(org.geppetto.core.data.model.IUser)
.GeppettoExecutionException
public void test02LoadProjectNegative() throws java.io.IOException, GeppettoInitializationException, GeppettoExecutionException, GeppettoAccessException
GeppettoManager.loadProject(java.lang.String, org.geppetto.core.data.model.IGeppettoProject)
.java.io.IOException
GeppettoExecutionException
GeppettoInitializationException
GeppettoAccessException
public void test03LoadProject() throws java.io.IOException, GeppettoInitializationException, GeppettoExecutionException, GeppettoAccessException
GeppettoManager.loadProject(java.lang.String, org.geppetto.core.data.model.IGeppettoProject)
.java.io.IOException
GeppettoExecutionException
GeppettoInitializationException
GeppettoAccessException
public void test04RuntimeProject() throws GeppettoExecutionException
GeppettoExecutionException
public void test05LoadExperiment() throws GeppettoExecutionException, GeppettoAccessException
public void test06CheckExperimentsStatus()
public void test07SetModelParametersNegativeNoDesign() throws GeppettoExecutionException, GeppettoAccessException
public void test08SetWatchedVariablesNegativeNoDesign() throws GeppettoExecutionException, GeppettoAccessException
org.geppetto.simulation.manager.GeppettoManager#setWatchedVariables(java.util.List, org.geppetto.core.data.model.IExperiment, org.geppetto.core.data.model.IGeppettoProject)
.public void test09NewExperiment() throws GeppettoExecutionException, GeppettoAccessException
public void test11SetModelParameters() throws GeppettoExecutionException, GeppettoAccessException
public void test12SetModelParametersNegativeWrongParameter() throws GeppettoExecutionException, GeppettoAccessException
public void test13SetWatchedVariables() throws GeppettoExecutionException, GeppettoAccessException
org.geppetto.simulation.manager.GeppettoManager#setWatchedVariables(java.util.List, org.geppetto.core.data.model.IExperiment, org.geppetto.core.data.model.IGeppettoProject)
.public void test16RunExperiment() throws GeppettoExecutionException, java.lang.InterruptedException, GeppettoAccessException
GeppettoManager.runExperiment(java.lang.String, org.geppetto.core.data.model.IExperiment)
.GeppettoExecutionException
java.lang.InterruptedException
GeppettoAccessException
public void test22PlayExperiment() throws GeppettoExecutionException, java.lang.NumberFormatException, java.io.IOException, GeppettoAccessException
org.geppetto.simulation.manager.GeppettoManager#playExperiment(java.lang.String, org.geppetto.core.data.model.IExperiment)
.GeppettoExecutionException
java.io.IOException
java.lang.NumberFormatException
GeppettoAccessException
public void testLinkDropBoxAccount() throws java.lang.Exception
GeppettoManager.linkDropBoxAccount(java.lang.String)
.java.lang.Exception
public void testUploadModelToDropBox() throws java.lang.Exception
java.lang.Exception
public void testUploadResultsToDropBox() throws GeppettoExecutionException, GeppettoAccessException
public void testUnlinkDropBoxAccount() throws java.lang.Exception
GeppettoManager.unlinkDropBoxAccount(java.lang.String)
.java.lang.Exception
public void test23DownloadModel() throws GeppettoExecutionException, GeppettoAccessException
public void test24DownloadResults() throws GeppettoExecutionException, java.io.IOException, GeppettoAccessException
GeppettoExecutionException
java.io.IOException
GeppettoAccessException
public void test25GetSupportedOuputs() throws GeppettoExecutionException, GeppettoAccessException
public void test27DeleteExperiment() throws GeppettoExecutionException, GeppettoAccessException
public void test29CloseProject() throws GeppettoExecutionException
GeppettoManager.closeProject(java.lang.String, org.geppetto.core.data.model.IGeppettoProject)
.GeppettoExecutionException
public void test30DeleteProject() throws GeppettoExecutionException, GeppettoAccessException
public static void doYourOneTimeTeardown()