congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
GuicyKillbillTestSuiteWithEmbeddedDB.beforeMethod
Code IndexAdd Tabnine to your IDE (free)

How to use
beforeMethod
method
in
org.killbill.billing.GuicyKillbillTestSuiteWithEmbeddedDB

Best Java code snippets using org.killbill.billing.GuicyKillbillTestSuiteWithEmbeddedDB.beforeMethod (Showing top 9 results out of 315)

origin: killbill/killbill

@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  if (hasFailed()) {
    return;
  }
  super.beforeMethod();
  controllerDispatcher.clearAll();
  bus.start();
}
origin: killbill/killbill

@Override
@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  if (hasFailed()) {
    return;
  }
  super.beforeMethod();
  eventsListener.reset();
  eventBus.start();
  eventBus.register(eventsListener);
}
origin: killbill/killbill

@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();
}
origin: killbill/killbill

@Override
@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  if (hasFailed()) {
    return;
  }
  super.beforeMethod();
  subscriptionTestInitializer.startTestFramework(testListener, clock, busService, subscriptionBaseService);
  this.catalog = subscriptionTestInitializer.initCatalog(catalogService, internalCallContext);
  this.accountData = subscriptionTestInitializer.initAccountData(clock);
  final Account account = createAccount(accountData);
  final SubscriptionBaseBundle model = subscriptionTestInitializer.initBundle(account.getId(), subscriptionInternalApi, clock, internalCallContext);
  this.bundle = subscriptionInternalApi.createBundleForAccount(model.getAccountId(), model.getExternalKey(), false, internalCallContext);
}
origin: org.kill-bill.billing/killbill-util

@Override
@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  if (hasFailed()) {
    return;
  }
  super.beforeMethod();
  eventsListener.reset();
  eventBus.start();
  eventBus.register(eventsListener);
}
origin: org.kill-bill.billing/killbill-entitlement

@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  if (hasFailed()) {
    return;
  }
  super.beforeMethod();
  startTestFamework(testListener, clock, busService, subscriptionBaseService, entitlementService);
  this.catalog = initCatalog(catalogService);
  configureShiro();
  login("EntitlementUser");
}
origin: org.kill-bill.billing/killbill-invoice

@Override
@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  if (hasFailed()) {
    return;
  }
  super.beforeMethod();
  controllerDispatcher.clearAll();
  bus.start();
  restartInvoiceService(invoiceService);
  clock.resetDeltaFromReality();
}
origin: org.kill-bill.billing/killbill-payment

@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  if (hasFailed()) {
    return;
  }
  super.beforeMethod();
  stateMachineConfigCache.clearPaymentStateMachineConfig(PLUGIN_NAME, internalCallContext);
  stateMachineConfigCache.loadDefaultPaymentStateMachineConfig(PaymentModule.DEFAULT_STATE_MACHINE_PAYMENT_XML);
  paymentExecutors.initialize();
  eventBus.start();
  Profiling.resetPerThreadProfilingData();
  clock.resetDeltaFromReality();
  janitor.initialize();
  janitor.start();
}
origin: org.kill-bill.billing/killbill-subscription

@Override
@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  if (hasFailed()) {
    return;
  }
  super.beforeMethod();
  subscriptionTestInitializer.startTestFramework(testListener, clock, busService, subscriptionBaseService);
  this.catalog = subscriptionTestInitializer.initCatalog(catalogService, internalCallContext);
  this.accountData = subscriptionTestInitializer.initAccountData(clock);
  final Account account = createAccount(accountData);
  final SubscriptionBaseBundle model = subscriptionTestInitializer.initBundle(account.getId(), subscriptionInternalApi, clock, internalCallContext);
  this.bundle = subscriptionInternalApi.createBundleForAccount(model.getAccountId(), model.getExternalKey(), false, internalCallContext);
}
org.killbill.billingGuicyKillbillTestSuiteWithEmbeddedDBbeforeMethod

Popular methods of GuicyKillbillTestSuiteWithEmbeddedDB

  • cleanupAllTables
  • dumpDB
  • getConfigSource
  • hasFailed
  • threadDump

Popular in Java

  • Reactive rest calls using spring rest template
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now