Uses of Interface
io.vertx.ext.unit.TestContext
Packages that use TestContext
Package
Description
-
Uses of TestContext in io.vertx.ext.unit
Methods in io.vertx.ext.unit that return TestContextModifier and TypeMethodDescriptionTestContext.assertEquals(Object expected, Object actual) Assert theexpectedargument is equals to theactualargument.TestContext.assertEquals(Object expected, Object actual, String message) Assert theexpectedargument is equals to theactualargument.TestContext.assertFalse(boolean condition) Assert the specifiedconditionisfalse.TestContext.assertFalse(boolean condition, String message) Assert the specifiedconditionisfalse.TestContext.assertInRange(double expected, double actual, double delta) Asserts that theexpecteddouble argument is equals to theactualdouble argument within a positive delta.TestContext.assertInRange(double expected, double actual, double delta, String message) Asserts that theexpecteddouble argument is equals to theactualdouble argument within a positive delta.TestContext.assertNotEquals(Object first, Object second) Assert thefirstargument is not equals to thesecondargument.TestContext.assertNotEquals(Object first, Object second, String message) Assert thefirstargument is not equals to thesecondargument.TestContext.assertNotNull(Object expected) Assert theexpectedargument is notnull.TestContext.assertNotNull(Object expected, String message) Assert theexpectedargument is notnull.TestContext.assertNull(Object expected) Assert theexpectedargument isnull.TestContext.assertNull(Object expected, String message) Assert theexpectedargument isnull.TestContext.assertTrue(boolean condition) Assert the specifiedconditionistrue.TestContext.assertTrue(boolean condition, String message) Assert the specifiedconditionistrue.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 TestContextModifier and TypeMethodDescriptionTestSuite.after(Handler<TestContext> callback) Set a callback executed after the tests.TestSuite.afterEach(Handler<TestContext> callback) Set a callback executed after each test and before the suiteaftercallback.TestSuite.before(Handler<TestContext> callback) Set a callback executed before the tests.TestSuite.beforeEach(Handler<TestContext> callback) Set a callback executed before each test and after the suitebeforecallback.static TestCaseTestCase.create(String name, Handler<TestContext> testCase) Create a test case.TestSuite.test(String name, int repeat, Handler<TestContext> testCase) Add a new test case to the suite.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 TestContextModifier and TypeMethodDescriptionprotected voidVertxUnitRunner.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 TestContextMethods in io.vertx.reactivex.ext.unit with parameters of type TestContextConstructors in io.vertx.reactivex.ext.unit with parameters of type TestContext -
Uses of TestContext in io.vertx.rxjava3.ext.unit
Methods in io.vertx.rxjava3.ext.unit that return TestContextMethods in io.vertx.rxjava3.ext.unit with parameters of type TestContextConstructors in io.vertx.rxjava3.ext.unit with parameters of type TestContext