1 16 package com.google.gwt.junit; 17 18 import com.google.gwt.core.ext.UnableToCompleteException; 19 20 23 class RunStyleLocalWeb extends RunStyleLocalHosted { 24 25 28 private static final String PROP_GWT_HYBRID_MODE = "gwt.hybrid"; 29 30 33 RunStyleLocalWeb(JUnitShell shell) { 34 super(shell); 35 } 36 37 public void maybeLaunchModule(String moduleName, boolean forceLaunch) 38 throws UnableToCompleteException { 39 if (forceLaunch) { 40 shell.compileForWebMode(moduleName); 41 launchUrl(moduleName + "/?" + PROP_GWT_HYBRID_MODE); 42 } 43 } 44 45 } 46 | Popular Tags |