Skip to content

Commit 93120d0

Browse files
committed
Move the new core runner to the server package.
We're about to try and reuse the classes from the original HTMLLauncher and we need to reflect local files through a basic web server. Both of these reasons suggest that this is a better location.
1 parent 26a788e commit 93120d0

File tree

8 files changed

+11
-12
lines changed

8 files changed

+11
-12
lines changed

java/server/src/com/thoughtworks/selenium/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ java_library(
55
maven_coords = 'org.seleniumhq.selenium:selenium-java:' + SE_VERSION,
66
deps = [
77
'//java/client/src/com/thoughtworks/selenium:selenium',
8-
'//java/client/src/com/thoughtworks/selenium/corerunner:corerunner',
8+
'//java/server/src/org/openqa/selenium/server/htmlrunner:htmlrunner',
99
'//java/server/src/com/thoughtworks/selenium/webdriven:rc-emulation-servlet',
1010
],
1111
)

java/client/src/com/thoughtworks/selenium/corerunner/BUCK renamed to java/server/src/org/openqa/selenium/server/htmlrunner/BUCK

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
java_binary(
22
name = 'main',
3-
main_class = 'com.thoughtworks.selenium.corerunner.Main',
3+
main_class = 'org.openqa.selenium.server.htmlrunner.Main',
44
deps = [
5-
':corerunner',
5+
':htmlrunner',
66
],
77
)
88

99
java_library(
10-
name = 'corerunner',
10+
name = 'htmlrunner',
1111
srcs = glob(['*.java']),
1212
deps = [
13-
'//java/client/src/com/thoughtworks/selenium:selenium',
14-
'//java/client/src/com/thoughtworks/selenium/webdriven:webdriven',
13+
'//java/client/src/com/thoughtworks/selenium:leg-rc',
1514
'//java/client/src/org/openqa/selenium:selenium',
1615
'//java/client/src/org/openqa/selenium/chrome:chrome',
1716
'//java/client/src/org/openqa/selenium/edge:edge',

java/client/src/com/thoughtworks/selenium/corerunner/CoreTest.java renamed to java/server/src/org/openqa/selenium/server/htmlrunner/CoreTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
package com.thoughtworks.selenium.corerunner;
18+
package org.openqa.selenium.server.htmlrunner;
1919

2020
import com.google.common.base.Preconditions;
2121

java/client/src/com/thoughtworks/selenium/corerunner/CoreTestCase.java renamed to java/server/src/org/openqa/selenium/server/htmlrunner/CoreTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
package com.thoughtworks.selenium.corerunner;
18+
package org.openqa.selenium.server.htmlrunner;
1919

2020

2121
import com.google.common.base.Preconditions;

java/client/src/com/thoughtworks/selenium/corerunner/CoreTestStep.java renamed to java/server/src/org/openqa/selenium/server/htmlrunner/CoreTestStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
package com.thoughtworks.selenium.corerunner;
18+
package org.openqa.selenium.server.htmlrunner;
1919

2020
import com.google.common.collect.ImmutableMap;
2121

java/client/src/com/thoughtworks/selenium/corerunner/CoreTestSuite.java renamed to java/server/src/org/openqa/selenium/server/htmlrunner/CoreTestSuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
package com.thoughtworks.selenium.corerunner;
18+
package org.openqa.selenium.server.htmlrunner;
1919

2020
import com.thoughtworks.selenium.Selenium;
2121
import com.thoughtworks.selenium.SeleniumException;

java/client/src/com/thoughtworks/selenium/corerunner/Main.java renamed to java/server/src/org/openqa/selenium/server/htmlrunner/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
package com.thoughtworks.selenium.corerunner;
18+
package org.openqa.selenium.server.htmlrunner;
1919

2020
import static org.openqa.selenium.firefox.FirefoxDriver.MARIONETTE;
2121

java/client/src/com/thoughtworks/selenium/corerunner/Results.java renamed to java/server/src/org/openqa/selenium/server/htmlrunner/Results.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
package com.thoughtworks.selenium.corerunner;
18+
package org.openqa.selenium.server.htmlrunner;
1919

2020
public class Results {
2121

0 commit comments

Comments
 (0)