- addReporter(ReportOptions) - Method in class io.vertx.ext.unit.report.ReportingOptions
-
Add a reporter to the current list.
- addReporter(ReportOptions) - Method in class io.vertx.ext.unit.TestOptions
-
- after(Handler<TestContext>) - Method in interface io.vertx.ext.unit.TestSuite
-
Set a callback executed after the tests.
- afterEach(Handler<TestContext>) - Method in interface io.vertx.ext.unit.TestSuite
-
Set a callback executed after each test and before the suite after callback.
- apply(Statement, Description) - Method in class io.vertx.ext.unit.junit.RepeatRule
-
- apply(Statement, Description) - Method in class io.vertx.ext.unit.junit.RunTestOnContext
-
- apply(Statement, Description) - Method in class io.vertx.ext.unit.junit.Timeout
-
- asMessageHandler() - Method in interface io.vertx.ext.unit.collect.EventBusCollector
-
- assertEquals(Object, Object) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the expected argument is equals to the actual argument.
- assertEquals(Object, Object, String) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the expected argument is equals to the actual argument.
- assertFalse(boolean) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the specified condition is false.
- assertFalse(boolean, String) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the specified condition is false.
- assertInRange(double, double, double) - Method in interface io.vertx.ext.unit.TestContext
-
Asserts that the expected double argument is equals to the actual double argument
within a positive delta.
- assertInRange(double, double, double, String) - Method in interface io.vertx.ext.unit.TestContext
-
Asserts that the expected double argument is equals to the actual double argument
within a positive delta.
- assertNotEquals(Object, Object) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the first argument is not equals to the second argument.
- assertNotEquals(Object, Object, String) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the first argument is not equals to the second argument.
- assertNotNull(Object) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the expected argument is not null.
- assertNotNull(Object, String) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the expected argument is not null.
- assertNull(Object) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the expected argument is null.
- assertNull(Object, String) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the expected argument is null.
- assertTrue(boolean) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the specified condition is true.
- assertTrue(boolean, String) - Method in interface io.vertx.ext.unit.TestContext
-
Assert the specified condition is true.
- Async - Interface in io.vertx.ext.unit
-
An asynchronous exit point for a test.
- async() - Method in interface io.vertx.ext.unit.TestContext
-
Create and returns a new async object, the returned async controls the completion of the test.
- async(int) - Method in interface io.vertx.ext.unit.TestContext
-
Create and returns a new async object, the returned async controls the completion of the test.
- asyncAssertFailure() - Method in interface io.vertx.ext.unit.TestContext
-
Creates and returns a new async handler, the returned handler controls the completion of the test.
- asyncAssertFailure(Handler<Throwable>) - Method in interface io.vertx.ext.unit.TestContext
-
Creates and returns a new async handler, the returned handler controls the completion of the test.
- asyncAssertSuccess() - Method in interface io.vertx.ext.unit.TestContext
-
Creates and returns a new async handler, the returned handler controls the completion of the test.
- asyncAssertSuccess(Handler<T>) - Method in interface io.vertx.ext.unit.TestContext
-
Creates and returns a new async handler, the returned handler controls the completion of the test.
- await() - Method in interface io.vertx.ext.unit.Completion
-
Cause the current thread to wait until this completion completes.
- await(long) - Method in interface io.vertx.ext.unit.Completion
-
Cause the current thread to wait until this completion completes with a configurable timeout.
- awaitSuccess() - Method in interface io.vertx.ext.unit.Completion
-
Cause the current thread to wait until this completion completes and succeeds.
- awaitSuccess(long) - Method in interface io.vertx.ext.unit.Completion
-
Cause the current thread to wait until this completion completes and succeeds with a configurable timeout.
- awaitSuccess() - Method in interface io.vertx.ext.unit.TestCase
-
Assert the test case passes and block until it is executed.
- awaitSuccess(long, TimeUnit) - Method in interface io.vertx.ext.unit.TestCase
-
Assert the test case passes and block until it is executed.
- awaitSuccess(Vertx) - Method in interface io.vertx.ext.unit.TestCase
-
Assert the test case passes and block until it is executed.
- awaitSuccess(Vertx, long, TimeUnit) - Method in interface io.vertx.ext.unit.TestCase
-
Assert the test case passes and block until it is executed.
- endHandler(Handler<TestResult>) - Method in interface io.vertx.ext.unit.report.TestCaseReport
-
Set a callback for completion, the specified handler is invoked when the test exec has completed.
- endHandler(Handler<Void>) - Method in interface io.vertx.ext.unit.report.TestSuiteReport
-
- EVENT_TEST_CASE_BEGIN - Static variable in interface io.vertx.ext.unit.collect.EventBusCollector
-
Json type field value that signals a test case begins, used as part of the test reporting
protocol for the event bus.
- EVENT_TEST_CASE_END - Static variable in interface io.vertx.ext.unit.collect.EventBusCollector
-
Json type field value that signals a test case ends, used as part of the test reporting
protocol for the event bus.
- EVENT_TEST_SUITE_BEGIN - Static variable in interface io.vertx.ext.unit.collect.EventBusCollector
-
Json type field value that signals a test suite begins, used as part of the test reporting
protocol for the event bus.
- EVENT_TEST_SUITE_END - Static variable in interface io.vertx.ext.unit.collect.EventBusCollector
-
Json type field value that signals a test suite ends, used as part of the test reporting
protocol for the event bus.
- EVENT_TEST_SUITE_ERROR - Static variable in interface io.vertx.ext.unit.collect.EventBusCollector
-
Json type field value that reports a test suite error, used as part of the test reporting
protocol for the event bus.
- EventBusCollector - Interface in io.vertx.ext.unit.collect
-
The event bus collector listen to events on the Vert.x event bus and translate them
into reports.
- exceptionHandler(Handler<Throwable>) - Method in interface io.vertx.ext.unit.report.TestSuiteReport
-
Set an exception handler, the exception handler reports the test suite errors, it can be called mulitple
times before the test ends.
- exceptionHandler() - Method in interface io.vertx.ext.unit.TestContext
-
- register(String) - Method in interface io.vertx.ext.unit.collect.EventBusCollector
-
Register the collector as a consumer of the event bus with the specified address.
- remove(String) - Method in interface io.vertx.ext.unit.TestContext
-
Remove some data from the context.
- Repeat - Annotation Type in io.vertx.ext.unit.junit
-
Annotates a test method to repeat this test several times.
- RepeatRule - Class in io.vertx.ext.unit.junit
-
- RepeatRule() - Constructor for class io.vertx.ext.unit.junit.RepeatRule
-
- reportBeginTestCase(R, String) - Method in interface io.vertx.ext.unit.report.Reporter
-
Signals a test case began.
- reportBeginTestSuite(String) - Method in interface io.vertx.ext.unit.report.Reporter
-
Signals the test suite began.
- reportEndTestCase(R, String, TestResult) - Method in interface io.vertx.ext.unit.report.Reporter
-
Signals a test case ended.
- reportEndTestSuite(R) - Method in interface io.vertx.ext.unit.report.Reporter
-
Signals a test suite ended.
- Reporter<R> - Interface in io.vertx.ext.unit.report
-
The reporter defines a set of callback for the life cycle events.
- reporter(Vertx, ReportOptions) - Static method in interface io.vertx.ext.unit.report.Reporter
-
- reporter(Vertx, ReportOptions) - Method in interface io.vertx.ext.unit.report.ReporterFactory
-
- ReporterFactory - Interface in io.vertx.ext.unit.report
-
- reportError(R, Throwable) - Method in interface io.vertx.ext.unit.report.Reporter
-
- ReportingOptions - Class in io.vertx.ext.unit.report
-
Reporting options:
the reporters is an array of reporter configurations
- ReportingOptions() - Constructor for class io.vertx.ext.unit.report.ReportingOptions
-
Create a new empty options, with the default address out and no reporters.
- ReportingOptions(ReportingOptions) - Constructor for class io.vertx.ext.unit.report.ReportingOptions
-
Copy constructor.
- ReportingOptions(JsonObject) - Constructor for class io.vertx.ext.unit.report.ReportingOptions
-
Create a new options from the specified json.
- ReportingOptionsConverter - Class in io.vertx.ext.unit.report
-
- ReportingOptionsConverter() - Constructor for class io.vertx.ext.unit.report.ReportingOptionsConverter
-
- ReportOptions - Class in io.vertx.ext.unit.report
-
Configures a reporter consisting in a name to, an address at and an optional format.
- ReportOptions() - Constructor for class io.vertx.ext.unit.report.ReportOptions
-
- ReportOptions(ReportOptions) - Constructor for class io.vertx.ext.unit.report.ReportOptions
-
- ReportOptions(JsonObject) - Constructor for class io.vertx.ext.unit.report.ReportOptions
-
- ReportOptionsConverter - Class in io.vertx.ext.unit.report
-
- ReportOptionsConverter() - Constructor for class io.vertx.ext.unit.report.ReportOptionsConverter
-
- resolve(Promise<T>) - Method in interface io.vertx.ext.unit.Completion
-
Completes the future upon completion, otherwise fails it.
- resume() - Method in interface io.vertx.ext.unit.report.TestSuiteReport
-
- run() - Method in interface io.vertx.ext.unit.TestSuite
-
Run the testsuite with the default options.
- run(TestOptions) - Method in interface io.vertx.ext.unit.TestSuite
-
Run the testsuite with the specified options.
- run(Vertx) - Method in interface io.vertx.ext.unit.TestSuite
-
Run the testsuite with the default options and the specified vertx instance.
- run(Vertx, TestOptions) - Method in interface io.vertx.ext.unit.TestSuite
-
Run the testsuite with the specified options and the specified vertx instance.
- RunTestOnContext - Class in io.vertx.ext.unit.junit
-
A JUnit rule that runs tests on a Vert.x context.
- RunTestOnContext() - Constructor for class io.vertx.ext.unit.junit.RunTestOnContext
-
Create a new rule managing a Vertx instance created with default options.
- RunTestOnContext(VertxOptions) - Constructor for class io.vertx.ext.unit.junit.RunTestOnContext
-
Create a new rule managing a Vertx instance created with specified options.
- RunTestOnContext(Supplier<Vertx>) - Constructor for class io.vertx.ext.unit.junit.RunTestOnContext
-
Create a new rule with supplier for creating a Vert.x instance.
- RunTestOnContext(Supplier<Vertx>, BiConsumer<Vertx, Consumer<Void>>) - Constructor for class io.vertx.ext.unit.junit.RunTestOnContext
-
Create a new rule with supplier/consumer for creating/closing a Vert.x instance.
- RunTestOnContext(Future<Vertx>) - Constructor for class io.vertx.ext.unit.junit.RunTestOnContext
-
Create a new rule with an asynchronous supplier for creating a Vert.x instance.
- RunTestOnContext(Future<Vertx>, BiConsumer<Vertx, Consumer<Void>>) - Constructor for class io.vertx.ext.unit.junit.RunTestOnContext
-
Create a new rule with an asynchronous supplier and consumer for creating and closing a Vert.x instance.