This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.openqa.grid.e2e.selenium; | |
import org.openqa.grid.e2e.utils.GridConfigurationMock; | |
import org.openqa.grid.internal.Registry; | |
import org.openqa.grid.internal.RemoteProxy; | |
import org.openqa.grid.selenium.SelfRegisteringRemote; | |
import org.openqa.grid.selenium.utils.GridConfiguration; | |
import org.openqa.grid.web.Hub; | |
import org.openqa.selenium.net.PortProber; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Eclipse Workspace Patch 1.0 | |
#P selenium | |
Index: java/server/src/org/openqa/grid/internal/TestSession.java | |
=================================================================== | |
--- java/server/src/org/openqa/grid/internal/TestSession.java (revision 12076) | |
+++ java/server/src/org/openqa/grid/internal/TestSession.java (working copy) | |
@@ -15,44 +15,52 @@ | |
*/ | |
package org.openqa.grid.internal; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright 2007-2011 WebDriver committers | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.openqa.grid.e2e.misc; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import org.openqa.grid.e2e.utils.GridConfigurationMock; | |
import org.openqa.grid.internal.Registry; | |
import org.openqa.grid.selenium.SelfRegisteringRemote; | |
import org.openqa.grid.web.Hub; | |
import org.openqa.selenium.By; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.net.InetAddress; | |
import java.net.UnknownHostException; | |
public class Launcher { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { | |
InetAddress addr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.openqa.grid.e2e.selenium; | |
import java.io.BufferedWriter; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
import java.io.Reader; | |
import java.io.Writer; | |
import java.net.HttpURLConnection; | |
import java.net.MalformedURLException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.openqa; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.remote.DesiredCapabilities; | |
import org.openqa.selenium.remote.RemoteWebDriver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class InvocCountTimeout { | |
@Test(invocationCount=5,timeOut=1000) | |
public void willFailOk() throws InterruptedException{ | |
Thread.sleep(2000); | |
} | |
@Test(invocationCount=5,threadPoolSize=5,timeOut=1000) | |
public void willPassBug() throws InterruptedException{ | |
Thread.sleep(2000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static SeleniumServer server; | |
private static int port; | |
@BeforeClass | |
public static void prepare() throws Exception { | |
port = PortProber.findFreePort(); | |
RemoteControlConfiguration config = new RemoteControlConfiguration(); | |
config.setPort(port); | |
server = new SeleniumServer(config); | |
server.boot(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"class":"org.openqa.grid.common.RegistrationRequest", | |
"capabilities": | |
[ | |
{"platform":"ANY","browserName":"firefox","version":""}, | |
{"platform":"ANY","browserName":"firefox","version":""}, | |
{"platform":"ANY","browserName":"firefox","version":""}, | |
{"platform":"ANY","browserName":"firefox","version":""}, | |
{"platform":"ANY","browserName":"firefox","version":""}, | |
{"platform":"WINDOWS","ensureCleanSession":true,"browserName":"internet explorer","version":""}, |
OlderNewer