Package dev.galasa.framework
Interface ITestRunManagers
- All Known Implementing Classes:
 TestRunManagers
public interface ITestRunManagers
- 
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddTestMethodResult(ITestMethodResult newTestMethodResult) This call is used to add to the list of executed method's results which is available to the managers.booleananyReasonTestMethodShouldBeIgnored(@NotNull GalasaMethod galasaMethod) endOfTestClass(@NotNull Result result, Throwable currentException) endOfTestMethod(@NotNull GalasaMethod galasaMethod, @NotNull Result currentResult, Throwable currentException) voidvoidfillAnnotatedFields(Object testClassObject) voidvoidvoidvoidvoiddefault voidsetResultSoFar(IResult newResult) The result has changed, it could change again.voidshutdown()voidvoidstartOfTestMethod(@NotNull GalasaMethod galasaMethod) voidtestClassResult(@NotNull Result finalResult, Throwable finalException) Tells the managers about the final end-result of the test. 
- 
Method Details
- 
anyReasonTestClassShouldBeIgnored
- Throws:
 FrameworkException
 - 
getActiveManagers
 - 
provisionGenerate
- Throws:
 FrameworkException
 - 
provisionBuild
- Throws:
 FrameworkException
 - 
testClassResult
Tells the managers about the final end-result of the test. All other methods on the test have been called that are going to be called. This method is called only once, after the @AfterClass methods. - 
endOfTestClass
Result endOfTestClass(@NotNull @NotNull Result result, Throwable currentException) throws FrameworkException - Throws:
 FrameworkException
 - 
endOfTestRun
void endOfTestRun() - 
provisionStart
- Throws:
 FrameworkException
 - 
shutdown
void shutdown() - 
startOfTestClass
- Throws:
 FrameworkException
 - 
provisionDiscard
void provisionDiscard() - 
provisionStop
void provisionStop() - 
anyReasonTestMethodShouldBeIgnored
Result anyReasonTestMethodShouldBeIgnored(@NotNull @NotNull GalasaMethod galasaMethod) throws FrameworkException - Throws:
 FrameworkException
 - 
fillAnnotatedFields
- Throws:
 FrameworkException
 - 
startOfTestMethod
- Throws:
 FrameworkException
 - 
endOfTestMethod
Result endOfTestMethod(@NotNull @NotNull GalasaMethod galasaMethod, @NotNull @NotNull Result currentResult, Throwable currentException) throws FrameworkException - Throws:
 FrameworkException
 - 
setResultSoFar
The result has changed, it could change again. It could be set the the same thing multiple times. This call is used to propogate the very latest overall test result state down to the managers, so they know the test state. This can be used by the @TestResultProvider annotation for example, to maintain a 'current test result' which tests themselves, and @AfterClass methods can use.- Since:
 - 0.41.0
 
 - 
addTestMethodResult
This call is used to add to the list of executed method's results which is available to the managers. This can be used by the @TestResultProvider annotation to retrieve each executed method's name, passed or failed state, and thrown exception if applicable, which tests themselves and @AfterClass methods can use.- Since:
 - 0.43.0
 
 
 -