|
| 1 | +SUITES = glob([ |
| 2 | + 'internal/**/*Tests.java', |
| 3 | + 'plugin/**/*Tests.java', |
| 4 | +]) |
| 5 | + |
| 6 | +java_test(name = 'grid', |
| 7 | + srcs = SUITES, |
| 8 | + deps = [ |
| 9 | + ':test', |
| 10 | + '//java/server/src/org/openqa/grid:grid', |
| 11 | + '//java/server/src/org/openqa/grid/common:common', |
| 12 | + '//java/client/src/org/openqa/selenium/net:net', |
| 13 | + '//java/client/src/org/openqa/selenium/remote:capabilities', |
| 14 | + '//java/client/src/org/openqa/selenium/remote:remote', |
| 15 | + '//third_party/java/junit:junit', |
| 16 | + '//third_party/java/httpcomponents:httpclient', |
| 17 | + '//third_party/java/gson:gson', |
| 18 | + '//third_party/java/servlet:servlet-api', |
| 19 | + ], |
| 20 | +) |
| 21 | + |
| 22 | +java_library(name = 'test', |
| 23 | + srcs = glob([ |
| 24 | + 'internal/**/*.java', |
| 25 | + 'plugin/**/*.java', |
| 26 | + ], excludes = SUITES), |
| 27 | + resources = [ |
| 28 | + 'internal/configuration/grid_configuration_test1.yml', |
| 29 | + 'internal/configuration/grid_configuration_test2.yml', |
| 30 | + ], |
| 31 | + deps = [ |
| 32 | + '//java/client/src/com/thoughtworks/selenium:selenium', |
| 33 | + '//java/server/src/org/openqa/grid:grid', |
| 34 | + '//java/server/src/org/openqa/grid/common:common', |
| 35 | + '//java/client/src/org/openqa/selenium:webdriver-api', |
| 36 | + '//java/client/src/org/openqa/selenium/remote:remote', |
| 37 | + '//third_party/java/gson:gson', |
| 38 | + '//third_party/java/junit:junit', |
| 39 | + '//third_party/java/mockito:mockito', |
| 40 | + '//third_party/java/servlet:servlet-api', |
| 41 | + ], |
| 42 | +) |
0 commit comments