コード例 #1
0
  /** Initializing the {@link JodaEngine} before a test method is executed. */
  @BeforeMethod(alwaysRun = true)
  public void aBeforeMethodJodaEngineSetUp() {

    if (skippingForEachTestMethod()) {
      return;
    }

    this.jodaEngineServices = JodaEngine.startWithConfig(jodaEngineConfigurationXml());
  }
コード例 #2
0
  /** Initializing the {@link JodaEngine} before any test method is executed. */
  @BeforeClass(alwaysRun = true)
  public void aBeforeClassJodaEngineSetUp() {

    // Starting the engine and storing the engineServices
    this.jodaEngineServices = JodaEngine.startWithConfig(jodaEngineConfigurationXml());
  }