|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.easetech.easytest.util.TestInfo
public class TestInfo
TestInfo class encapsulates the information about a given test method that could be used by various parties to get
the runtime information about the given test method. This class is currently being used by the
RunAftersWithOutputData to find and call the right Loader to write the data for a given method.
| Constructor Summary | |
|---|---|
TestInfo(org.junit.runners.model.TestClass testClass)
Construct a new TestInfo |
|
| Method Summary | |
|---|---|
Loader |
getDataLoader()
Get associated Data Loader |
String[] |
getFilePaths()
Get filePaths |
String |
getMethodName()
Get method name |
org.junit.runners.model.TestClass |
getTestClass()
Get Test Class instance |
void |
setDataLoader(Loader dataLoader)
Set associated Data Loader |
void |
setFilePaths(String[] filePaths)
Set filePaths |
void |
setMethodName(String methodName)
Set method name |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestInfo(org.junit.runners.model.TestClass testClass)
testClass - an instance of TestClass| Method Detail |
|---|
public org.junit.runners.model.TestClass getTestClass()
public Loader getDataLoader()
public void setDataLoader(Loader dataLoader)
dataLoader - associated Data Loaderpublic String[] getFilePaths()
public void setFilePaths(String[] filePaths)
filePaths - filePathspublic String getMethodName()
public void setMethodName(String methodName)
methodName - method namepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||