-
- All Superinterfaces:
ReadStream<TestCaseReport>,StreamBase
public interface TestSuiteReport extends ReadStream<TestCaseReport>
The test suite reports is basically a stream of events reporting the test suite execution.- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestSuiteReportendHandler(Handler<Void> endHandler)TestSuiteReportexceptionHandler(Handler<Throwable> handler)Set an exception handler, the exception handler reports the test suite errors, it can be called mulitple times before the test ends.TestSuiteReporthandler(Handler<TestCaseReport> handler)Stringname()TestSuiteReportpause()TestSuiteReportresume()-
Methods inherited from interface io.vertx.core.streams.ReadStream
blockingStream, collect, fetch, pipe, pipeTo
-
-
-
-
Method Detail
-
name
String name()
- Returns:
- the test suite name
-
exceptionHandler
TestSuiteReport exceptionHandler(Handler<Throwable> handler)
Set an exception handler, the exception handler reports the test suite errors, it can be called mulitple times before the test ends.- Specified by:
exceptionHandlerin interfaceReadStream<TestCaseReport>- Specified by:
exceptionHandlerin interfaceStreamBase- Parameters:
handler- the exception handler- Returns:
- a reference to this, so the API can be used fluently
-
handler
TestSuiteReport handler(Handler<TestCaseReport> handler)
- Specified by:
handlerin interfaceReadStream<TestCaseReport>
-
pause
TestSuiteReport pause()
- Specified by:
pausein interfaceReadStream<TestCaseReport>
-
resume
TestSuiteReport resume()
- Specified by:
resumein interfaceReadStream<TestCaseReport>
-
endHandler
TestSuiteReport endHandler(Handler<Void> endHandler)
- Specified by:
endHandlerin interfaceReadStream<TestCaseReport>
-
-