@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(); }
@NotNull private static String formatDateTime(long time) { return " on " + DateFormatUtil.formatDate(time) + " at " + DateFormatUtil.formatTime(time); }