Search in sources :

Example 1 with CrudHttpClient

use of org.eclipse.hono.tests.CrudHttpClient in project hono by eclipse.

the class HttpTestBase method init.

/**
 * Sets up clients.
 *
 * @param ctx The vert.x test context.
 */
@BeforeClass
public static void init(final TestContext ctx) {
    helper = new IntegrationTestSupport(VERTX);
    helper.init(ctx);
    httpClient = new CrudHttpClient(VERTX, IntegrationTestSupport.HTTP_HOST, IntegrationTestSupport.HTTP_PORT);
}
Also used : IntegrationTestSupport(org.eclipse.hono.tests.IntegrationTestSupport) CrudHttpClient(org.eclipse.hono.tests.CrudHttpClient) BeforeClass(org.junit.BeforeClass)

Aggregations

CrudHttpClient (org.eclipse.hono.tests.CrudHttpClient)1 IntegrationTestSupport (org.eclipse.hono.tests.IntegrationTestSupport)1 BeforeClass (org.junit.BeforeClass)1