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

    AfterTestCallbackManager.get().registerCallback(this);
  }
Ejemplo 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);
 }
Ejemplo n.º 4
0
 private UrlHolder() {
   AfterTestCallbackManager.get().registerCallback(this);
 }