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()
ISimpleTest
getTestName
in interface ISimpleTest
public void setTestName(String testName)
ISimpleTest
setTestName
in interface ISimpleTest
public String getTestId()
ISimpleTest
getTestId
in interface ISimpleTest
public void setTestId(String testId)
ISimpleTest
setTestId
in interface ISimpleTest
public boolean isEnabled()
ISimpleTest
isEnabled
in interface ISimpleTest
public void setEnabled(boolean enabled)
ISimpleTest
setEnabled
in interface ISimpleTest
enabled
- boolean value true or falsepublic List<String> getExtraArguments()
ISimpleTest
getExtraArguments
in interface ISimpleTest
public void setExtraArguments(List<String> arguments)
ISimpleTest
setExtraArguments
in interface ISimpleTest
arguments
- Listpublic String getTestFilePath()
ISimpleTest
getTestFilePath
in interface ISimpleTest
public void setTestFilePath(String testFilePath)
ISimpleTest
setTestFilePath
in interface ISimpleTest
Copyright © 2014. All rights reserved.