Package com.dkfqs.selenium.mainrunner
Class JUnitConfigExecutionClass
- java.lang.Object
-
- com.dkfqs.selenium.mainrunner.JUnitConfigExecutionClass
-
public class JUnitConfigExecutionClass extends java.lang.ObjectThe definition of a class which executes a list of JUnit @Test methods.
-
-
Constructor Summary
Constructors Constructor Description JUnitConfigExecutionClass(com.dkfqs.tools.json.eclipsesource.JsonObject o)Create a new instance from a JSON object.JUnitConfigExecutionClass(java.lang.String executingClassName, java.util.ArrayList<java.lang.String> testMethodNamesList)Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetExecutingClass()Transient: get the executing class.java.lang.StringgetExecutingClassName()Get the full class name.java.util.List<java.lang.String>getTestMethodNamesList()Get the list of @Test method names.voidsetExecutingClass(java.lang.Class executingClass)Transient: set the executing class.com.dkfqs.tools.json.eclipsesource.JsonObjecttoJsonObject()Get a JSON object of this instance.
-
-
-
Constructor Detail
-
JUnitConfigExecutionClass
public JUnitConfigExecutionClass(java.lang.String executingClassName, java.util.ArrayList<java.lang.String> testMethodNamesList)Create a new instance.- Parameters:
executingClassName- the full class name, package delimiter = '.'testMethodNamesList- the list of @Test method names
-
JUnitConfigExecutionClass
public JUnitConfigExecutionClass(com.dkfqs.tools.json.eclipsesource.JsonObject o)
Create a new instance from a JSON object.- Parameters:
o- the JSON object- See Also:
toJsonObject()
-
-
Method Detail
-
setExecutingClass
public void setExecutingClass(java.lang.Class executingClass)
Transient: set the executing class.- Parameters:
executingClass- the executing class
-
getExecutingClass
public java.lang.Class getExecutingClass()
Transient: get the executing class.- Returns:
- the executing class
-
getExecutingClassName
public java.lang.String getExecutingClassName()
Get the full class name.- Returns:
- the full class name
-
getTestMethodNamesList
public java.util.List<java.lang.String> getTestMethodNamesList()
Get the list of @Test method names.- Returns:
- the list of @Test method names
-
toJsonObject
public com.dkfqs.tools.json.eclipsesource.JsonObject toJsonObject()
Get a JSON object of this instance.- Returns:
- the JSON object of this instance
-
-