Skip to content

Commit

Permalink
Get the python tests compiling properly
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jun 8, 2016
1 parent 6aba717 commit c54d81c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
19 changes: 19 additions & 0 deletions java/server/test/org/openqa/selenium/remote/server/auth/BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
java_binary(
name = 'server',
deps = [
':lib',
],
)

java_library(
name = 'lib',
srcs = glob(['*.java']),
deps = [
'//java/server/src/org/openqa/selenium/remote/server:server',
'//third_party/java/httpcomponents:httpclient',
'//third_party/java/guava:guava',
'//third_party/java/jetty:jetty',
'//third_party/java/servlet:servlet-api',
],
)

2 changes: 1 addition & 1 deletion rake-tasks/browsers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
:python => {
:dir => "remote",
:file_string => "remote",
:deps => [:remote_client, :'selenium-server-standalone', '//java/server/test/org/openqa/selenium/remote/server/auth:server:uber'],
:deps => [:remote_client, :'selenium-server-standalone', '//java/server/test/org/openqa/selenium/remote/server/auth:server'],
:custom_test_import => "from selenium.test.selenium.common import utils",
:custom_test_setup => "utils.start_server(module)",
:custom_test_teardown => "utils.stop_server(module)",
Expand Down
3 changes: 2 additions & 1 deletion third_party/java/jetty/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ java_library(
name = 'jetty',
exported_deps = [
':jetty-http-repacked',
':jetty-security-repacked',
':jetty-server-repacked',
':jetty-servlet-repacked',
':jetty-servlets-repacked',
Expand All @@ -11,7 +12,6 @@ java_library(
':jetty-continuation-repacked',
':jetty-io-repacked',
':jetty-jmx-repacked',
':jetty-security-repacked',
],
visibility = [
'//java/client/test/com/thoughtworks/selenium:tests',
Expand All @@ -22,6 +22,7 @@ java_library(
'//java/server/test/org/openqa/selenium:lib',
'//java/server/test/com/thoughtworks/selenium/webdriven:webdriven',
'//java/server/test/org/openqa/selenium/remote/server:tests',
'//java/server/test/org/openqa/selenium/remote/server/auth:lib',
],
)

Expand Down

0 comments on commit c54d81c

Please sign in to comment.