Package org.simple4j.wsfeeler.model
Class TestCase
java.lang.Object
org.simple4j.wsfeeler.model.TestCase
- All Implemented Interfaces:
Callable<Boolean>,ReportGenerator
This class represents a test case in the test suite
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()booleanexecute()Entry point method to execute the test casevoidgenerateReport(int level) Generates report and prints out in the loggergetName()getProperty(String key) Get test case property for cross referenceResult of the test case executiontoString()
-
Constructor Details
-
TestCase
-
-
Method Details
-
getSuccess
Result of the test case execution- Returns:
- - true if successful
-
getName
-
execute
public boolean execute() throws IOException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, ClassNotFoundException, InterruptedException, ExecutionExceptionEntry point method to execute the test case -
call
-
getProperty
Get test case property for cross reference- Parameters:
key-- Returns:
-
toString
-
generateReport
public void generateReport(int level) Generates report and prints out in the logger- Specified by:
generateReportin interfaceReportGenerator- Parameters:
level-
-