Package | Description |
---|---|
io.vertx.reactivex.ext.unit |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<TestContext> |
TestContext.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
TestContext |
TestContext.assertEquals(Object expected,
Object actual)
Assert the
expected argument is equals to the actual argument. |
TestContext |
TestContext.assertEquals(Object expected,
Object actual,
String message)
Assert the
expected argument is equals to the actual argument. |
TestContext |
TestContext.assertFalse(boolean condition)
Assert the specified
condition is false . |
TestContext |
TestContext.assertFalse(boolean condition,
String message)
Assert the specified
condition is false . |
TestContext |
TestContext.assertInRange(double expected,
double actual,
double delta)
Asserts that the
expected double argument is equals to the actual double argument
within a positive delta. |
TestContext |
TestContext.assertInRange(double expected,
double actual,
double delta,
String message)
Asserts that the
expected double argument is equals to the actual double argument
within a positive delta. |
TestContext |
TestContext.assertNotEquals(Object first,
Object second)
Assert the
first argument is not equals to the second argument. |
TestContext |
TestContext.assertNotEquals(Object first,
Object second,
String message)
Assert the
first argument is not equals to the second argument. |
TestContext |
TestContext.assertNotNull(Object expected)
Assert the
expected argument is not null . |
TestContext |
TestContext.assertNotNull(Object expected,
String message)
Assert the
expected argument is not null . |
TestContext |
TestContext.assertNull(Object expected)
Assert the
expected argument is null . |
TestContext |
TestContext.assertNull(Object expected,
String message)
Assert the
expected argument is null . |
TestContext |
TestContext.assertTrue(boolean condition)
Assert the specified
condition is true . |
TestContext |
TestContext.assertTrue(boolean condition,
String message)
Assert the specified
condition is true . |
static TestContext |
TestContext.newInstance(TestContext arg) |
TestContext |
TestContext.verify(Handler<Void> block)
Execute the provided handler, which may contain assertions, possibly from any third-party assertion framework.
|
Modifier and Type | Method and Description |
---|---|
TestSuite |
TestSuite.after(Handler<TestContext> callback)
Set a callback executed after the tests.
|
TestSuite |
TestSuite.afterEach(Handler<TestContext> callback)
Set a callback executed after each test and before the suite
after callback. |
TestSuite |
TestSuite.before(Handler<TestContext> callback)
Set a callback executed before the tests.
|
TestSuite |
TestSuite.beforeEach(Handler<TestContext> callback)
Set a callback executed before each test and after the suite
before callback. |
static TestCase |
TestCase.create(String name,
Handler<TestContext> testCase)
Create a test case.
|
TestSuite |
TestSuite.test(String name,
Handler<TestContext> testCase)
Add a new test case to the suite.
|
TestSuite |
TestSuite.test(String name,
int repeat,
Handler<TestContext> testCase)
Add a new test case to the suite.
|
Copyright © 2020 Eclipse. All rights reserved.