OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expectedException
(Results
1 - 12
of
12
) sorted by null
/dalvik/tests/064-field-access/src/
Main.java
46
* The "
expectedException
" must match the class of the exception thrown,
52
Class
expectedException
) {
89
if (
expectedException
!= null) {
92
+
expectedException
);
96
if (
expectedException
== null) {
101
if (!
expectedException
.equals(ex.getClass())) {
103
+
expectedException
.getName() + ", got "
284
Class
expectedException
) {
321
if (
expectedException
!= null) {
324
+
expectedException
);
[
all
...]
/art/test/064-field-access/src/
Main.java
45
* The "
expectedException
" must match the class of the exception thrown,
51
Class
expectedException
) {
87
if (
expectedException
!= null) {
90
"', was expecting " +
expectedException
);
94
if (
expectedException
== null) {
99
if (!
expectedException
.equals(ex.getClass())) {
101
+
expectedException
.getName() + ", got "
600
Class
expectedException
) {
637
if (
expectedException
!= null) {
640
"', was expecting " +
expectedException
);
[
all
...]
/cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteStatementTest.java
267
SQLiteDoneException
expectedException
= null;
271
expectedException
= ex;
278
assertNotNull("Should have thrown SQLiteDoneException",
expectedException
);
288
SQLiteDoneException
expectedException
= null;
292
expectedException
= ex;
299
assertNotNull("Should have thrown SQLiteDoneException",
expectedException
);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
ECFieldF2m_ImplTest.java
85
* @param
expectedException
90
final Exception
expectedException
) {
94
this.x =
expectedException
;
/external/objenesis/tck/test/org/objenesis/tck/
CandidateLoaderTest.java
95
catch(IOException
expectedException
) {
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
FieldTest.java
146
Class
expectedException
) {
178
if (
expectedException
!= null) {
179
fail("expected exception " +
expectedException
.getName());
182
if (
expectedException
== null) {
186
+
expectedException
.getName() + " and got " + e, e
187
.getClass().equals(
expectedException
));
194
Class
expectedException
, Object value) {
225
if (
expectedException
!= null) {
226
fail("expected exception " +
expectedException
.getName());
229
if (
expectedException
== null)
[
all
...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
ECFieldF2mTest.java
86
* @param
expectedException
91
final Exception
expectedException
) {
95
this.x =
expectedException
;
/libcore/luni/src/test/java/tests/security/spec/
ECFieldF2mTest.java
88
* @param
expectedException
93
final Exception
expectedException
) {
97
this.x =
expectedException
;
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
FieldTest.java
255
Class
expectedException
) {
287
if (
expectedException
!= null) {
288
fail("expected exception " +
expectedException
.getName());
291
if (
expectedException
== null) {
295
+
expectedException
.getName() + " and got " + e, e
296
.getClass().equals(
expectedException
));
303
Class
expectedException
, Object value) {
334
if (
expectedException
!= null) {
335
fail("expected exception " +
expectedException
.getName()
339
if (
expectedException
== null)
[
all
...]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketTest.java
561
final RuntimeException
expectedException
= new RuntimeException("expected");
579
throw
expectedException
;
588
assertSame(
expectedException
, test.actualException);
[
all
...]
/prebuilts/tools/common/easymock-tools/
easymock-3.1-tests.jar
/libcore/support/src/test/java/tests/resources/
junit4-4.3.1.jar
Completed in 266 milliseconds