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
@Override | |
public void afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context) { | |
boolean webTest = method.isTestMethod() && method.getTestMethod().getMethod().getAnnotation(WebTest.class) != null; | |
if (webTest) { | |
if (!testResult.isSuccess()) { |
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
test |
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
test |
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
java_test(name = "test", | |
srcs = [ | |
"misc/**/*.java", | |
"node/**/*.java", | |
"utils/**/*.java", | |
"//java/server/test/org/openqa/grid/internal/mock/*.java", | |
], | |
main = "org.testng.TestNG", |
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
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>1.0.1</version> | |
<executions> | |
<execution> | |
<id>enforce-versions</id> | |
<goals> |
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 URL findRemoteHost() throws MalformedURLException { | |
// new param after 2.9 | |
String url = (String) config.get(REMOTE_HOST); | |
if(url!=null){ | |
return new URL(url); | |
}else { | |
// could be a pre 2.9 node | |
url = (String) config.get("url"); | |
if (url == null){ |
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/common/RegistrationRequest.java | |
=================================================================== | |
--- java/server/src/org/openqa/grid/common/RegistrationRequest.java (revision 14688) | |
+++ java/server/src/org/openqa/grid/common/RegistrationRequest.java (working copy) | |
@@ -33,6 +33,7 @@ | |
import org.json.JSONException; | |
import org.json.JSONObject; |
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/web/servlet/ProxyStatusServlet.java | |
=================================================================== | |
--- java/server/src/org/openqa/grid/web/servlet/ProxyStatusServlet.java (revision 14628) | |
+++ java/server/src/org/openqa/grid/web/servlet/ProxyStatusServlet.java (working copy) | |
@@ -17,16 +17,12 @@ | |
package org.openqa.grid.web.servlet; | |
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
RemoteTestNG starting | |
Nov 17, 2011 8:53:23 AM org.openqa.jetty.http.HttpServer doStart | |
INFO: Version Jetty/5.1.x | |
Nov 17, 2011 8:53:23 AM org.openqa.jetty.util.FileResource <clinit> | |
INFO: Checking Resource aliases | |
Nov 17, 2011 8:53:30 AM org.openqa.jetty.util.Container start | |
INFO: Started org.openqa.jetty.jetty.servlet.WebApplicationHandler@1f82ab4 | |
Nov 17, 2011 8:53:30 AM org.openqa.jetty.util.Container start | |
INFO: Started WebApplicationContext[/,/] | |
Nov 17, 2011 8:53:30 AM org.openqa.jetty.http.SocketListener start |
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
<html> | |
<head> | |
<script | |
src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> | |
<script src="/grid/resources/images/console-beta.js"></script> | |
<link type="text/css" rel="stylesheet" | |
href="/grid/resources/images/console-beta.css"> | |
<title>Grid overview</title> | |
<style> | |
.busy { |