_Tries_ to start adb server, does not bail out if not possible.

This commit is contained in:
Samuel Carlsson 2016-03-28 21:15:27 +02:00
parent 6c1835cc11
commit d8445e8cb2

View File

@ -15,8 +15,14 @@ public class RealDeviceTestCases {
private JadbConnection jadb;
@BeforeClass
public static void tryToStartAdbServer() throws IOException, InterruptedException {
new AdbServerLauncher().launch();
public static void tryToStartAdbServer() {
try {
new AdbServerLauncher().launch();
} catch (IOException e) {
System.out.println("Could not start adb-server");
} catch (InterruptedException e) {
System.out.println("Could not start adb-server");
}
}
@Before