Home
last modified time | relevance | path

Searched refs:expectedExceptions (Results 1 – 25 of 32) sorted by relevance

12

/external/testng/src/test/java/test/expectedexceptions/
DSampleExceptions2.java12 @Test(expectedExceptions = NumberFormatException.class )
17 @Test(expectedExceptions = NumberFormatException.class)
22 @Test(expectedExceptions = NumberFormatException.class)
26 @Test(expectedExceptions = NumberFormatException.class,
32 @Test(expectedExceptions = NumberFormatException.class,
38 @Test(expectedExceptions = NumberFormatException.class, expectedExceptionsMessageRegExp = ".*")
43 …@Test(expectedExceptions = NumberFormatException.class, expectedExceptionsMessageRegExp = "Multili…
48 @Test(expectedExceptions = RuntimeException.class)
DExpectedExceptionsTest.java18 public void expectedExceptions() { in expectedExceptions() method in ExpectedExceptionsTest
/external/testng/src/test/java/test/asserttests/
DArrayEqualityAssertTest.java29 @Test(expectedExceptions = AssertionError.class)
41 @Test(expectedExceptions = AssertionError.class)
55 @Test(expectedExceptions = AssertionError.class)
63 @Test(expectedExceptions = AssertionError.class)
87 @Test(expectedExceptions = AssertionError.class)
98 @Test(expectedExceptions = AssertionError.class)
120 @Test(expectedExceptions = AssertionError.class)
142 @Test(expectedExceptions = AssertionError.class)
151 @Test(expectedExceptions = AssertionError.class)
166 @Test(expectedExceptions = AssertionError.class)
[all …]
DAssertTest.java25 @Test(expectedExceptions = AssertionError.class)
39 @Test(expectedExceptions = AssertionError.class)
46 @Test(expectedExceptions = AssertionError.class)
52 @Test(expectedExceptions = AssertionError.class)
76 @Test(expectedExceptions = AssertionError.class)
101 @Test(expectedExceptions = AssertionError.class)
/external/jcommander/src/test/java/com/beust/jcommander/
DPositiveIntegerTest.java21 @Test(expectedExceptions = ParameterException.class)
32 @Test(expectedExceptions = ParameterException.class)
43 @Test(expectedExceptions = ParameterException.class)
54 @Test(expectedExceptions = ParameterException.class)
DJCommanderTest.java143 @Test(expectedExceptions = ParameterException.class)
153 @Test(expectedExceptions = ParameterException.class)
256 @Test(expectedExceptions = ParameterException.class)
276 @Test(expectedExceptions = ParameterException.class)
283 @Test(expectedExceptions = ParameterException.class)
337 @Test(expectedExceptions = ParameterException.class)
344 @Test(expectedExceptions = ParameterException.class)
416 @Test(expectedExceptions = ParameterException.class)
470 @Test(expectedExceptions = ParameterException.class)
508 @Test(expectedExceptions = ParameterException.class,
[all …]
DParametersDelegateTest.java165 @Test(expectedExceptions = ParameterException.class,
180 @Test(expectedExceptions = ParameterException.class,
199 …@Test(expectedExceptions = ParameterException.class, expectedExceptionsMessageRegExp = "Only one.*…
DFinderTest.java61 @Test(expectedExceptions = ParameterException.class)
76 @Test(expectedExceptions = ParameterException.class)
/external/testng/src/main/java/org/testng/internal/
DExpectedExceptionsHolder.java27 IExpectedExceptionsAnnotation expectedExceptions = in findExpectedClasses() local
30 if (expectedExceptions != null) { in findExpectedClasses()
31 return expectedExceptions.getValue(); in findExpectedClasses()
DRegexpExpectedExceptionsHolder.java50 IExpectedExceptionsAnnotation expectedExceptions = in getRegExp() local
52 if (expectedExceptions != null) { in getRegExp()
/external/testng/src/test/java/test/parameters/
DParameterOverrideTest.java28 @Test(expectedExceptions = AssertionError.class)
38 @Test(expectedExceptions = AssertionError.class)
48 @Test(expectedExceptions = AssertionError.class)
/external/testng/src/test/java/test/reports/
DEmailableReportDriver.java27 @Test(expectedExceptions={NumberFormatException.class})
33 @Test(expectedExceptions={NumberFormatException.class})
/external/testng/src/test/java/test/assertion/
DAssertionTest.java19 @Test(expectedExceptions = AssertionError.class)
34 @Test(expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = "Raw test .*")
/external/testng/src/test/java/org/testng/
DAssertTest.java106 @Test(expectedExceptions = AssertionError.class)
119 @Test(expectedExceptions = AssertionError.class)
124 @Test(expectedExceptions = AssertionError.class)
/external/jcommander/src/test/java/com/beust/jcommander/dynamic/
DDynamicParameterTest.java13 @Test(expectedExceptions = ParameterException.class)
18 @Test(expectedExceptions = ParameterException.class)
/external/testng/src/test/java/test/mannotation/
DMTest1.java33 expectedExceptions = NumberFormatException.class)
41 expectedExceptions = NullPointerException.class)
/external/testng/src/main/java/org/testng/internal/annotations/
DTestAnnotation.java43 public void setExpectedExceptions(Class<?>[] expectedExceptions) { in setExpectedExceptions() argument
44 m_expectedExceptions = expectedExceptions; in setExpectedExceptions()
/external/testng/src/test/java/test/dependent/
DDependentTest.java64 @Test(expectedExceptions = org.testng.TestNGException.class)
70 @Test(expectedExceptions = org.testng.TestNGException.class)
/external/testng/src/test/java/
DConverterSample4.java35 public void expectedExceptions() { in expectedExceptions() method in ConverterSample4
/external/testng/src/test/java/test/skipex/
DSkipAndExpectedSampleTest.java7 @Test(expectedExceptions = NullPointerException.class)
DTestSkippedExceptionTest.java17 @Test(expectedExceptions = SkipException.class)
/external/testng/src/test/java/test/sample/
DConverterSample3.java33 public void expectedExceptions() { in expectedExceptions() method in ConverterSample3
/external/testng/src/test/java/test/testng109/
DSkippedTestWithExpectedExceptionTest.java22 @Test(expectedExceptions={OutOfMemoryError.class})
/external/testng/src/test/java/test/invokedmethodlistener/
DSample2.java10 @Test(expectedExceptions = IllegalArgumentException.class)
/external/testng/src/main/java/org/testng/annotations/
DTest.java123 public Class[] expectedExceptions() default {}; in expectedExceptions() method

12