//////////////////////////////////////////////////////////////////////////// // // Life cycle // //////////////////////////////////////////////////////////////////////////// @Override protected void setUp() throws Exception { super.setUp(); configureTestPreferences(TOOLKIT); // by default use shared GWTState UiBinderContext.setUseSharedGWTState(true); }
/** * 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); }