Package | Description |
---|---|
io.vertx.ext.unit | |
io.vertx.ext.unit.junit | |
io.vertx.reactivex.ext.unit | |
io.vertx.rxjava.ext.unit | |
io.vertx.rxjava3.ext.unit |
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 . |
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
VertxUnitRunner.invokeTestMethod(org.junit.runners.model.FrameworkMethod fMethod,
Object test,
TestContext context) |
Modifier and Type | Method and Description |
---|---|
TestContext |
TestContext.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static TestContext |
TestContext.newInstance(TestContext arg) |
Constructor and Description |
---|
TestContext(TestContext delegate) |
Modifier and Type | Method and Description |
---|---|
TestContext |
TestContext.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static TestContext |
TestContext.newInstance(TestContext arg) |
Constructor and Description |
---|
TestContext(TestContext delegate) |
Modifier and Type | Method and Description |
---|---|
TestContext |
TestContext.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static TestContext |
TestContext.newInstance(TestContext arg) |
Constructor and Description |
---|
TestContext(TestContext delegate) |
Copyright © 2022 Eclipse. All rights reserved.