@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { if (hasFailed()) { return; } eventBus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { if (hasFailed()) { return; } bus.start(); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); controllerDispatcher.clearAll(); bus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { if (hasFailed()) { return; } bus.start(); service.initialize(); service.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); eventsListener.reset(); eventBus.start(); eventBus.register(eventsListener); }
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 { if (hasFailed()) { return; } super.beforeMethod(); cacheControllerDispatcher.clearAll(); bus.start(); bus.register(listener); service.loadConfig(); service.initialize(); service.start(); }
@LifecycleHandlerType(LifecycleHandlerType.LifecycleLevel.INIT_BUS) public void startBus() { eventBus.start(); }
@LifecycleHandlerType(LifecycleHandlerType.LifecycleLevel.INIT_BUS) public void startBus() { eventBus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { busService.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { if (hasFailed()) { return; } eventBus.start(); }
@BeforeMethod(groups = "load") public void beforeMethod() throws Exception { super.beforeMethod(); eventBus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() { if (hasFailed()) { return; } bus.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { if (hasFailed()) { return; } bus.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); eventsListener.reset(); eventBus.start(); eventBus.register(eventsListener); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); eventBus.start(); voidPluginDispatcher = new PluginDispatcher<Void>(10, paymentExecutors); stringPluginDispatcher = new PluginDispatcher<String>(1, paymentExecutors); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); controllerDispatcher.clearAll(); bus.start(); restartInvoiceService(invoiceService); clock.resetDeltaFromReality(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); // Reinitialize to restart the pool busService = new DefaultPersistentBus(getDBI(), clock, getPersistentBusConfig(), metricRegistry, databaseTransactionNotificationApi); testEventBusBase = new TestEventBusBase(busService); busService.start(); }
@BeforeMethod(groups = "fast") public void beforeMethod() throws Exception { if (hasFailed()) { return; } stateMachineConfigCache.clearPaymentStateMachineConfig(PLUGIN_NAME, internalCallContext); stateMachineConfigCache.loadDefaultPaymentStateMachineConfig(PaymentModule.DEFAULT_STATE_MACHINE_PAYMENT_XML); eventBus.start(); paymentExecutors.initialize(); ((MockPaymentDao) paymentDao).reset(); Profiling.resetPerThreadProfilingData(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); queueService = new DefaultNotificationQueueService(getDBI(), clock, getNotificationQueueConfig(), metricRegistry); busService = new DefaultPersistentBus(getDBI(), clock, getPersistentBusConfig(), metricRegistry, databaseTransactionNotificationApi); busService.start(); }