Dependencies
- avalon-framework/avalon-framework/4.1.5 (available as org.apache.avalon.framework/avalon-framework-impl/4.3.1)
- com.fasterxml.jackson.core/jackson-annotations/2.11.3
- com.fasterxml.jackson.core/jackson-core/2.11.3
- com.fasterxml.jackson.core/jackson-databind/2.11.3
- com.github.jponge/lzma-java/1.3
- com.google.protobuf.nano/protobuf-javanano/3.0.0-alpha-5
- com.google.protobuf/protobuf-java/2.6.1
- com.jcraft/jzlib/1.1.3
- commons-logging/commons-logging/1.2
- com.ning/compress-lzf/1.0.3
- com.sun/tools/1.8
- io.netty/netty-buffer/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-codec/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-codec-dns/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-codec-haproxy/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-codec-http2/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-codec-http/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-codec-socks/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-common/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-handler/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-handler-proxy/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-resolver/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-resolver-dns/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-tcnative/2.0.30.Final
- io.netty/netty-transport/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-transport-native-epoll/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-transport-native-kqueue/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.netty/netty-transport-native-unix-common/4.1.49.Final (available as io.netty/netty-all/4.1.25.Final)
- io.projectreactor.tools/blockhound/1.0.3.RELEASE
- io.vertx/vertx-codegen/4.0.0
- io.vertx/vertx-core/4.0.0
- io.vertx/vertx-docgen/0.9.2
- java/11
- junit/junit/4.13.1
- log4j/log4j/1.2.17
- logkit/logkit/1.0.1
- net.jpountz.lz4/lz4/1.3.0
- org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.0
- org.apache.logging.log4j/log4j-api/2.6.2
- org.bouncycastle/bcpkix-jdk15on/1.65
- org.bouncycastle/bcprov-jdk15on/1.65
- org.conscrypt/conscrypt-openjdk-uber/1.3.0
- org.hamcrest/hamcrest-core/1.3
- org.jboss.marshalling/jboss-marshalling/1.4.11.Final
- org.slf4j/slf4j-api/1.7.21
Declarations
-
examples
-
Examples
- test_01(): void
- test_02(): void
- writing_test_suite_01(): void
- writing_test_suite_02(): void
- writing_test_suite_03(): void
- writing_test_suite_04(): void
- asserting_01(TestSuite, int): void
- asserting_02(TestSuite, int): void
- asserting_03(TestSuite, int): void
- asserting_04(TestSuite, int): void
- asserting_05(TestSuite, int): void
- asserting_06(TestSuite, int): void
- asserting_07(TestSuite, boolean, int): void
- asserting_08(TestSuite): void
- asserting_09(TestSuite, int): void
- async_01(TestSuite, EventBus): void
- async_02(TestSuite, Vertx): void
- async_03(TestSuite, Vertx, Handler<HttpServerRequest>): void
- async_04(TestContext, Vertx, Handler<HttpServerRequest>): void
- async_05(TestContext, Vertx, Handler<HttpServerRequest>): void
- asyncAssertSuccess_01(Vertx, TestContext): void
- asyncAssertSuccess_02(Vertx, TestContext): void
- asyncAssertSuccess_03(Vertx, TestContext): void
- asyncAssertFailure_01(Vertx, TestContext): void
- asyncAssertFailure_02(Vertx, TestContext): void
- repeating(Vertx): void
- sharing_01(Vertx, Helper): void
- running_01(TestSuite): void
- running_02(TestSuite, Vertx): void
- completion_01(TestSuite, Vertx): void
- completion_02(TestSuite, Promise<Void>): void
- completion_03(TestSuite): void
- completion_04(TestSuite): void
- running_05(TestSuite): void
- reporter_01(TestSuite): void
- reporter_02(Vertx): void
- vertxInteg1(Vertx, TestSuite): void
- vertxInteg2(Vertx, TestSuite): void
- vertxInteg3(Vertx, TestSuite): void
- Helper
- junit
-
Examples
-
io
-
vertx
-
ext
-
unit
- Async
- Completion
- TestCase
- TestCompletion
-
TestContext
- get(String): Object
- put(String, Object): Object
- remove(String): Object
- assertNull(Object): TestContext
- assertNull(Object, String): TestContext
- assertNotNull(Object): TestContext
- assertNotNull(Object, String): TestContext
- assertTrue(boolean): TestContext
- assertTrue(boolean, String): TestContext
- assertFalse(boolean): TestContext
- assertFalse(boolean, String): TestContext
- assertEquals(Object, Object): TestContext
- assertEquals(Object, Object, String): TestContext
- assertInRange(double, double, double): TestContext
- assertInRange(double, double, double, String): TestContext
- assertNotEquals(Object, Object): TestContext
- assertNotEquals(Object, Object, String): TestContext
- verify(Handler<Void>): TestContext
- fail(): void
- fail(String): void
- fail(Throwable): void
- async(): Async
- async(int): Async
- strictAsync(int): Async
- asyncAssertSuccess(): Handler<AsyncResult<Object>>
- asyncAssertSuccess(Handler<Object>): Handler<AsyncResult<Object>>
- asyncAssertFailure(): Handler<AsyncResult<Object>>
- asyncAssertFailure(Handler<Throwable>): Handler<AsyncResult<Object>>
- exceptionHandler(): Handler<Throwable>
-
TestOptions
- DEFAULT_TIMEOUT: long
- DEFAULT_USE_EVENT_LOOP: Boolean
- timeout: long
- useEventLoop: Boolean
- TestOptions(): void
- TestOptions(TestOptions): void
- TestOptions(JsonObject): void
- getTimeout(): long
- setTimeout(long): TestOptions
- isUseEventLoop(): Boolean
- setUseEventLoop(Boolean): TestOptions
- addReporter(ReportOptions): TestOptions
- setReporters(List<ReportOptions>): TestOptions
- toJson(): JsonObject
- TestOptionsConverter
-
TestSuite
- create(String): TestSuite
- create(Object): TestSuite
- before(Handler<TestContext>): TestSuite
- beforeEach(Handler<TestContext>): TestSuite
- after(Handler<TestContext>): TestSuite
- afterEach(Handler<TestContext>): TestSuite
- test(String, Handler<TestContext>): TestSuite
- test(String, int, Handler<TestContext>): TestSuite
- run(): TestCompletion
- run(TestOptions): TestCompletion
- run(Vertx): TestCompletion
- run(Vertx, TestOptions): TestCompletion
-
collect
-
EventBusCollector
- EVENT_TEST_SUITE_BEGIN: String
- EVENT_TEST_SUITE_END: String
- EVENT_TEST_SUITE_ERROR: String
- EVENT_TEST_CASE_BEGIN: String
- EVENT_TEST_CASE_END: String
- create(Vertx, ReportingOptions): EventBusCollector
- create(Vertx, Handler<TestSuiteReport>): EventBusCollector
- register(String): MessageConsumer
- asMessageHandler(): Handler<Message<JsonObject>>
-
impl
-
EventBusCollectorImpl
- vertx: Vertx
- reporter: Handler<TestSuiteReport>
- testCaseRunnerHandler: Handler<TestCaseReport>
- exceptionHandler: Handler<Throwable>
- endHandler: Handler<Void>
- runner: TestSuiteReport
- testCaseHandler: Handler<TestResult>
- EventBusCollectorImpl(Vertx, Handler<TestSuiteReport>): void
- handle(Message<JsonObject>): void
- register(String): MessageConsumer<JsonObject>
- asMessageHandler(): Handler<Message<JsonObject>>
-
EventBusCollectorImpl
-
EventBusCollector
-
impl
- AsyncImpl
- CompletionImpl
- ExecutionContext
- FailureImpl
- Helper
- Result
- Task
-
TestCaseImpl
- name: String
- repeat: int
- handler: Handler<TestContext>
- TestCaseImpl(String, int, Handler<TestContext>): void
- runner(): TestCaseReport
- name(): String
- awaitSuccess(): void
- awaitSuccess(long, TimeUnit): void
- awaitSuccess(Vertx, long, TimeUnit): void
- awaitSuccess(Vertx): void
- awaitSuccess(ExecutionContext, long, TimeUnit): void
-
TestCaseReportImpl
- before: Handler<TestContext>
- name: String
- timeout: long
- repeat: int
- attributes: Map<String, Object>
- test: Handler<TestContext>
- after: Handler<TestContext>
- unhandledFailureHandler: Handler<Throwable>
- completionHandler: Handler<TestResult>
- TestCaseReportImpl(String, long, int, Map<String, Object>, Handler<TestContext>, Handler<TestContext>, Handler<TestContext>, Handler<Throwable>): void
- buildTask(Task<Object>): Task<Object>
- runTask(Task<Result>): Task<Result>
- name(): String
- endHandler(Handler<TestResult>): TestCaseReport
- TestCommand
- TestCommandFactory
- TestCompletionImpl
-
TestContextImpl
- threadCount: AtomicInteger
- SUCCESS: Throwable
- attributes: Map<String, Object>
- unhandledFailureHandler: Handler<Throwable>
- completionLatch: CountDownLatch
- completionHandler: Handler<Throwable>
- asyncs: List<AsyncImpl>
- completionResult: Throwable
- running: boolean
- TestContextImpl(Map<String, Object>, Handler<Throwable>): void
- get(String): Object
- put(String, Object): Object
- remove(String): Object
- run(Throwable, long, Handler<TestContext>, Handler<Throwable>): void
- failed(Throwable): void
- tryFail(Throwable): boolean
- tryEnd(Throwable): boolean
- async(): Async
- async(int): Async
- strictAsync(int): Async
- async(int, boolean): Async
- assertNull(Object): TestContext
- assertNull(Object, String): TestContext
- assertNotNull(Object): TestContext
- assertNotNull(Object, String): TestContext
- assertTrue(boolean, String): TestContext
- assertTrue(boolean): TestContext
- assertFalse(boolean): TestContext
- assertFalse(boolean, String): TestContext
- fail(): void
- fail(String): void
- fail(Throwable): void
- exceptionHandler(): Handler<Throwable>
- assertEquals(Object, Object): TestContext
- assertEquals(Object, Object, String): TestContext
- assertInRange(double, double, double): TestContext
- assertInRange(double, double, double, String): TestContext
- assertNotEquals(Object, Object, String): TestContext
- verify(Handler<Void>): TestContext
- asyncAssertSuccess(): Handler<AsyncResult<Object>>
- asyncAssertSuccess(Handler<Object>): Handler<AsyncResult<Object>>
- asyncAssertFailure(): Handler<AsyncResult<Object>>
- asyncAssertFailure(Handler<Throwable>): Handler<AsyncResult<Object>>
- assertNotEquals(Object, Object): TestContext
- reportAssertionError(String): AssertionError
- formatMessage(String, String): String
-
TestContextTask
- testContext: TestContextImpl
- callback: Handler<TestContext>
- next: Function<Result, Task<Result>>
- timeout: long
- TestContextTask(TestContextImpl, Handler<TestContext>, Task<Result>, long): void
- TestContextTask(TestContextImpl, Handler<TestContext>, Function<Result, Task<Result>>, long): void
- execute(Result, ExecutionContext): void
- TestResultImpl
-
TestSuiteImpl
- defaultRunner: Handler<TestSuiteRunner>
- setDefaultRunner(Handler<TestSuiteRunner>): void
- name: String
- before: Handler<TestContext>
- beforeEach: Handler<TestContext>
- after: Handler<TestContext>
- afterEach: Handler<TestContext>
- testCases: List<TestCaseImpl>
- TestSuiteImpl(String): void
- TestSuiteImpl(Object): void
- testCases(): List<TestCaseImpl>
- before(Handler<TestContext>): TestSuite
- beforeEach(Handler<TestContext>): TestSuite
- after(Handler<TestContext>): TestSuite
- afterEach(Handler<TestContext>): TestSuite
- test(String, Handler<TestContext>): TestSuite
- test(String, int, Handler<TestContext>): TestSuite
- run(): TestCompletion
- run(Vertx): TestCompletion
- run(TestOptions): TestCompletion
- run(Vertx, TestOptions): TestCompletion
- runner(): TestSuiteRunner
-
TestSuiteReportImpl
- name: String
- timeout: long
- before: Handler<TestContext>
- after: Handler<TestContext>
- beforeEach: Handler<TestContext>
- afterEach: Handler<TestContext>
- tests: TestCaseImpl[]
- endHandler: Handler<Void>
- exceptionHandler: Handler<Throwable>
- handler: Handler<TestCaseReport>
- TestSuiteReportImpl(String, long, Handler<TestContext>, Handler<TestContext>, Handler<TestContext>, Handler<TestContext>, TestCaseImpl[]): void
- name(): String
- exceptionHandler(Handler<Throwable>): TestSuiteReport
- handler(Handler<TestCaseReport>): TestSuiteReport
- pause(): TestSuiteReport
- resume(): TestSuiteReport
- fetch(long): ReadStream<TestCaseReport>
- endHandler(Handler<Void>): TestSuiteReport
- buildTestCasesTasks(Map<String, Object>, TestCaseImpl[], int, Task<Result>): Task<Object>
- buildTask(): Task<Object>
- run(ExecutionContext): void
- run(Boolean): void
- run(Vertx, Boolean): void
-
TestSuiteRunner
- name: String
- before: Handler<TestContext>
- after: Handler<TestContext>
- beforeEach: Handler<TestContext>
- afterEach: Handler<TestContext>
- tests: List<TestCaseImpl>
- vertx: Vertx
- handler: Handler<TestSuiteReport>
- timeout: long
- useEventLoop: Boolean
- TestSuiteRunner(String, Handler<TestContext>, Handler<TestContext>, Handler<TestContext>, Handler<TestContext>, List<TestCaseImpl>): void
- getTests(): List<TestCaseImpl>
- isUseEventLoop(): Boolean
- setUseEventLoop(Boolean): TestSuiteRunner
- getVertx(): Vertx
- setVertx(Vertx): TestSuiteRunner
- getTimeout(): long
- setTimeout(long): TestSuiteRunner
- getReporter(): Handler<TestSuiteReport>
- setReporter(Handler<TestSuiteReport>): TestSuiteRunner
- run(): void
-
junit
- Repeat
- RepeatRule
-
RunTestOnContext
- vertx: Vertx
- createVertx: Supplier<Vertx>
- closeVertx: BiConsumer<Vertx, CountDownLatch>
- RunTestOnContext(): void
- RunTestOnContext(VertxOptions): void
- RunTestOnContext(Supplier<Vertx>, BiConsumer<Vertx, Consumer<Void>>): void
- RunTestOnContext(Supplier<Vertx>): void
- vertx(): Vertx
- apply(Statement, Description): Statement
- Timeout
-
VertxUnitRunner
- currentRunner: ThreadLocal<VertxUnitRunner>
- contextStack: LinkedList<Context>
- timeoutStack: LinkedList<Long>
- testClass: TestClass
- classAttributes: Map<String, Object>
- VertxUnitRunner(Class<Object>): void
- validatePublicVoidNoArgMethods(Class<Annotation>, boolean, List<Throwable>): void
- validateTestMethod(FrameworkMethod): void
- methodInvoker(FrameworkMethod, Object): Statement
- invokeTestMethod(FrameworkMethod, Object, TestContext): void
- getTimeout(FrameworkMethod): long
- invokeExplosively(TestContextImpl, FrameworkMethod, Object): void
- testContext: TestContextImpl
- methodBlock(FrameworkMethod): Statement
- withBefores(FrameworkMethod, Object, Statement): Statement
- withAfters(FrameworkMethod, Object, Statement): Statement
- withBeforeClasses(Statement): Statement
- withAfterClasses(Statement): Statement
- withPotentialTimeout(FrameworkMethod, Object, Statement): Statement
- withBefores(TestContextImpl, List<FrameworkMethod>, Object, Statement): Statement
- withAfters(TestContextImpl, List<FrameworkMethod>, Object, Statement): Statement
- pushContext(Context): void
- popContext(): void
- pushTimeout(long): void
- popTimeout(): void
-
VertxUnitRunnerWithParameters
- parameters: Object[]
- name: String
- VertxUnitRunnerWithParameters(TestWithParameters): void
- createTest(): Object
- createTestUsingConstructorInjection(): Object
- createTestUsingFieldInjection(): Object
- getName(): String
- testName(FrameworkMethod): String
- validateConstructor(List<Throwable>): void
- validateFields(List<Throwable>): void
- classBlock(RunNotifier): Statement
- getRunnerAnnotations(): Annotation[]
- getAnnotatedFieldsByParameter(): List<FrameworkField>
- fieldsAreAnnotated(): boolean
- VertxUnitRunnerWithParametersFactory
-
report
- Failure
- ReportOptions
- ReportOptionsConverter
- Reporter
- ReporterFactory
- ReportingOptions
- ReportingOptionsConverter
- TestCaseReport
- TestResult
- TestSuiteReport
-
impl
- DefaultReporterFactory
-
EventBusReporter
- EventBusReport
- vertx: Vertx
- address: String
- EventBusReporter(Vertx, String): void
- reportBeginTestSuite(String): EventBusReport
- reportBeginTestCase(EventBusReport, String): void
- reportEndTestCase(EventBusReport, String, TestResult): void
- reportError(EventBusReport, Throwable): void
- reportEndTestSuite(EventBusReport): void
-
JunitXmlFormatter
- XmlReport
- numberFormat: NumberFormat
- streamFactory: Function<String, ReportStream>
- JunitXmlFormatter(Function<String, ReportStream>): void
- reportBeginTestSuite(String): XmlReport
- reportBeginTestCase(XmlReport, String): void
- reportEndTestCase(XmlReport, String, TestResult): void
- reportError(XmlReport, Throwable): void
- reportEndTestSuite(XmlReport): void
- formatTimeMillis(long): String
- ReportStream
-
SimpleFormatter
- sep: String
- streamFactory: Function<String, ReportStream>
- SimpleFormatter(Function<String, ReportStream>): void
- ReportImpl
- reportBeginTestSuite(String): ReportImpl
- reportBeginTestCase(ReportImpl, String): void
- reportEndTestCase(ReportImpl, String, TestResult): void
- reportError(ReportImpl, Throwable): void
- reportEndTestSuite(ReportImpl): void
-
unit
-
ext
-
vertx