Пример #1
0
  @BeforeClass
  @Override
  protected void springTestContextPrepareTestInstance() throws Exception {
    artifactoryHomeBoundTest = createArtifactoryHomeTest();
    artifactoryHomeBoundTest.bindArtifactoryHome();

    super.springTestContextPrepareTestInstance();

    try (Connection connection = jdbcHelper.getDataSource().getConnection()) {
      DbTestUtils.refreshOrRecreateSchema(connection, storageProperties.getDbType());
    }
    TestUtils.invokeMethodNoArgs(dbService, "initializeIdGenerator");
  }
 public void run(IHookCallBack callBack, ITestResult testResult) {
   super.run(callBack, testResult);
   this.hook(callBack, testResult);
 }