Home
last modified time | relevance | path

Searched refs:assertFailure (Results 1 – 12 of 12) sorted by relevance

/external/guice/core/test/com/google/inject/
DImplicitBindingTest.java137 assertFailure(injector, Invalid.class); in testCircularJitBindingsLeaveNoResidue()
138 assertFailure(injector, InvalidLinked.class); in testCircularJitBindingsLeaveNoResidue()
139 assertFailure(injector, InvalidLinkedImpl.class); in testCircularJitBindingsLeaveNoResidue()
140 assertFailure(injector, InvalidLinked2.class); in testCircularJitBindingsLeaveNoResidue()
141 assertFailure(injector, InvalidLinked2Impl.class); in testCircularJitBindingsLeaveNoResidue()
142 assertFailure(injector, InvalidProvidedBy.class); in testCircularJitBindingsLeaveNoResidue()
143 assertFailure(injector, InvalidProvidedByProvider.class); in testCircularJitBindingsLeaveNoResidue()
144 assertFailure(injector, InvalidProvidedBy2.class); in testCircularJitBindingsLeaveNoResidue()
145 assertFailure(injector, InvalidProvidedBy2Provider.class); in testCircularJitBindingsLeaveNoResidue()
146 assertFailure(injector, Invalid2.class); in testCircularJitBindingsLeaveNoResidue()
[all …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java51 assertFailure(tester); in testCanCatchDifferentLengthOfIteration()
62 assertFailure(tester); in testCanCatchDifferentContents()
73 assertFailure(tester); in testCanCatchDifferentRemoveBehaviour()
93 assertFailure(tester); in testUnknownOrderUnrecognizedElement()
252 assertFailure(tester); in testMissingException()
263 assertFailure(tester); in testUnexpectedException()
315 assertFailure(tester); in testMismatchedException()
318 private static void assertFailure(IteratorTester<?> tester) { in assertFailure() method in IteratorTesterTest
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/
DForwardingWrapperTesterTest.java87 assertFailure(Runnable.class, new Function<Runnable, Runnable>() { in testFailsToForwardToString()
100 assertFailure(Runnable.class, new Function<Runnable, Runnable>() { in testFailsToForwardHashCode()
137 assertFailure(Runnable.class, new Function<Runnable, Runnable>() { in testFailsToForwardEquals()
149 assertFailure(Runnable.class, in testFailsToForward()
160 assertFailure(Runnable.class, in testRedundantForwarding()
174 assertFailure(Adder.class, new Function<Adder, Adder>() { in testFailsToForwardParameters()
182 assertFailure(Arithmetic.class, new Function<Arithmetic, Arithmetic>() { in testForwardsToTheWrongMethod()
190 assertFailure(Adder.class, new Function<Adder, Adder>() { in testFailsToForwardReturnValue()
198 assertFailure(Adder.class, new Function<Adder, Adder>() { in testFailsToPropagateException()
218 private <T> void assertFailure( in assertFailure() method in ForwardingWrapperTesterTest
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DWebSocketCallTest.java130 listener.assertFailure(ProtocolException.class, "Expected HTTP 101 response but was '200 OK'"); in okButNotOk()
136 listener.assertFailure(ProtocolException.class, in notFound()
146 listener.assertFailure(ProtocolException.class, in missingConnectionHeader()
157 listener.assertFailure(ProtocolException.class, in wrongConnectionHeader()
167 listener.assertFailure(ProtocolException.class, in missingUpgradeHeader()
178 listener.assertFailure(ProtocolException.class, in wrongUpgradeHeader()
188 listener.assertFailure(ProtocolException.class, in missingMagicHeader()
199 listener.assertFailure(ProtocolException.class, in wrongMagicHeader()
DWebSocketRecorder.java114 public void assertFailure(Class<? extends IOException> cls, String message) { in assertFailure() method in WebSocketRecorder
/external/selinux/policycoreutils/sandbox/
Dtest_sandbox.py18 def assertFailure(self, status): member in SandboxTests
50 self.assertFailure(p.returncode)
56 self.assertFailure(p.returncode)
68 self.assertFailure(p.returncode)
/external/selinux/policycoreutils/audit2allow/
Dtest_audit2allow.py18 def assertFailure(self, status): member in Audit2allowTests
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DRealWebSocketTest.java276 clientListener.assertFailure(ProtocolException.class, "Control frames must be final."); in protocolErrorBeforeCloseSendsClose()
288 clientListener.assertFailure(ProtocolException.class, "Control frames must be final."); in protocolErrorAfterCloseDoesNotSendClose()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java143 public void assertFailure(String... messages) { in assertFailure() method in RecordedResponse
DCallTest.java1433 callback.await(server.url("/20")).assertFailure("Too many follow-up requests: 21"); in doesNotFollow21Redirects_Async()
1521 callback.await(server.url("/a")).assertFailure("Canceled"); in cancelTagImmediatelyAfterEnqueue()
1596 callback.await(requestB.httpUrl()).assertFailure("Canceled"); in canceledBeforeIOSignalsOnFailure()
1622 callback.await(requestA.httpUrl()).assertFailure("Canceled", "stream was reset: CANCEL", in canceledBeforeResponseReadSignalsOnFailure()
/external/selinux/policycoreutils/sepolicy/
Dtest_sepolicy.py18 def assertFailure(self, status): member in SepolicyTests
/external/selinux/policycoreutils/semanage/
Dtest-semanage.py23 def assertFailure(self, status): member in SemanageTests