HomeSort by relevance Sort by last modified time
    Searched full:expectedexceptions (Results 1 - 25 of 46) sorted by null

1 2

  /external/testng/src/test/java/test/expectedexceptions/
SampleExceptions.java 1 package test.expectedexceptions;
3 import org.testng.annotations.ExpectedExceptions;
7 * This class tests @ExpectedExceptions
14 @ExpectedExceptions({ NumberFormatException.class} )
20 @ExpectedExceptions({ NumberFormatException.class} )
26 @ExpectedExceptions({ NumberFormatException.class} )
31 @ExpectedExceptions(RuntimeException.class)
34 // @Test(expectedExceptions = NumberFormatException.class)
40 // @ExpectedExceptions({ FileNotFoundException.class, IOException.class })
SampleExceptions2.java 1 package test.expectedexceptions;
6 * This class tests @ExpectedExceptions
12 @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 = "Multiline.*")
48 @Test(expectedExceptions = RuntimeException.class
    [all...]
ExpectedExceptionsTest.java 1 package test.expectedexceptions;
11 runTest("test.expectedexceptions.SampleExceptions",
18 public void expectedExceptions() {
19 runTest("test.expectedexceptions.SampleExceptions2",
WrappedExpectedExceptionTest.java 1 package test.expectedexceptions;
4 import org.testng.annotations.ExpectedExceptions;
9 @ExpectedExceptions({ IllegalStateException.class })
ParametersExceptionTest.java 1 package test.expectedexceptions;
  /external/testng/src/test/java/test/skipex/
SkipAndExpectedSampleTest.java 7 @Test(expectedExceptions = NullPointerException.class)
TestSkippedExceptionTest.java 17 @Test(expectedExceptions = SkipException.class)
  /external/testng/src/main/java/org/testng/annotations/
ExpectedExceptions.java 9 * @deprecated Use @Test(expectedExceptions = "...")
16 public @interface ExpectedExceptions {
IExpectedExceptionsAnnotation.java 4 * Encapsulate the @ExpectedExceptions / @testng.expected-exceptions annotation
  /external/testng/src/test/java/test/testng109/
SkippedTestWithExpectedExceptionTest.java 22 @Test(expectedExceptions={OutOfMemoryError.class})
  /external/testng/src/test/java/test/assertion/
AssertionTest.java 19 @Test(expectedExceptions = AssertionError.class)
34 @Test(expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = "Raw test .*")
  /external/testng/src/test/java/test/reports/
EmailableReportDriver.java 27 @Test(expectedExceptions={NumberFormatException.class})
33 @Test(expectedExceptions={NumberFormatException.class})
  /external/jcommander/src/test/java/com/beust/jcommander/
PositiveIntegerTest.java 21 @Test(expectedExceptions = ParameterException.class)
32 @Test(expectedExceptions = ParameterException.class)
43 @Test(expectedExceptions = ParameterException.class)
54 @Test(expectedExceptions = ParameterException.class)
  /external/testng/src/test/java/test/asserttests/
ArrayEqualityAssertTest.java 29 @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...]
AssertTest.java 25 @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/testng/src/test/java/test/sample/
Sample1.java 8 import org.testng.annotations.ExpectedExceptions;
51 @ExpectedExceptions( {NumberFormatException.class, ArithmeticException.class})
57 @ExpectedExceptions( {NumberFormatException.class, ArithmeticException.class})
  /external/testng/src/main/java/org/testng/internal/annotations/
TestAnnotation.java 32 * @return the expectedExceptions
40 * @param expectedExceptions the expectedExceptions to set
43 public void setExpectedExceptions(Class<?>[] expectedExceptions) {
44 m_expectedExceptions = expectedExceptions;
  /external/testng/src/test/java/test/parameters/
ParameterOverrideTest.java 28 @Test(expectedExceptions = AssertionError.class)
38 @Test(expectedExceptions = AssertionError.class)
48 @Test(expectedExceptions = AssertionError.class)
  /external/testng/src/test/java/test/dependent/
DependentTest.java 5 import org.testng.annotations.ExpectedExceptions;
52 @ExpectedExceptions({ org.testng.TestNGException.class })
64 @Test(expectedExceptions = org.testng.TestNGException.class)
70 @Test(expectedExceptions = org.testng.TestNGException.class)
  /external/testng/src/test/java/test/invokedmethodlistener/
Sample2.java 10 @Test(expectedExceptions = IllegalArgumentException.class)
  /external/testng/src/test/java/test/mannotation/
MTest1.java 15 import org.testng.annotations.ExpectedExceptions;
33 expectedExceptions = NumberFormatException.class)
41 expectedExceptions = NullPointerException.class)
61 @ExpectedExceptions({MTest1.class, MTest2.class })
  /external/testng/src/main/java/org/testng/internal/
RegexpExpectedExceptionsHolder.java 50 IExpectedExceptionsAnnotation expectedExceptions =
52 if (expectedExceptions != null) {
ExpectedExceptionsHolder.java 27 IExpectedExceptionsAnnotation expectedExceptions =
30 if (expectedExceptions != null) {
31 return expectedExceptions.getValue();
  /external/testng/src/test/java/
ConverterSample4.java 35 public void expectedExceptions() {
57 * dependsOnMethods = "expectedExceptions" timeOut="3000" unrecognised="futureProof"
  /external/jcommander/src/test/java/com/beust/jcommander/dynamic/
DynamicParameterTest.java 13 @Test(expectedExceptions = ParameterException.class)
18 @Test(expectedExceptions = ParameterException.class)

Completed in 284 milliseconds

1 2