forked from I2P_Developers/i2p.i2p
unit test fix take 2
This commit is contained in:
@ -66,8 +66,8 @@ public class FragmentTest {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
pre.preprocessQueue(messages, new SenderImpl(), receiver);
|
pre.preprocessQueue(messages, new SenderImpl(), receiver);
|
||||||
fail("should have thrown IAE");
|
fail("should have thrown UOE");
|
||||||
} catch (IllegalArgumentException expected){}
|
} catch (UnsupportedOperationException expected){}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -89,8 +89,8 @@ public class FragmentTest {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
pre.preprocessQueue(messages, new SenderImpl(), receiver);
|
pre.preprocessQueue(messages, new SenderImpl(), receiver);
|
||||||
fail("should have thrown IAE");
|
fail("should have thrown UOE");
|
||||||
} catch (IllegalArgumentException expected){}
|
} catch (UnsupportedOperationException expected){}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user