Home
last modified time | relevance | path

Searched refs:ExpectedException (Results 1 – 25 of 144) sorted by relevance

123456

/external/junit/src/main/java/org/junit/rules/
DExpectedException.java111 public class ExpectedException implements TestRule { class
122 public static ExpectedException none() { in none()
123 return new ExpectedException(); in none()
130 private ExpectedException() { in ExpectedException() method in ExpectedException
139 public ExpectedException handleAssertionErrors() { in handleAssertionErrors()
149 public ExpectedException handleAssumptionViolatedExceptions() { in handleAssumptionViolatedExceptions()
163 public ExpectedException reportMissingExceptionWithMessage(String message) { in reportMissingExceptionWithMessage()
/external/mockito/src/test/java/org/mockito/internal/progress/
DTimesTest.java10 import org.junit.rules.ExpectedException;
17 public ExpectedException exception = ExpectedException.none();
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs94 [ExpectedException(typeof(RewriteEmptyStreamException), "RewriteRuleTokenStream test")]
112 [ExpectedException(typeof(RewriteEmptyStreamException),
131 [ExpectedException(typeof(RewriteEmptyStreamException), "RewriteRuleNodeStream test")]
149 [ExpectedException(typeof(RewriteEmptyStreamException), "RewriteRuleTokenStream test")]
158 [ExpectedException(typeof(RewriteEmptyStreamException),
168 [ExpectedException(typeof(RewriteEmptyStreamException), "RewriteRuleNodeStream test")]
177 [ExpectedException(typeof(RewriteEmptyStreamException), "RewriteRuleTokenStream test")]
189 [ExpectedException(typeof(RewriteCardinalityException), "RewriteRuleTokenStream test")]
252 [ExpectedException(typeof(RewriteCardinalityException),
308 [ExpectedException(typeof(RewriteCardinalityException), "RewriteRuleNodeStream test")]
/external/mockito/src/test/java/org/mockito/verification/
DNegativeDurationTest.java9 import org.junit.rules.ExpectedException;
15 public ExpectedException expectedException = ExpectedException.none();
/external/mockito/src/test/java/org/mockito/internal/util/
DChecksTest.java12 import org.junit.rules.ExpectedException;
16 public ExpectedException expectedException = ExpectedException.none();
DTimerTest.java10 import org.junit.rules.ExpectedException;
16 public ExpectedException expectedException = ExpectedException.none();
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/internal/
DUtilsTest.java23 import org.junit.rules.ExpectedException;
30 @Rule public ExpectedException thrown = ExpectedException.none();
DCurrentStateTest.java24 import org.junit.rules.ExpectedException;
32 @Rule public final ExpectedException thrown = ExpectedException.none();
/external/opencensus-java/api/src/test/java/io/opencensus/trace/export/
DNoopRunningSpanStoreTest.java24 import org.junit.rules.ExpectedException;
35 @Rule public final ExpectedException thrown = ExpectedException.none();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/junit/rules/
DExpectedLogMessagesRuleTest.java7 import org.junit.rules.ExpectedException;
16 private ExpectedException expectedException = ExpectedException.none();
/external/opencensus-java/contrib/agent/src/test/java/io/opencensus/contrib/agent/bootstrap/
DTraceTrampolineTest.java25 import org.junit.rules.ExpectedException;
40 @Rule public final ExpectedException exception = ExpectedException.none();
DContextTrampolineTest.java23 import org.junit.rules.ExpectedException;
40 @Rule public final ExpectedException exception = ExpectedException.none();
/external/opencensus-java/api/src/test/java/io/opencensus/common/
DTimeUtilsTest.java23 import org.junit.rules.ExpectedException;
31 @Rule public ExpectedException thrown = ExpectedException.none();
DFunctionsTest.java23 import org.junit.rules.ExpectedException;
30 @Rule public ExpectedException thrown = ExpectedException.none();
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/
DMetricsTest.java24 import org.junit.rules.ExpectedException;
31 @Rule public ExpectedException thrown = ExpectedException.none();
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapComputeTester.java168 static class ExpectedException extends RuntimeException {} class in MapComputeTester
180 throw new ExpectedException(); in testCompute_presentFunctionThrows()
183 } catch (ExpectedException expected) { in testCompute_presentFunctionThrows()
197 throw new ExpectedException(); in testCompute_absentFunctionThrows()
200 } catch (ExpectedException expected) { in testCompute_absentFunctionThrows()
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandlerExportTest.java29 import org.junit.rules.ExpectedException;
42 @Rule public final ExpectedException thrown = ExpectedException.none();
/external/opencensus-java/api/src/test/java/io/opencensus/tags/
DTagsTest.java23 import org.junit.rules.ExpectedException;
30 @Rule public ExpectedException thrown = ExpectedException.none();
DTagKeyTest.java25 import org.junit.rules.ExpectedException;
32 @Rule public final ExpectedException thrown = ExpectedException.none();
DTagValueTest.java25 import org.junit.rules.ExpectedException;
32 @Rule public final ExpectedException thrown = ExpectedException.none();
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DMetricProducerManagerTest.java24 import org.junit.rules.ExpectedException;
37 @Rule public final ExpectedException thrown = ExpectedException.none();
/external/objenesis/main/src/test/java/org/objenesis/
DObjenesisTest.java20 import org.junit.rules.ExpectedException;
32 public ExpectedException expectedException = ExpectedException.none();
/external/junit-params/src/test/java/junitparams/
DRulesTest.java6 import org.junit.rules.ExpectedException;
23 public ExpectedException exception = ExpectedException.none();
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DLowerCaseBase16EncodingTest.java24 import org.junit.rules.ExpectedException;
33 @Rule public ExpectedException thrown = ExpectedException.none();
DTracingTest.java26 import org.junit.rules.ExpectedException;
33 @Rule public ExpectedException thrown = ExpectedException.none();

123456