Skip to content

Commit

Permalink
More RC tests running and passing
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Dec 11, 2018
1 parent 656e389 commit 3bf09fc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions java/client/test/com/thoughtworks/selenium/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("//java:bazel-rules.bzl", "gen_java_tests")

SMALL_TESTS = [
"BrowserConfigurationOptionsTest.java",
"CSVTest.java",
"DefaultSeleniumStartErrorHandlingTest.java",
"DefaultSeleniumTest.java",
"HttpCommandProcessorUnitTest.java",
"WaitTest.java",
]

gen_java_tests(
srcs = SMALL_TESTS,
size = "small",
deps = [
"//java/client/src/com/thoughtworks/selenium",
"//third_party/java/junit",
"//third_party/java/mockito:mockito-core",
]
)
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,20 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class MockBrowserTest {
Selenium sel;

@Before
public void setUp() {
sel = new DefaultSelenium("localhost", 4444, "*mock", "http://x");
sel.start();
}

@After
public void tearDown() {
sel.stop();
}
Expand Down

0 comments on commit 3bf09fc

Please sign in to comment.