public class SimpleTest extends Object implements ISimpleTest
| Constructor and Description |
|---|
SimpleTest(String testName,
String testId,
boolean enabled,
String testFilePath,
List<String> arguments) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getExtraArguments()
Returns any extra arguments that is provided in the suite file for the specified test as List
These arguments are mainly related the path of suite file, sheetname(in case of excel), delimiters (in case of csv), separators(in case of csv).
|
String |
getTestFilePath()
Gets the test file path for the test
|
String |
getTestId()
Gets the test-id mentioned in the suite file for the specified the test
|
String |
getTestName()
Get the test name that is set i the suite file
|
boolean |
isEnabled()
Return true or false based on the condition whether the test is enabled for execution or not.
|
void |
setEnabled(boolean enabled)
Sets the test to enabled or disabled state.
|
void |
setExtraArguments(List<String> arguments)
Sets any extra argument that may be required for the said test.
|
void |
setTestFilePath(String testFilePath)
Sets the file path of the said test.
|
void |
setTestId(String testId)
Sets the test-id mentioned in the suite file for the specified the test
|
void |
setTestName(String testName)
Set the test name for the said test
|
String |
toString() |
public String getTestName()
ISimpleTestgetTestName in interface ISimpleTestpublic void setTestName(String testName)
ISimpleTestsetTestName in interface ISimpleTestpublic String getTestId()
ISimpleTestgetTestId in interface ISimpleTestpublic void setTestId(String testId)
ISimpleTestsetTestId in interface ISimpleTestpublic boolean isEnabled()
ISimpleTestisEnabled in interface ISimpleTestpublic void setEnabled(boolean enabled)
ISimpleTestsetEnabled in interface ISimpleTestenabled - boolean value true or falsepublic List<String> getExtraArguments()
ISimpleTestgetExtraArguments in interface ISimpleTestpublic void setExtraArguments(List<String> arguments)
ISimpleTestsetExtraArguments in interface ISimpleTestarguments - Listpublic String getTestFilePath()
ISimpleTestgetTestFilePath in interface ISimpleTestpublic void setTestFilePath(String testFilePath)
ISimpleTestsetTestFilePath in interface ISimpleTestCopyright © 2014. All rights reserved.