Skip to content

Commit

Permalink
For report destination and new selenium version.
Browse files Browse the repository at this point in the history
  • Loading branch information
djangofan committed Aug 18, 2013
1 parent 794e6a5 commit 7976235
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .project
Expand Up @@ -17,7 +17,7 @@
</natures>
<filteredResources>
<filter>
<id>1375484924042</id>
<id>1376843160438</id>
<name></name>
<type>26</type>
<matcher>
Expand Down
12 changes: 6 additions & 6 deletions google/build.gradle
Expand Up @@ -61,25 +61,25 @@ task runAllTestsInFirefox(type: Test) {
maxParallelForks = 2
systemProperties['browser'] = 'firefox'
include '**/GoogleTest*.class'
testReportDir = file("${reporting.baseDir}/GoogleTestFF")
testResultsDir = file("${buildDir}/test-results/GoogleTestFF")
reports.junitXml.destination = "$buildDir/test-results/GoogleTestFF"
reports.html.destination = "$buildDir/test-results/GoogleTestFF"
}

task runAllTestsInIE(type: Test) {
maxParallelForks = 1
systemProperties['browser'] = 'ie'
include '**/GoogleTest*.class'
testReportDir = file("${reporting.baseDir}/GoogleTestIE")
testResultsDir = file("${buildDir}/test-results/GoogleTestIE")
reports.junitXml.destination = "$buildDir/test-results/GoogleTestIE"
reports.html.destination = "$buildDir/test-results/GoogleTestIE"
}

task runAllTestsInChrome(type: Test) {
maxParallelForks = 2
systemProperties['browser'] = 'chrome'
systemProperties['webdriver.chrome.driver'] = 'chromedriver.exe'
include '**/GoogleTest*.class'
testReportDir = file("${reporting.baseDir}/GoogleTestC")
testResultsDir = file("${buildDir}/test-results/GoogleTestC")
reports.junitXml.destination = "$buildDir/test-results/GoogleTestCH"
reports.html.destination = "$buildDir/test-results/GoogleTestCH"
}

task runParameterizedExample(type: Test) {
Expand Down
2 changes: 1 addition & 1 deletion node1Config.json
Expand Up @@ -7,7 +7,7 @@
"javascriptEnabled": true,
"takesScreenshot": false,
"firefox_profile": "",
"browser-version": "22.0",
"browser-version": "23.0.1",
"platform": "WINDOWS",
"maxInstances": 5
},
Expand Down
2 changes: 1 addition & 1 deletion node1ConfigLinux.json
Expand Up @@ -7,7 +7,7 @@
"javascriptEnabled": true,
"takesScreenshot": false,
"firefox_profile": "",
"browser-version": "22.0",
"browser-version": "23.0.1",
"platform": "LINUX",
"maxInstances": 5
},
Expand Down
8 changes: 4 additions & 4 deletions parallelwebdriver/build.gradle
Expand Up @@ -38,8 +38,8 @@ tasks.withType(Test) {
task runParallelTestsInFirefox(type: Test) {
description = 'Runs all JUnit test classes in parallel threads.'
include '**/TestHandleCache*.class'
testReportDir = file("${reporting.baseDir}/ParallelTestsFF")
testResultsDir = file("${buildDir}/test-results/ParallelTestsFF")
reports.junitXml.destination = "$buildDir/test-results/ParallelTestsFF"
reports.html.destination = "$buildDir/test-results/ParallelTestsFF"

// System properties passed to tests
systemProperties['browserType'] = 'firefox'
Expand All @@ -55,8 +55,8 @@ task runFrameTestInIE(type: Test) {
description = 'Runs a test of handling iframes.'
maxParallelForks = 1
include '**/TestFrames.class'
testReportDir = file("${reporting.baseDir}/FrameTestIE")
testResultsDir = file("${buildDir}/test-results/FrameTestIE")
reports.junitXml.destination = "$buildDir/test-results/ParallelTestsIE"
reports.html.destination = "$buildDir/test-results/ParallelTestsIE"

// System properties passed to tests
systemProperties['browserType'] = 'ie'
Expand Down
2 changes: 1 addition & 1 deletion startWebDriverGridHub.bat
Expand Up @@ -12,7 +12,7 @@ ECHO *
ECHO *********************************************
ECHO.

SET JAR=selenium-server-standalone-2.33.0.jar
SET JAR=selenium-server-standalone-2.35.0.jar
SET "WGET=C:\Program Files (x86)\GnuWin32\bin\wget.exe"

IF NOT DEFINED JAVA_HOME (
Expand Down
2 changes: 1 addition & 1 deletion startWebDriverGridHub.sh
Expand Up @@ -12,7 +12,7 @@ echo "*"
echo "*********************************************"
echo ""

jarfile="selenium-server-standalone-2.33.0.jar"
jarfile="selenium-server-standalone-2.35.0.jar"
wgetbin="/usr/bin/wget"

if [ -z "${JAVA_HOME+xxx}" ]; then
Expand Down
6 changes: 3 additions & 3 deletions startWebDriverGridNode.bat
Expand Up @@ -6,10 +6,10 @@ TITLE %TITLETEXT%
:: Proxy for Fiddler or for BrowserMob
SET PROXY=false

SET CHROMEDRIVERZIP=chromedriver_win_26.0.1383.0.zip
SET CHROMEDRIVERZIP=chromedriver_win32_2.2.zip
SET CHROMEDRIVER=chromedriver.exe
SET JAR=selenium-server-standalone-2.33.0.jar
SET IEDRIVERZIP=IEDriverServer_Win32_2.33.0.zip
SET JAR=selenium-server-standalone-2.35.0.jar
SET IEDRIVERZIP=IEDriverServer_Win32_2.35.1.zip
SET IEDRIVER=IEDriverServer.exe
SET "WGET=C:\Program Files (x86)\GnuWin32\bin\wget.exe"

Expand Down
4 changes: 2 additions & 2 deletions startWebDriverGridNode.sh
Expand Up @@ -12,9 +12,9 @@ echo "*"
echo "*********************************************"
echo ""

chromedriverzip=chromedriver_linux64_2.1.zip
chromedriverzip=chromedriver_linux64_2.2.zip
chromedriverbin=chromedriver
jarfile="selenium-server-standalone-2.33.0.jar"
jarfile="selenium-server-standalone-2.35.0.jar"
wgetbin="/usr/bin/wget"

if [ -z "${JAVA_HOME+xxx}" ]; then
Expand Down

0 comments on commit 7976235

Please sign in to comment.