Skip to content
Permalink
Browse files

JENKINS-12880 Enable the selection of the browser/version/os at the J…

…ob level
  • Loading branch information
rossrowe committed Feb 25, 2012
1 parent 7370283 commit 7b136e0c86c984260d04ac0234af82691fe7a614
@@ -37,7 +37,7 @@
*/
public void configRoundtrip() throws Exception {
FreeStyleProject p = createFreeStyleProject();
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(new Credentials("username", "accessKey"), new SeleniumInformation( "http://localhost"), "abc", 1, true);
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(new Credentials("username", "accessKey"), new SeleniumInformation( "http://localhost"), "abc", 1, true, null);
p.getBuildWrappersList().add(before);
configRoundtrip(p);
SauceOnDemandBuildWrapper after = p.getBuildWrappersList().get(SauceOnDemandBuildWrapper.class);
@@ -52,7 +52,7 @@ public void testFullConfig() throws Exception {
setCredential();

FreeStyleProject p = createFreeStyleProject();
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(null, new SeleniumInformation("http://localhost:8080/"), "localhost", 4445, true);
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(null, new SeleniumInformation("http://localhost:8080/"), "localhost", 4445, true, null);
p.getBuildWrappersList().add(before);
invokeSeleniumFromBuild(p, new SauceBuilder());
}
@@ -64,7 +64,7 @@ public void testMinimalConfig() throws Exception {
setCredential();

FreeStyleProject p = createFreeStyleProject();
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(null, null, null, 0, true);
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(null, null, null, 0, true, null);
p.getBuildWrappersList().add(before);
invokeSeleniumFromBuild(p, new SauceBuilder());
}
@@ -76,7 +76,7 @@ public void testRunFromSlave() throws Exception {

FreeStyleProject p = createFreeStyleProject();
p.setAssignedNode(s);
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(null, new SeleniumInformation("http://localhost:8080/"), "localhost", 4445, true);
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(null, new SeleniumInformation("http://localhost:8080/"), "localhost", 4445, true, null);
p.getBuildWrappersList().add(before);
invokeSeleniumFromBuild(p, new SauceBuilder());
}
@@ -57,7 +57,7 @@ private void testReportEmbedding(String testReport, boolean oldStyle) throws Exc
setCredential();
FreeStyleProject p = createFreeStyleProject();

SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(null, new SeleniumInformation("http://localhost:8080/"), "localhost", 4445, true);
SauceOnDemandBuildWrapper before = new SauceOnDemandBuildWrapper(null, new SeleniumInformation("http://localhost:8080/"), "localhost", 4445, true, null);
p.getBuildWrappersList().add(before);
JUnitResultArchiver junit = new JUnitResultArchiver(
"test.xml",

0 comments on commit 7b136e0

Please sign in to comment.
You can’t perform that action at this time.