Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_calendar.py502 def assertFailure(self, *args): member in CommandLineTestCase
514 self.assertFailure('-z')
517 self.assertFailure('-t', 'html', '2004', '1')
535 self.assertFailure('-e')
536 self.assertFailure('--encoding')
541 self.assertFailure('-L')
542 self.assertFailure('--locale')
543 self.assertFailure('-L', 'en')
559 self.assertFailure('-w')
560 self.assertFailure('--width')
[all …]
/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/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DWebSocketCallTest.java94 listener.assertFailure(ProtocolException.class, "Expected HTTP 101 response but was '200 OK'"); in okButNotOk()
100 listener.assertFailure(ProtocolException.class, in notFound()
110 listener.assertFailure(ProtocolException.class, in missingConnectionHeader()
121 listener.assertFailure(ProtocolException.class, in wrongConnectionHeader()
131 listener.assertFailure(ProtocolException.class, in missingUpgradeHeader()
142 listener.assertFailure(ProtocolException.class, in wrongUpgradeHeader()
152 listener.assertFailure(ProtocolException.class, in missingMagicHeader()
163 listener.assertFailure(ProtocolException.class, in wrongMagicHeader()
DWebSocketRecorder.java134 public void assertFailure(Class<? extends IOException> cls, String message) { in assertFailure() method in WebSocketRecorder
/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/sandbox/
Dtest_sandbox.py19 def assertFailure(self, status): member in SandboxTests
52 self.assertFailure(p.returncode)
58 self.assertFailure(p.returncode)
70 self.assertFailure(p.returncode)
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/
DMainTest.java25 assertFailure(); in should_print_usage_when_no_arguments_given()
37 assertFailure(); in should_print_error_message_when_invalid_command_is_given()
DCommandTestBase.java49 protected void assertFailure() { in assertFailure() method in CommandTestBase
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/
DClassInfoTest.java27 assertFailure(); in should_print_usage_when_invalid_option_is_given()
DExecInfoTest.java39 assertFailure(); in should_print_usage_when_invalid_argument_is_given()
DMergeTest.java44 assertFailure(); in should_print_usage_when_no_options_are_given()
DDumpTest.java53 assertFailure(); in should_print_usage_when_no_argument_is_given()
DReportTest.java39 assertFailure(); in should_print_usage_when_no_options_are_given()
DInstrumentTest.java49 assertFailure(); in should_print_usage_when_no_options_are_given()
/external/selinux/python/audit2allow/
Dtest_audit2allow.py18 def assertFailure(self, status): member in Audit2allowTests
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java143 public void assertFailure(String... messages) { in assertFailure() method in RecordedResponse
DCallTest.java1539 callback.await(server.url("/20")).assertFailure("Too many follow-up requests: 21"); in doesNotFollow21Redirects_Async()
1627 callback.await(server.url("/a")).assertFailure("Canceled"); in cancelTagImmediatelyAfterEnqueue()
1707 callback.await(requestB.httpUrl()).assertFailure("Canceled"); in canceledBeforeIOSignalsOnFailure()
1738 callback.await(requestA.httpUrl()).assertFailure("Canceled", "stream was reset: CANCEL", in canceledBeforeResponseReadSignalsOnFailure()
/external/selinux/python/sepolicy/
Dtest_sepolicy.py18 def assertFailure(self, status): member in SepolicyTests
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DRealWebSocketTest.java391 clientListener.assertFailure(ProtocolException.class, "Control frames must be final."); in protocolErrorBeforeCloseSendsClose()
404 clientListener.assertFailure(ProtocolException.class, "Control frames must be final."); in protocolErrorAfterCloseDoesNotSendClose()
/external/selinux/python/semanage/
Dtest-semanage.py20 def assertFailure(self, status): member in SemanageTests