Package com.dkfqs.selenium.mainrunner
Class JUnitConfigExecution
- java.lang.Object
-
- com.dkfqs.selenium.mainrunner.JUnitConfigExecution
-
public class JUnitConfigExecution extends java.lang.ObjectThe definition for the JUnit execution classes for (real load) test.- See Also:
JUnit4MainRunner
-
-
Constructor Summary
Constructors Constructor Description JUnitConfigExecution()Create a new, empty instance.JUnitConfigExecution(com.dkfqs.tools.json.eclipsesource.JsonObject o)Create a new instance from a JSON object.JUnitConfigExecution(java.io.File f)Create a new instance from a file which contains the JSON object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddJUnitConfigExecutionClass(JUnitConfigExecutionClass jUnitConfigExecutionClass)Add the definition of a class which executes a list of JUnit @Test methods.java.util.List<JUnitConfigExecutionClass>getjUnitConfigExecutionClassList()Get a list of all definition of a class which executes a list of JUnit @Test methods.com.dkfqs.tools.json.eclipsesource.JsonObjecttoJsonObject()Get a JSON object of this instance.voidwriteToFile(java.io.File f)Write the data of this instance to a file.
-
-
-
Constructor Detail
-
JUnitConfigExecution
public JUnitConfigExecution()
Create a new, empty instance.
-
JUnitConfigExecution
public JUnitConfigExecution(com.dkfqs.tools.json.eclipsesource.JsonObject o)
Create a new instance from a JSON object.- Parameters:
o- the JSON object- See Also:
toJsonObject()
-
JUnitConfigExecution
public JUnitConfigExecution(java.io.File f) throws java.io.IOExceptionCreate a new instance from a file which contains the JSON object.- Parameters:
f- the file which contains the JSON object- Throws:
java.io.IOException- if somewhat fails- See Also:
writeToFile(File)
-
-
Method Detail
-
addJUnitConfigExecutionClass
public void addJUnitConfigExecutionClass(JUnitConfigExecutionClass jUnitConfigExecutionClass)
Add the definition of a class which executes a list of JUnit @Test methods.- Parameters:
jUnitConfigExecutionClass- the definition of a class which executes a list of JUnit @Test methods
-
getjUnitConfigExecutionClassList
public java.util.List<JUnitConfigExecutionClass> getjUnitConfigExecutionClassList()
Get a list of all definition of a class which executes a list of JUnit @Test methods.- Returns:
- a list of all definition of a class which executes a list of JUnit @Test methods
-
toJsonObject
public com.dkfqs.tools.json.eclipsesource.JsonObject toJsonObject()
Get a JSON object of this instance.- Returns:
- the JSON object of this instance
-
writeToFile
public void writeToFile(java.io.File f) throws java.io.IOExceptionWrite the data of this instance to a file.- Parameters:
f- the file- Throws:
java.io.IOException- if somewhat fails
-
-