Home
last modified time | relevance | path

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

/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DWebSocketCallTest.java112 listener.assertFailure(ProtocolException.class, "Expected HTTP 101 response but was '200 OK'"); in okButNotOk()
118 listener.assertFailure(ProtocolException.class, in notFound()
128 listener.assertFailure(ProtocolException.class, in missingConnectionHeader()
138 listener.assertFailure(ProtocolException.class, in wrongConnectionHeader()
148 listener.assertFailure(ProtocolException.class, in missingUpgradeHeader()
159 listener.assertFailure(ProtocolException.class, in wrongUpgradeHeader()
169 listener.assertFailure(ProtocolException.class, in missingMagicHeader()
180 listener.assertFailure(ProtocolException.class, in wrongMagicHeader()
DWebSocketRecorder.java115 public void assertFailure(Class<? extends IOException> cls, String message) { in assertFailure() method in WebSocketRecorder
/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/selinux/policycoreutils/sandbox/
Dtest_sandbox.py13 def assertFailure(self, status): member in SandboxTests
45 self.assertFailure(p.returncode)
51 self.assertFailure(p.returncode)
63 self.assertFailure(p.returncode)
/external/selinux/policycoreutils/audit2allow/
Dtest_audit2allow.py13 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.java163 .assertFailure("No route to localhost:65536; port is out of range"); in invalidPort()
1436 callback.await(server.getUrl("/20")).assertFailure("Too many follow-up requests: 21"); in doesNotFollow21Redirects_Async()
1459 callback.await(server.getUrl("/a")).assertFailure("Canceled"); in cancelTagImmediatelyAfterEnqueue()
1534 callback.await(requestB.url()).assertFailure("Canceled"); in canceledBeforeIOSignalsOnFailure()
1560 callback.await(requestA.url()).assertFailure("Canceled", "stream was reset: CANCEL", in canceledBeforeResponseReadSignalsOnFailure()
/external/selinux/policycoreutils/sepolicy/
Dtest_sepolicy.py13 def assertFailure(self, status): member in SepolicyTests
/external/selinux/policycoreutils/semanage/
Dtest-semanage.py17 def assertFailure(self, status): member in SemanageTests