Changeset 4f9e13d


Ignore:
Timestamp:
Aug 21, 2014 3:01:15 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
02ab6ea, d7feab1
Parents:
d0b0e6a
Message:

unit test fix take 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/test/junit/net/i2p/router/tunnel/FragmentTest.java

    rd0b0e6a r4f9e13d  
    6767        try {
    6868            pre.preprocessQueue(messages, new SenderImpl(), receiver);
    69             fail("should have thrown IAE");
    70         } catch (IllegalArgumentException expected){}
     69            fail("should have thrown UOE");
     70        } catch (UnsupportedOperationException expected){}
    7171    }
    7272   
     
    9090        try {
    9191            pre.preprocessQueue(messages, new SenderImpl(), receiver);
    92             fail("should have thrown IAE");
    93         } catch (IllegalArgumentException expected){}
     92            fail("should have thrown UOE");
     93        } catch (UnsupportedOperationException expected){}
    9494    }
    9595   
Note: See TracChangeset for help on using the changeset viewer.