예제 #1
0
  public boolean storySetUp() throws Throwable {
    testInfo = SDK44ServiceStyleSystemTestConstants.getTestServiceInfo();
    container = ServiceContainerFactory.createContainer(ServiceContainerType.TOMCAT_CONTAINER);
    File serviceDir = new File(testInfo.getDir());
    serviceDir.mkdirs();

    return container != null && serviceDir.exists() && serviceDir.isDirectory();
  }
 public MetadataModelServiceStory() {
   // init the container
   try {
     this.setContainer(
         ServiceContainerFactory.createContainer(ServiceContainerType.TOMCAT_6_CONTAINER));
   } catch (Exception ex) {
     ex.printStackTrace();
     fail("Failed to create container: " + ex.getMessage());
   }
 }
예제 #3
0
  protected boolean storySetUp() throws Throwable {
    // init the container
    try {
      container = ServiceContainerFactory.createContainer(ServiceContainerType.TOMCAT_6_CONTAINER);
    } catch (Exception ex) {
      ex.printStackTrace();
      fail("Failed to create container: " + ex.getMessage());
    }

    tci = new NotificationTestCaseInfo();

    RemoveSkeletonStep step1 = new RemoveSkeletonStep(tci);
    try {
      step1.runStep();
    } catch (Throwable e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    return true;
  }