Skip to content

Commit

Permalink
JENKINS-12880 Enable the selection of the browser/version/os at the J…
Browse files Browse the repository at this point in the history
…ob level
  • Loading branch information
rossrowe committed Feb 25, 2012
1 parent 7370283 commit 7b136e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -37,7 +37,7 @@ public class SauceOnDemandBuildWrapperTest extends BaseTezt {
*/
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);
Expand All @@ -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());
}
Expand All @@ -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());
}
Expand All @@ -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());
}
Expand Down
Expand Up @@ -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",
Expand Down

0 comments on commit 7b136e0

Please sign in to comment.