Uses of Interface
io.vertx.ext.unit.TestContext
-
Packages that use TestContext Package Description io.vertx.ext.unit io.vertx.ext.unit.junit io.vertx.reactivex.ext.unit io.vertx.rxjava3.ext.unit -
-
Uses of TestContext in io.vertx.ext.unit
Methods in io.vertx.ext.unit that return TestContext Modifier and Type Method Description TestContext
TestContext. assertEquals(Object expected, Object actual)
Assert theexpected
argument is equals to theactual
argument.TestContext
TestContext. assertEquals(Object expected, Object actual, String message)
Assert theexpected
argument is equals to theactual
argument.TestContext
TestContext. assertFalse(boolean condition)
Assert the specifiedcondition
isfalse
.TestContext
TestContext. assertFalse(boolean condition, String message)
Assert the specifiedcondition
isfalse
.TestContext
TestContext. assertInRange(double expected, double actual, double delta)
Asserts that theexpected
double argument is equals to theactual
double argument within a positive delta.TestContext
TestContext. assertInRange(double expected, double actual, double delta, String message)
Asserts that theexpected
double argument is equals to theactual
double argument within a positive delta.TestContext
TestContext. assertNotEquals(Object first, Object second)
Assert thefirst
argument is not equals to thesecond
argument.TestContext
TestContext. assertNotEquals(Object first, Object second, String message)
Assert thefirst
argument is not equals to thesecond
argument.TestContext
TestContext. assertNotNull(Object expected)
Assert theexpected
argument is notnull
.TestContext
TestContext. assertNotNull(Object expected, String message)
Assert theexpected
argument is notnull
.TestContext
TestContext. assertNull(Object expected)
Assert theexpected
argument isnull
.TestContext
TestContext. assertNull(Object expected, String message)
Assert theexpected
argument isnull
.TestContext
TestContext. assertTrue(boolean condition)
Assert the specifiedcondition
istrue
.TestContext
TestContext. assertTrue(boolean condition, String message)
Assert the specifiedcondition
istrue
.TestContext
TestContext. verify(Handler<Void> block)
Execute the provided handler, which may contain assertions, possibly from any third-party assertion framework.Method parameters in io.vertx.ext.unit with type arguments of type TestContext Modifier and Type Method 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 suiteafter
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 suitebefore
callback.static TestCase
TestCase. create(String name, Handler<TestContext> testCase)
Create a test case.TestSuite
TestSuite. test(String name, int repeat, Handler<TestContext> testCase)
Add a new test case to the suite.TestSuite
TestSuite. test(String name, Handler<TestContext> testCase)
Add a new test case to the suite. -
Uses of TestContext in io.vertx.ext.unit.junit
Methods in io.vertx.ext.unit.junit with parameters of type TestContext Modifier and Type Method Description protected void
VertxUnitRunner. invokeTestMethod(org.junit.runners.model.FrameworkMethod fMethod, Object test, TestContext context)
-
Uses of TestContext in io.vertx.reactivex.ext.unit
Methods in io.vertx.reactivex.ext.unit that return TestContext Modifier and Type Method Description TestContext
TestContext. getDelegate()
Methods in io.vertx.reactivex.ext.unit with parameters of type TestContext Modifier and Type Method Description static TestContext
TestContext. newInstance(TestContext arg)
Constructors in io.vertx.reactivex.ext.unit with parameters of type TestContext Constructor Description TestContext(TestContext delegate)
-
Uses of TestContext in io.vertx.rxjava3.ext.unit
Methods in io.vertx.rxjava3.ext.unit that return TestContext Modifier and Type Method Description TestContext
TestContext. getDelegate()
Methods in io.vertx.rxjava3.ext.unit with parameters of type TestContext Modifier and Type Method Description static TestContext
TestContext. newInstance(TestContext arg)
Constructors in io.vertx.rxjava3.ext.unit with parameters of type TestContext Constructor Description TestContext(TestContext delegate)
-