use of io.vertx.starter.GeneratorVerticle in project vertx-starter by vert-x3.
the class GeneratorTest method beforeEach.
@BeforeEach
void beforeEach(Vertx vertx, VertxTestContext testContext) throws Exception {
workdir = tempDir.resolve(UUID.randomUUID().toString());
Files.createDirectories(workdir);
cleanupTasks = new ArrayList<>();
vertx.eventBus().registerDefaultCodec(VertxProject.class, new VertxProjectCodec());
vertx.deployVerticle(new GeneratorVerticle(), testContext.succeeding(id -> testContext.completeNow()));
}
Aggregations