Skip to content

Commit ee18b34

Browse files
committed
Moving tests too
1 parent d3c4fcd commit ee18b34

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

java/client/test/org/openqa/selenium/browserlaunchers/RcBrowserLauncherTests.java

-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
@Suite.SuiteClasses(value = {
2727
FirefoxLocatorUnitTest.class,
2828
LauncherUtilsUnitTest.class,
29-
MacProxyManagerUnitTest.class,
3029
ProxyPacTest.class,
31-
WindowsProxyManagerUnitTest.class,
3230
SingleBrowserLocatorUnitTest.class
3331
})
3432
public class RcBrowserLauncherTests {

java/server/test/org/openqa/selenium/server/RcServerUnitTests.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
import org.openqa.selenium.server.browserlaunchers.BrowserConfigurationOptionsTest;
2525
import org.openqa.selenium.server.browserlaunchers.BrowserLauncherFactoryUnitTest;
2626
import org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncherUnitTest;
27+
import org.openqa.selenium.server.browserlaunchers.MacProxyManagerUnitTest;
2728
import org.openqa.selenium.server.browserlaunchers.MakeProxyPacUnitTest;
29+
import org.openqa.selenium.server.browserlaunchers.WindowsProxyManagerUnitTest;
2830
import org.openqa.selenium.server.htmlrunner.HTMLSuiteResultUnitTest;
2931
import org.openqa.selenium.server.mock.MockPIFrameUnitTest;
3032

@@ -45,13 +47,15 @@
4547
FsResourceLocatorUnitTest.class,
4648
HTMLSuiteResultUnitTest.class,
4749
LoggingTests.class,
50+
MacProxyManagerUnitTest.class,
4851
MakeProxyPacUnitTest.class,
4952
MockPIFrameUnitTest.class,
5053
ProxyHandlerUnitTest.class,
5154
RemoteControlConfigurationUnitTest.class,
5255
SeleniumDriverResourceHandlerUnitTest.class,
5356
SeleniumServerUnitTest.class,
5457
SingleEntryAsyncQueueUnitTest.class,
55-
StaticContentHandlerUnitTest.class
58+
StaticContentHandlerUnitTest.class,
59+
WindowsProxyManagerUnitTest.class
5660
})
5761
public class RcServerUnitTests {}

java/client/test/org/openqa/selenium/browserlaunchers/MacProxyManagerUnitTest.java renamed to java/server/test/org/openqa/selenium/server/browserlaunchers/MacProxyManagerUnitTest.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818

19-
package org.openqa.selenium.browserlaunchers;
19+
package org.openqa.selenium.server.browserlaunchers;
2020

2121
import static org.junit.Assert.assertEquals;
2222
import static org.junit.Assert.assertNotNull;
@@ -26,7 +26,6 @@
2626

2727
import org.junit.Before;
2828
import org.junit.Test;
29-
import org.openqa.selenium.browserlaunchers.MacProxyManager.MacNetworkSetupException;
3029

3130
import java.io.PrintWriter;
3231
import java.io.StringWriter;
@@ -429,7 +428,7 @@ protected String runNetworkSetupGetWebProxy() {
429428
try {
430429
mmpm._getCurrentNetworkSettings();
431430
fail("Didn't see expected exception");
432-
} catch (MacNetworkSetupException e) {
431+
} catch (MacProxyManager.MacNetworkSetupException e) {
433432
assertExceptionContains("Unhelpful exception message", "Port didn't look right", e);
434433
}
435434
}

java/client/test/org/openqa/selenium/browserlaunchers/WindowsProxyManagerUnitTest.java renamed to java/server/test/org/openqa/selenium/server/browserlaunchers/WindowsProxyManagerUnitTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818

19-
package org.openqa.selenium.browserlaunchers;
19+
package org.openqa.selenium.server.browserlaunchers;
2020

2121
import static org.junit.Assert.assertEquals;
2222
import static org.junit.Assert.assertFalse;
@@ -25,6 +25,7 @@
2525
import org.junit.Test;
2626
import org.openqa.selenium.io.FileHandler;
2727
import org.openqa.selenium.io.TemporaryFilesystem;
28+
import org.openqa.selenium.server.browserlaunchers.WindowsProxyManager;
2829

2930
import java.io.File;
3031
import java.io.IOException;

0 commit comments

Comments
 (0)