コード例 #1
0
 @Override
 public void tearDown() throws Exception {
   try {
     deleteGithubRepo();
   } finally {
     super.tearDown();
   }
 }
コード例 #2
0
  @Override
  public void setUp() throws Exception {
    super.setUp();

    Random rnd = new Random();
    long time = Clock.getTime();
    PROJECT_NAME =
        "new_project_from_"
            + getTestName(false)
            + "_"
            + DateFormatUtil.formatDate(time).replace('/', '-')
            + "_"
            + rnd.nextLong();
    registerHttpAuthService();
  }