import org.mortbay.jetty.security.SslSocketConnector;\r
import org.mortbay.jetty.webapp.WebAppContext;\r
\r
+import com.vaadin.launcher.util.BrowserLauncher;\r
+\r
/**\r
* Class for running Jetty servlet container within Eclipse project.\r
* \r
System.out.println("Starting Web Browser.");\r
\r
// Open browser into application URL\r
- // BrowserLauncher.openBrowser(url);\r
+ BrowserLauncher.openBrowser(url);\r
}\r
} catch (Exception e) {\r
// NOP exception already on console by jetty\r
* Gets the icon Resource for the specified column.
*
* @param propertyId
- * the propertyId identifying the column.
+ * the propertyId indentifying the column.
* @return the icon for the specified column; null if the column has no icon
* set, or if the column is not visible.
*/
; Location where vaadin-testbench jar can be found\r
-com.vaadin.testbench.lib.dir=/home/hesara/dev/software/testbench/vaadin-testbench-2.2.0\r
+com.vaadin.testbench.lib.dir=<enter location of testbench here>\r
\r
; Deployment url to use for testing. Context path must be / \r
-com.vaadin.testbench.deployment.url=http://192.168.2.215:8888/\r
+com.vaadin.testbench.deployment.url=http://<enter your ip here>:8888/\r
\r
; Location of the screenshot directory. \r
; This is the directory that contains the "references" directory\r
-com.vaadin.testbench.screenshot.directory=/home/hesara/dev/workspaces/helios_sr1_jee_vaadin/v66_screenshots\r
+com.vaadin.testbench.screenshot.directory=<enter the full path to the screenshots directory, parent of "references" directory>\r
\r
; Run the whole test even if \r
com.vaadin.testbench.screenshot.softfail=true\r
; testfiles=${resource_loc}\r
\r
; Uncomment to limit to certain browsers or override in launch configuration\r
-; browsers=winxp-googlechrome-stable\r
+; browsers=winxp-opera10\r
\r
-; Claim that the server has started successfully. Needed for the tests to run\r
+; Claim that the server has started succesfully. Needed for the tests to run\r
server.start.succeeded=1\r
\r
-test-output-dir=../build/test-output\r
+test-output-dir=../build/test-output
\ No newline at end of file
import java.util.LinkedHashMap;
-import com.vaadin.data.Container;
import com.vaadin.terminal.Resource;
import com.vaadin.tests.components.select.SelectTest;
import com.vaadin.ui.ComboBox;
});
}
- @Override
- protected void setContainer(Container newContainer) {
- super.setContainer(newContainer);
- // getComponent().setItemCaptionPropertyId("Property 1");
- }
-
}