git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Cache (URL to File could fail if no parent)
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
utils
/
test
/
SerialServerTest.java
diff --git
a/src/be/nikiroo/utils/test/SerialServerTest.java
b/src/be/nikiroo/utils/test/SerialServerTest.java
index 885ee8c0150bf01189113077c4d389f9f2d30834..67ba1610ef7725c4d8939174bfe24f5daa5aa584 100644
(file)
--- a/
src/be/nikiroo/utils/test/SerialServerTest.java
+++ b/
src/be/nikiroo/utils/test/SerialServerTest.java
@@
-30,6
+30,10
@@
class SerialServerTest extends TestLauncher {
throws Exception {
return null;
}
throws Exception {
return null;
}
+
+ @Override
+ protected void onError(Exception e) {
+ }
};
int port = server.getPort();
};
int port = server.getPort();
@@
-292,6
+296,10
@@
class SerialServerTest extends TestLauncher {
throws Exception {
return null;
}
throws Exception {
return null;
}
+
+ @Override
+ protected void onError(Exception e) {
+ }
};
int port = server.getPort();
};
int port = server.getPort();
@@
-301,7
+309,11
@@
class SerialServerTest extends TestLauncher {
ServerBridge br = null;
if (bridge) {
ServerBridge br = null;
if (bridge) {
- br = new ServerBridge(0, ssl, "", port, ssl);
+ br = new ServerBridge(0, ssl, "", port, ssl) {
+ @Override
+ protected void onError(Exception e) {
+ }
+ };
port = br.getPort();
br.start();
}
port = br.getPort();
br.start();
}
@@
-314,6
+326,10
@@
class SerialServerTest extends TestLauncher {
throws Exception {
rec[0] = true;
}
throws Exception {
rec[0] = true;
}
+
+ @Override
+ protected void onError(Exception e) {
+ }
}.connect();
} finally {
server.stop();
}.connect();
} finally {
server.stop();