OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expectThrows
(Results
1 - 19
of
19
) sorted by null
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
SigXmlTest.java
22
import static org.testng.Assert.
expectThrows
;
68
expectThrows
(
97
expectThrows
(
109
expectThrows
(
121
expectThrows
(
133
expectThrows
(
CertXmlTest.java
22
import static org.testng.Assert.
expectThrows
;
80
expectThrows
(
92
expectThrows
(
104
expectThrows
(
116
expectThrows
(
129
expectThrows
(
CertUtilsTest.java
24
import static org.testng.Assert.
expectThrows
;
175
expectThrows
(
188
expectThrows
(
201
expectThrows
(
341
expectThrows
(
/external/testng/src/test/java/test/asserttests/
AssertTest.java
14
import static org.testng.Assert.
expectThrows
;
78
expectThrows
(Throwable.class, nonThrowingRunnable());
84
expectThrows
(Throwable.class, nonThrowingRunnable());
96
Throwable throwable =
expectThrows
(Throwable.class, throwingRunnable(npe));
105
expectThrows
(IOException.class, throwingRunnable(npe));
113
expectThrows
(IOException.class, throwingRunnable(npe));
127
expectThrows
(IOException.class, throwingRunnable(npe));
/cts/tests/autofillservice/src/android/autofillservice/cts/
SafeCleanerRuleTest.java
22
import static org.testng.Assert.
expectThrows
;
77
final Throwable actualException =
expectThrows
(RuntimeException.class,
85
final Throwable actualException =
expectThrows
(RuntimeException.class,
96
final Throwable actualException =
expectThrows
(RuntimeException.class,
109
final Throwable actualException =
expectThrows
(RuntimeException.class,
124
final Throwable actualException =
expectThrows
(RuntimeException.class,
142
final Throwable actualException =
expectThrows
(RuntimeException.class,
160
final Throwable actualException =
expectThrows
(RuntimeException.class,
176
final Throwable actualException =
expectThrows
(RuntimeException.class,
211
final SafeCleanerRule.MultipleExceptions actualException =
expectThrows
(
[
all
...]
TimeoutTest.java
25
import static org.testng.Assert.
expectThrows
;
118
final RetryableException e =
expectThrows
(RetryableException.class,
/art/test/139-register-natives/src/
Main.java
30
expectThrows
(new TestSuper());
52
private static void
expectThrows
(Base b) {
/frameworks/base/services/robotests/src/com/android/server/backup/
BackupManagerServiceTest.java
34
import static org.testng.Assert.
expectThrows
;
162
expectThrows
(
202
expectThrows
(
244
expectThrows
(
294
expectThrows
(
393
expectThrows
(
458
expectThrows
(
478
expectThrows
(
497
expectThrows
(
517
expectThrows
(
[
all
...]
TransportManagerTest.java
34
import static org.testng.Assert.
expectThrows
;
534
expectThrows
(
537
expectThrows
(
542
expectThrows
(
545
expectThrows
(
/cts/tests/autofillservice/src/android/autofillservice/cts/common/
StateChangerRuleTest.java
29
import static org.testng.Assert.
expectThrows
;
121
final RuntimeException actualException =
expectThrows
(RuntimeException.class,
138
final RuntimeException actualException =
expectThrows
(RuntimeException.class,
152
final RuntimeException actualException =
expectThrows
(RuntimeException.class,
168
final RuntimeException actualException =
expectThrows
(RuntimeException.class,
StateKeeperRuleTest.java
29
import static org.testng.Assert.
expectThrows
;
77
final RuntimeException actualException =
expectThrows
(RuntimeException.class,
103
final RuntimeException actualException =
expectThrows
(RuntimeException.class,
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
CollectionRetainAllTester.java
131
expectThrows
(empty);
162
expectThrows
(disjoint);
192
expectThrows
(nonEmptyProperSubset);
222
expectThrows
(partialOverlap);
325
private void
expectThrows
(Target target) {
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
SecureBoxTest.java
21
import static org.testng.Assert.
expectThrows
;
250
expectThrows
(
264
expectThrows
(
278
expectThrows
(
334
expectThrows
(
/frameworks/base/services/robotests/src/com/android/server/backup/restore/
ActiveRestoreSessionTest.java
35
import static org.testng.Assert.
expectThrows
;
155
expectThrows
(
166
expectThrows
(
291
expectThrows
(
424
expectThrows
(
507
expectThrows
(
533
expectThrows
(
/frameworks/base/services/robotests/src/com/android/server/backup/transport/
TransportClientTest.java
35
import static org.testng.Assert.
expectThrows
;
459
expectThrows
(RuntimeException.class, mTransportClient::markAsDisposed);
468
expectThrows
(RuntimeException.class, mTransportClient::markAsDisposed);
502
expectThrows
(
/external/testng/src/main/java/org/testng/
Assert.java
932
* This interface facilitates the use of {@link #
expectThrows
} from Java 8. It allows
934
*
expectThrows
without wrapping, even if they declare checked exceptions.
966
expectThrows
(throwableClass, runnable);
981
public static <T extends Throwable> T
expectThrows
(Class<T> throwableClass, ThrowingRunnable runnable) {
[
all
...]
/cts/tests/libcore/javautilcollections/libs/
guava-testlib-20.0.jar
/external/guice/lib/build/
guava-testlib-16.0.1.jar
/prebuilts/tools/common/m2/repository/org/testng/testng/6.9.10/
testng-6.9.10.jar
Completed in 340 milliseconds