Ejemplo n.º 1
0
 ////////////////////////////////////////////////////////////////////////////
 //
 // Life cycle
 //
 ////////////////////////////////////////////////////////////////////////////
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   configureTestPreferences(TOOLKIT);
   // by default use shared GWTState
   UiBinderContext.setUseSharedGWTState(true);
 }
Ejemplo n.º 2
0
 /**
  * Disables using shared GWTState and {@link ClassLoader}, for example because we test custom
  * widgets, so standard shared {@link ClassLoader} (with only standard GWT modules) is not enough
  * for us.
  */
 protected static void dontUseSharedGWTState() {
   UiBinderContext.setUseSharedGWTState(false);
 }