Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Commit

Permalink
Moving all HtmlUnit specific tests to the subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Feb 23, 2016
1 parent 670c42f commit a87c33b
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 138 deletions.
14 changes: 0 additions & 14 deletions java/client/test/org/openqa/selenium/htmlunit/BUCK
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
java_library(name = 'htmlunit-specific-tests',
srcs = glob(['*Test.java']) + ['HtmlUnitSpecificTests.java',],
deps = [
'//java/client/src/org/openqa/selenium/remote:capabilities',
'//java/client/src/org/openqa/selenium:webdriver-api',
'//java/client/test/org/openqa/selenium/testing:test-base',
'//third_party/java/htmlunit:htmlunit',
'//third_party/java/hamcrest:hamcrest',
'//third_party/java/junit:junit',
],
)

java_test(name = 'htmlunit',
srcs = [
'JavascriptEnabledHtmlUnitDriverTests.java',
Expand All @@ -18,7 +6,6 @@ java_test(name = 'htmlunit',
'-Dselenium.browser=htmlunit_js',
],
deps = [
':htmlunit-specific-tests',
'//java/client/test/org/openqa/selenium:tests',
'//java/client/src/org/openqa/selenium/remote:remote',
'//java/client/src/org/openqa/selenium:webdriver-api',
Expand All @@ -36,7 +23,6 @@ java_test(name = 'htmlunit-no-js',
'-Dselenium.browser=htmlunit',
],
deps = [
':htmlunit-specific-tests',
'//java/client/test/org/openqa/selenium:tests',
'//java/client/src/org/openqa/selenium/remote:remote',
'//java/client/src/org/openqa/selenium:webdriver-api',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
@RunWith(Suite.class)
@Suite.SuiteClasses({
StandardSeleniumTests.class,
HtmlUnitSpecificTests.class
})
public class HtmlUnitDriverTests {
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
@RunWith(Suite.class)
@Suite.SuiteClasses({
StandardSeleniumTests.class,
HtmlUnitSpecificTests.class
})
public class JavascriptEnabledHtmlUnitDriverTests {

Expand Down
38 changes: 0 additions & 38 deletions java/client/test/org/openqa/selenium/htmlunit/ToStringTest.java

This file was deleted.

16 changes: 0 additions & 16 deletions java/client/test/org/openqa/selenium/htmlunit/build.desc
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
java_library(name = "tests",
srcs = [
"HtmlUnitSpecificTests.java",
"ToStringTest.java",
],
deps = [
"//third_party/java/htmlunit",
"//java/client/test/org/openqa/selenium:tests"
])

java_test(name = "test_basic",
srcs = [
"HtmlUnitDriverTests.java",
],
sysproperties = [
{ "selenium.browser" : "htmlunit" },
],
deps = [
":tests",
])

java_test(name = "test_js",
Expand All @@ -25,7 +12,4 @@ java_test(name = "test_js",
],
sysproperties = [
{ "selenium.browser" : "htmlunit_js" },
],
deps = [
":tests",
])

0 comments on commit a87c33b

Please sign in to comment.