@LifecycleHandlerType(LifecycleLevel.INIT_BUS) public void startBus() { externalBus.start(); }
@LifecycleHandlerType(LifecycleLevel.INIT_BUS) public void startBus() { eventBus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { eventBus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { eventBus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() { bus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { busService.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { bus.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); busService.start(); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); eventBus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { bus.start(); service.initialize(); service.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); controllerDispatcher.clearAll(); bus.start(); restartInvoiceService(invoiceService); }
private void startBusAndRegisterListener(final BusService busService, final TestApiListener testListener) throws Exception { busService.getBus().start(); busService.getBus().register(testListener); }
private void startBusAndRegisterListener(final BusService busService, final TestApiListener testListener) throws Exception { busService.getBus().start(); busService.getBus().register(testListener); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); cacheControllerDispatcher.clearAll(); bus.start(); bus.register(listener); service.initialize(); service.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); resetTestListenerStatus(); eventsListener.reset(); eventBus.start(); eventBus.register(eventsListener); controlCacheDispatcher.clearAll(); // Make sure we start with a clean state assertListenerStatus(); }