A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

after(Handler<TestContext>) - Method in TestSuite
Set a callback executed after the tests.
afterEach(Handler<TestContext>) - Method in TestSuite
Set a callback executed after each test and before the suite after callback.
assertEquals(Object, Object, String) - Method in TestContext
Assert the expected argument is equals to the actual argument.
assertFalse(boolean, String) - Method in TestContext
Assert the specified condition is false.
assertInRange(double, double, double, String) - Method in TestContext
Asserts that the expected double argument is equals to the actual double argument within a positive delta.
assertNotEquals(Object, Object, String) - Method in TestContext
Assert the first argument is not equals to the second argument.
assertNotNull(Object, String) - Method in TestContext
Assert the expected argument is not null.
assertNull(Object, String) - Method in TestContext
Assert the expected argument is null.
assertTrue(boolean, String) - Method in TestContext
Assert the specified condition is true.
Async - Class in io.vertx.groovy.ext.unit
An asynchronous exit point for a test.
Async(Object) - Constructor in Async
async() - Method in TestContext
Create and returns a new async object, the returned async controls the completion of the test.
await(long) - Method in Completion
Cause the current thread to wait until this completion completes with a configurable timeout.
awaitSuccess(long) - Method in Completion
Cause the current thread to wait until this completion completes and succeeds with a configurable timeout.

B

before(Handler<TestContext>) - Method in TestSuite
Set a callback executed before the tests.
beforeEach(Handler<TestContext>) - Method in TestSuite
Set a callback executed before each test and after the suite before callback.
beginTime() - Method in TestResult
The time at which the test began in millis.

C

complete() - Method in Async
Signals the asynchronous operation is done, this method should be called only once, if the method is called another time it will throw an IllegalStateException to signal the error.
Completion - Class in io.vertx.groovy.ext.unit
A completion object that emits completion notifications either succeeded or failed.
Completion(Object) - Constructor in Completion
create(Vertx, Handler<TestSuiteReport>) - Method in EventBusCollector
create(String, Handler<TestContext>) - Method in TestCase
Create a test case.
create(String) - Method in TestSuite
Create and return a new test suite.
createRunnerForTestWithParameters(TestWithParameters) - Method in VertxUnitRunnerWithParametersFactory

D

doInvokeTestMethod(FrameworkMethod, Object, TestContext) - Method in VertxUnitRunner
doValidateTestMethod(FrameworkMethod) - Method in VertxUnitRunner
durationTime() - Method in TestResult
How long the test lasted in millis.

E

endHandler(Handler<TestResult>) - Method in TestCaseReport
Set a callback for completion, the specified handler is invoked when the test exec has completed.
endHandler(Handler<Void>) - Method in TestSuiteReport
EventBusCollector - Class in io.vertx.groovy.ext.unit.collect
The event bus collector listen to events on the Vert.x event bus and translate them into reports.
EventBusCollector(Object) - Constructor in EventBusCollector
exceptionHandler(Handler<Throwable>) - Method in TestSuiteReport
Set an exception handler, the exception handler reports the test suite errors, it can be called mulitple times before the test ends.

F

fail(Throwable) - Method in TestContext
Throw a failure with the specified failure cause.
failed() - Method in TestResult
Did it fail?
Failure - Class in io.vertx.groovy.ext.unit.report
A failure provides the details of a failure that happened during the execution of a test case.
Failure(Object) - Constructor in Failure
failure() - Method in TestResult
An exception describing failure, null if the test succeeded.

G

get(String) - Method in TestContext
Get some data from the context.
getDelegate() - Method in Async
getDelegate() - Method in Completion
getDelegate() - Method in EventBusCollector
getDelegate() - Method in Failure
getDelegate() - Method in TestCase
getDelegate() - Method in TestCaseReport
getDelegate() - Method in TestCompletion
getDelegate() - Method in TestContext
getDelegate() - Method in TestResult
getDelegate() - Method in TestSuite
getDelegate() - Method in TestSuiteReport

H

handler(Handler<AsyncResult<T>>) - Method in Completion
Completion handler to receive a completion signal when this completions completes.
handler(Handler<TestCaseReport>) - Method in TestSuiteReport

I

isCompleted() - Method in Completion
@return
Returns:
true if this completion is completed
isError() - Method in Failure
@return
Returns:
true if the failure is an error failure otherwise it is an assertion failure
isFailed() - Method in Completion
@return
Returns:
true if the this completion is completed and failed
isSucceeded() - Method in Completion
@return
Returns:
true if the this completion is completed succeeded

J

K

L

M

message() - Method in Failure
@return
Returns:
the error message

N

name() - Method in TestCaseReport
@return
Returns:
the test case name
name() - Method in TestResult
The test description, may be null if none was provided.
name() - Method in TestSuiteReport
@return
Returns:
the test suite name

O

P

pause() - Method in TestSuiteReport
put(String, Object) - Method in TestContext
Put some data in the context.

Q

R

register(String) - Method in EventBusCollector
Register the collector as a consumer of the event bus with the specified address.
remove(String) - Method in TestContext
Remove some data from the context.
resolve(Future<T>) - Method in Completion
Completes the future upon completion, otherwise fails it.
resume() - Method in TestSuiteReport
run(Vertx, Map<String, Object>) - Method in TestSuite
Run the testsuite with the specified options and the specified vertx instance.

S

stackTrace() - Method in Failure
@return
Returns:
the stack trace
succeeded() - Method in TestResult
Did it succeed?

T

test(String, Handler<TestContext>) - Method in TestSuite
Add a new test case to the suite.
TestCase - Class in io.vertx.groovy.ext.unit
A test case object can be used to create a single test.
TestCase(Object) - Constructor in TestCase
TestCaseReport - Class in io.vertx.groovy.ext.unit.report
Report the execution of a test case.
TestCaseReport(Object) - Constructor in TestCaseReport
TestCompletion - Class in io.vertx.groovy.ext.unit
This object provides callback-ability for the end of a test suite, the completion succeeds when all tests pass otherwise it fails.
TestCompletion(Object) - Constructor in TestCompletion
TestContext - Class in io.vertx.groovy.ext.unit
The test context is used for performing test assertions and manage the completion of the test.
TestContext(Object) - Constructor in TestContext
TestResult - Class in io.vertx.groovy.ext.unit.report
The result of a test.
TestResult(Object) - Constructor in TestResult
TestSuite - Class in io.vertx.groovy.ext.unit
A named suite of test cases that are executed altogether.
TestSuite(Object) - Constructor in TestSuite
TestSuiteReport - Class in io.vertx.groovy.ext.unit.report
The test suite reports is basically a stream of events reporting the test suite execution.
TestSuiteReport(Object) - Constructor in TestSuiteReport

U

V

VertxUnitRunner - Class in io.vertx.groovy.ext.unit.junit
A JUnit runner for Groovy JUnit tests.
VertxUnitRunner(Class<?>) - Constructor in VertxUnitRunner
VertxUnitRunnerWithParameters - Class in io.vertx.groovy.ext.unit.junit
@author Julien Viet
VertxUnitRunnerWithParameters(TestWithParameters) - Constructor in VertxUnitRunnerWithParameters
VertxUnitRunnerWithParametersFactory - Class in io.vertx.groovy.ext.unit.junit
A org.junit.runners.parameterized.ParametersRunnerFactory for a VertxUnitRunner for enabling Vert.x Unit parameterized tests in Groovy.

W

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _