private GwtPropertiesHelper() {
    cachedProperties = new HashMap<String, Properties>();
    sequenceReplacements = new ArrayList<GwtPropertiesHelper.SequenceReplacement>();
    initSequenceReplacements();

    AfterTestCallbackManager.get().registerCallback(this);
  }
Esempio n. 2
0
  @After
  public final void tearDownGwtTest() throws Exception {

    GwtReset.get().reset();

    List<Throwable> throwables = AfterTestCallbackManager.get().triggerCallbacks();

    if (throwables.size() > 0) {
      throw new GwtTestException(
          throwables.size()
              + " exception(s) thrown during JUnit @After callback. First one is thrown :",
          throwables.get(0));
    }
  }
 private FinallyCommandTrigger() {
   AfterTestCallbackManager.get().registerCallback(this);
 }
Esempio n. 4
0
 private UrlHolder() {
   AfterTestCallbackManager.get().registerCallback(this);
 }