Skip to content

Commit ed06eca

Browse files
committed
Add the protocol handshake test to a test suite
1 parent 1f809cb commit ed06eca

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

java/client/test/org/openqa/selenium/remote/BUCK

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ java_test(name = 'client-tests',
2424
'BaseAugmenterTest.java',
2525
'ErrorHandlerTest.java',
2626
'JdkAugmenterTest.java',
27+
'ProtocolHandshakeTest.java',
2728
'RemoteClientTests.java',
2829
'RemoteLogsTest.java',
2930
'RemoteWebDriverInitializationTest.java',

java/client/test/org/openqa/selenium/remote/ProtocolHandshakeTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@
1010
import com.google.gson.reflect.TypeToken;
1111

1212
import org.junit.Test;
13-
import org.openqa.selenium.HasCapabilities;
14-
import org.openqa.selenium.WebDriver;
15-
import org.openqa.selenium.chrome.ChromeDriver;
1613
import org.openqa.selenium.remote.http.HttpClient;
1714
import org.openqa.selenium.remote.http.HttpRequest;
1815
import org.openqa.selenium.remote.http.HttpResponse;
19-
import org.openqa.selenium.testing.drivers.SynthesizedFirefoxDriver;
2016

2117
import java.io.IOException;
2218
import java.util.Map;
@@ -85,9 +81,6 @@ public void shouldIncludeSpecCompliantW3CCapabilities() throws IOException {
8581
assertEquals(ImmutableList.of(), json.get("firstMatch"));
8682
}
8783

88-
@Test
89-
public void
90-
9184
class RecordingHttpClient implements HttpClient {
9285

9386
private final HttpResponse response;

java/client/test/org/openqa/selenium/remote/RemoteClientTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
AugmenterTest.class,
2828
ErrorHandlerTest.class,
2929
CircularOutputStreamTest.class,
30+
ProtocolHandshakeTest.class,
3031
RemoteLogsTest.class,
3132
RemoteWebDriverInitializationTest.class
3233
})

0 commit comments

Comments
 (0)