forked from I2P_Developers/i2p.i2p
minor adjustments to RouterAddress testcase
This commit is contained in:
@ -58,6 +58,7 @@ public class RouterAddressTest extends StructureTest {
|
|||||||
addr.setOptions(options);
|
addr.setOptions(options);
|
||||||
addr.setTransportStyle("Blah");
|
addr.setTransportStyle("Blah");
|
||||||
assertFalse(addr.equals(null));
|
assertFalse(addr.equals(null));
|
||||||
|
assertFalse(addr.equals(""));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testToString(){
|
public void testToString(){
|
||||||
@ -73,5 +74,7 @@ public class RouterAddressTest extends StructureTest {
|
|||||||
addr.setOptions(options);
|
addr.setOptions(options);
|
||||||
addr.setTransportStyle("Blah");
|
addr.setTransportStyle("Blah");
|
||||||
addr.toString();
|
addr.toString();
|
||||||
|
addr.setOptions(null);
|
||||||
|
addr.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user