vertx / io.vertx.reactivex.ext.unit

Package io.vertx.reactivex.ext.unit

Types

Async

open class Async : Completion<Void>

An asynchronous exit point for a test. NOTE: This class has been automatically generated from the io.vertx.ext.unit.Async non RX-ified interface using Vert.x codegen.

Completion

open class Completion<T : Any>

A completion object that emits completion notifications either succeeded or failed. NOTE: This class has been automatically generated from the io.vertx.ext.unit.Completion non RX-ified interface using Vert.x codegen.

TestCase

open class TestCase

A test case object can be used to create a single test. NOTE: This class has been automatically generated from the io.vertx.ext.unit.TestCase non RX-ified interface using Vert.x codegen.

TestCompletion

open class TestCompletion : Completion<Void>

This object provides callback-ability for the end of a test suite, the completion succeeds when all tests pass otherwise it fails. NOTE: This class has been automatically generated from the io.vertx.ext.unit.TestCompletion non RX-ified interface using Vert.x codegen.

TestContext

open class TestContext

The test context is used for performing test assertions and manage the completion of the test. This context is provided by vertx-unit as argument of the test case. NOTE: This class has been automatically generated from the io.vertx.ext.unit.TestContext non RX-ified interface using Vert.x codegen.

TestSuite

open class TestSuite

A named suite of test cases that are executed altogether. The suite suite is created with the io.vertx.reactivex.ext.unit.TestSuite#create and the returned suite contains initially no tests. The suite can declare a callback before the suite with io.vertx.reactivex.ext.unit.TestSuite#before or after the suite with io.vertx.reactivex.ext.unit.TestSuite#after. The suite can declare a callback before each test with io.vertx.reactivex.ext.unit.TestSuite#beforeEach or after each test with io.vertx.reactivex.ext.unit.TestSuite#afterEach. Each test case of the suite is declared by calling the io.vertx.reactivex.ext.unit.TestSuite#test method. NOTE: This class has been automatically generated from the io.vertx.ext.unit.TestSuite non RX-ified interface using Vert.x codegen.