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