Home | History | Annotate | Download | only in expectedexceptions

Lines Matching defs:NumberFormatException

12   @Test(expectedExceptions = NumberFormatException.class )
14 throw new NumberFormatException();
17 @Test(expectedExceptions = NumberFormatException.class)
22 @Test(expectedExceptions = NumberFormatException.class)
26 @Test(expectedExceptions = NumberFormatException.class,
29 throw new NumberFormatException("This should not bomb at all");
32 @Test(expectedExceptions = NumberFormatException.class,
35 throw new NumberFormatException("This should bomb for good");
38 @Test(expectedExceptions = NumberFormatException.class, expectedExceptionsMessageRegExp = ".*")
40 throw new NumberFormatException(null);
43 @Test(expectedExceptions = NumberFormatException.class, expectedExceptionsMessageRegExp = "Multiline.*")
45 throw new NumberFormatException("Multiline\nException");