/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
D | MockSocketConnection.java | 167 throw new AssertionError(); in bind() 173 throw new AssertionError(); in connect() 178 throw new AssertionError(); in connect() 183 throw new AssertionError(); in getChannel() 188 throw new AssertionError(); in getInetAddress() 193 throw new AssertionError(); in getKeepAlive() 198 throw new AssertionError(); in getLocalAddress() 203 throw new AssertionError(); in getLocalPort() 208 throw new AssertionError(); in getLocalSocketAddress() 213 throw new AssertionError(); in getOOBInline() [all …]
|
D | MockServerSocket.java | 113 throw new AssertionError(); in bind() 118 throw new AssertionError(); in bind() 123 throw new AssertionError(); in getChannel() 128 throw new AssertionError(); in getInetAddress() 133 throw new AssertionError(); in getLocalPort() 138 throw new AssertionError(); in getLocalSocketAddress() 143 throw new AssertionError(); in getReceiveBufferSize() 148 throw new AssertionError(); in getReuseAddress() 153 throw new AssertionError(); in getSoTimeout() 158 throw new AssertionError(); in isBound() [all …]
|
/external/conscrypt/publicapi/src/test/java/android/net/ssl/ |
D | SSLEnginesTest.java | 45 ByteBuffer byteBuffer) { throw new AssertionError(); } in wrap() 47 int i, int i1) { throw new AssertionError(); } in unwrap() 48 @Override public Runnable getDelegatedTask() { throw new AssertionError(); } in getDelegatedTask() 49 @Override public void closeInbound() { throw new AssertionError(); } in closeInbound() 50 @Override public boolean isInboundDone() { throw new AssertionError(); } in isInboundDone() 51 @Override public void closeOutbound() { throw new AssertionError(); } in closeOutbound() 52 @Override public boolean isOutboundDone() { throw new AssertionError(); } in isOutboundDone() 53 @Override public String[] getSupportedCipherSuites() { throw new AssertionError(); } in getSupportedCipherSuites() 54 @Override public String[] getEnabledCipherSuites() { throw new AssertionError(); } in getEnabledCipherSuites() 55 … @Override public void setEnabledCipherSuites(String[] strings) { throw new AssertionError(); } in setEnabledCipherSuites() [all …]
|
D | SSLSocketsTest.java | 48 @Override public String[] getSupportedCipherSuites() { throw new AssertionError(); } in getSupportedCipherSuites() 49 @Override public String[] getEnabledCipherSuites() { throw new AssertionError(); } in getEnabledCipherSuites() 50 … @Override public void setEnabledCipherSuites(String[] strings) { throw new AssertionError(); } in setEnabledCipherSuites() 51 @Override public String[] getSupportedProtocols() { throw new AssertionError(); } in getSupportedProtocols() 52 @Override public String[] getEnabledProtocols() { throw new AssertionError(); } in getEnabledProtocols() 53 @Override public void setEnabledProtocols(String[] strings) { throw new AssertionError(); } in setEnabledProtocols() 54 @Override public SSLSession getSession() { throw new AssertionError(); } in getSession() 56 … HandshakeCompletedListener handshakeCompletedListener) { throw new AssertionError(); } in addHandshakeCompletedListener() 58 … HandshakeCompletedListener handshakeCompletedListener) { throw new AssertionError(); } in removeHandshakeCompletedListener() 59 @Override public void startHandshake() { throw new AssertionError(); } in startHandshake() [all …]
|
/external/testng/src/test/java/test/asserttests/ |
D | ArrayEqualityAssertTest.java | 29 @Test(expectedExceptions = AssertionError.class) 41 @Test(expectedExceptions = AssertionError.class) 55 @Test(expectedExceptions = AssertionError.class) 63 @Test(expectedExceptions = AssertionError.class) 87 @Test(expectedExceptions = AssertionError.class) 98 @Test(expectedExceptions = AssertionError.class) 120 @Test(expectedExceptions = AssertionError.class) 142 @Test(expectedExceptions = AssertionError.class) 151 @Test(expectedExceptions = AssertionError.class) 166 @Test(expectedExceptions = AssertionError.class) [all …]
|
D | AssertTest.java | 25 @Test(expectedExceptions = AssertionError.class) 39 @Test(expectedExceptions = AssertionError.class) 46 @Test(expectedExceptions = AssertionError.class) 52 @Test(expectedExceptions = AssertionError.class) 76 @Test(expectedExceptions = AssertionError.class) 85 } catch (AssertionError ex) { in expectThrowsIncludesAnInformativeDefaultMessage() 101 @Test(expectedExceptions = AssertionError.class) 114 } catch (AssertionError ex) { in expectThrowsWrapsAndPropagatesUnexpectedExceptions() 128 } catch (AssertionError error) { in expectThrowsSuppliesACoherentErrorMessageUponTypeMismatch()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | SafeJUnitRuleTest.java | 45 rule.expectFailure(AssertionError.class, "x"); in rule_threw_exception() 50 throw new AssertionError("x"); in rule_threw_exception() 57 rule.expectFailure(AssertionError.class, "x"); in expected_exception_but_no_exception() 76 rule.expectFailure(AssertionError.class, "FOO"); in expected_exception_message_did_not_match() 82 throw new AssertionError("BAR"); in expected_exception_message_did_not_match() 86 } catch (AssertionError throwable) { in expected_exception_message_did_not_match() 93 rule.expectFailure(AssertionError.class, "x"); in expected_exception_type_did_not_match() 103 } catch (AssertionError throwable) { in expected_exception_type_did_not_match() 112 throw new AssertionError("x"); in expected_exception_assert_did_not_match() 124 } catch (AssertionError throwable) { in expected_exception_assert_did_not_match()
|
D | JUnitResultAssert.java | 31 throw new AssertionError(formatFailures(result.getFailures())); in isSuccessful() 42 …throw new AssertionError("Incorrect failure type, expected: " + expectedException + ", actual: " +… in fails() 54 …throw new AssertionError("Wrong number of failures, expected: " + expectedFailureCount + ", actual… in fails() 69 throw new AssertionError("Actual failure #" + (i+1) in failsExactly() 99 …throw new AssertionError("Method '" + methodName + "' did not fail with: " + expectedException.get… in fails() 114 …throw new AssertionError("Expected " + successCount + " passes but " + i + "/" + result.getRunCoun… in succeeds()
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util_test.py | 108 with self.assertRaisesRegex(AssertionError, 126 with self.assertRaisesRegex(AssertionError, "hash_table_"): 187 with self.assertRaisesRegex(AssertionError, r'meta_graph_version: "inner"'): 268 with self.assertRaises(AssertionError): 294 with self.assertRaisesRegex(AssertionError, r"Not equal to tolerance"): 299 with self.assertRaisesRegex(AssertionError, r"not close dif"): 337 with self.assertRaisesRegex(AssertionError, r"mismatched keys"): 341 with self.assertRaisesRegex(AssertionError, r"Not equal to tolerance"): 343 with self.assertRaisesRegex(AssertionError, r"Shape mismatch"): 347 with self.assertRaisesRegex(AssertionError, r"Not equal to tolerance"): [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | RegularImmutableMultiset.java | 35 throw new AssertionError(); in count() 40 throw new AssertionError(); in elementSet() 45 throw new AssertionError(); in getEntry() 50 throw new AssertionError(); in isPartialView() 55 throw new AssertionError(); in size()
|
/external/grpc-grpc/src/ruby/pb/test/ |
D | client.rb | 63 class AssertionError < RuntimeError; end class 68 fail AssertionError, msg unless yield 508 fail AssertionError, "Expected BadStatus. Received: #{e.inspect}" 510 fail AssertionError, "GRPC::Unimplemented should have been raised. Was not." 519 fail AssertionError, "Expected BadStatus. Received: #{e.inspect}" 521 fail AssertionError, "GRPC::Unimplemented should have been raised. Was not." 542 fail AssertionError, 547 fail AssertionError, "Expected BadStatus. Received: #{e.inspect}" 551 fail AssertionError, "Did not see expected status from UnaryCall" 566 fail AssertionError, [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | OptionalMethod.java | 93 AssertionError error = new AssertionError("Unexpected exception"); in invokeOptionalWithoutCheckedException() 109 throw new AssertionError("Method " + methodName + " not supported for object " + target); in invoke() 115 AssertionError error = new AssertionError("Unexpectedly could not call: " + m); in invoke() 136 AssertionError error = new AssertionError("Unexpected exception"); in invokeWithoutCheckedException()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/ |
D | OptionalMethod.java | 94 AssertionError error = new AssertionError("Unexpected exception"); in invokeOptionalWithoutCheckedException() 110 throw new AssertionError("Method " + methodName + " not supported for object " + target); in invoke() 116 AssertionError error = new AssertionError("Unexpectedly could not call: " + m); in invoke() 137 AssertionError error = new AssertionError("Unexpected exception"); in invokeWithoutCheckedException()
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | OptionalMethod.java | 98 AssertionError error = new AssertionError("Unexpected exception"); in invokeOptionalWithoutCheckedException() 114 throw new AssertionError("Method " + methodName + " not supported for object " + target); in invoke() 120 AssertionError error = new AssertionError("Unexpectedly could not call: " + m); in invoke() 141 AssertionError error = new AssertionError("Unexpected exception"); in invokeWithoutCheckedException()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MeasureUnitThreadTest.java | 45 AssertionError error; 61 } catch (AssertionError e) { in run() 89 AssertionError error = new AssertionError("Failure in thread 1"); in NumericRaceTest() 94 AssertionError error = new AssertionError("Failure in thread 2"); in NumericRaceTest()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitThreadTest.java | 42 AssertionError error; 58 } catch (AssertionError e) { in run() 86 AssertionError error = new AssertionError("Failure in thread 1"); in NumericRaceTest() 91 AssertionError error = new AssertionError("Failure in thread 2"); in NumericRaceTest()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Cut.java | 143 throw new AssertionError("this statement should be unreachable"); in typeAsUpperBound() 155 throw new AssertionError("this statement should be unreachable"); in withUpperBoundType() 165 throw new AssertionError(); in describeAsUpperBound() 175 throw new AssertionError(); in greatestValueBelow() 237 throw new AssertionError("this statement should be unreachable"); in typeAsLowerBound() 248 throw new AssertionError("this statement should be unreachable"); in withLowerBoundType() 259 throw new AssertionError(); in describeAsLowerBound() 269 throw new AssertionError(); in leastValueAbove() 332 throw new AssertionError(); in withLowerBoundType() 345 throw new AssertionError(); in withUpperBoundType() [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | Cut.java | 143 throw new AssertionError("this statement should be unreachable"); in typeAsUpperBound() 155 throw new AssertionError("this statement should be unreachable"); in withUpperBoundType() 165 throw new AssertionError(); in describeAsUpperBound() 175 throw new AssertionError(); in greatestValueBelow() 237 throw new AssertionError("this statement should be unreachable"); in typeAsLowerBound() 248 throw new AssertionError("this statement should be unreachable"); in withLowerBoundType() 259 throw new AssertionError(); in describeAsLowerBound() 269 throw new AssertionError(); in leastValueAbove() 332 throw new AssertionError(); in withLowerBoundType() 345 throw new AssertionError(); in withUpperBoundType() [all …]
|
/external/testng/src/main/java/org/testng/asserts/ |
D | SoftAssert.java | 14 private final Map<AssertionError, IAssert<?>> m_errors = Maps.newLinkedHashMap(); 22 } catch (AssertionError ex) { in doAssert() 34 for (Map.Entry<AssertionError, IAssert<?>> ae : m_errors.entrySet()) { in assertAll() 43 throw new AssertionError(sb.toString()); in assertAll()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithVariablesTest.java | 48 …assertThrows(AssertionError.class, () -> parseVariableDeclarationExpr("int a[],b[][]").getCommonTy… in getCommonTypeFailsOnArrayDifferences() 53 assertThrows(AssertionError.class, () -> { in getCommonTypeFailsOnDodgySetterUsage() 62 assertThrows(AssertionError.class, () -> { in getCommonTypeFailsOnInvalidEmptyVariableList() 88 assertThrows(AssertionError.class, () -> { in getElementTypeFailsOnDodgySetterUsage() 97 assertThrows(AssertionError.class, () -> { in getElementTypeFailsOnInvalidEmptyVariableList()
|
/external/turbine/java/com/google/turbine/bytecode/ |
D | ConstantPoolReader.java | 101 throw new AssertionError(String.format("bad constant pool tag: 0x%x", tag)); in skipConstantPool() 110 throw new AssertionError(String.format("bad tag: %x", tag)); in classInfo() 121 throw new AssertionError(String.format("bad tag: %x", tag)); in utf8() 131 throw new AssertionError(String.format("bad tag: %x", tag)); in moduleInfo() 142 throw new AssertionError(String.format("bad tag: %x", tag)); in packageInfo() 169 throw new AssertionError(String.format("bad tag: %x", tag)); in constant()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/ |
D | KeyManagerFactoryTest.java | 379 throw new AssertionError(e); in engineGetKey() 388 throw new AssertionError(e); in engineGetCertificateChain() 397 throw new AssertionError(e); in engineGetCertificate() 406 throw new AssertionError(e); in engineGetCreationDate() 416 throw new AssertionError(e); in engineSetKeyEntry() 426 throw new AssertionError(e); in engineSetKeyEntry() 436 throw new AssertionError(e); in engineSetCertificateEntry() 445 throw new AssertionError(e); in engineDeleteEntry() 454 throw new AssertionError(e); in engineAliases() 463 throw new AssertionError(e); in engineContainsAlias() [all …]
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | KeyManagerFactoryTest.java | 383 throw new AssertionError(e); in engineGetKey() 392 throw new AssertionError(e); in engineGetCertificateChain() 401 throw new AssertionError(e); in engineGetCertificate() 410 throw new AssertionError(e); in engineGetCreationDate() 420 throw new AssertionError(e); in engineSetKeyEntry() 430 throw new AssertionError(e); in engineSetKeyEntry() 440 throw new AssertionError(e); in engineSetCertificateEntry() 449 throw new AssertionError(e); in engineDeleteEntry() 458 throw new AssertionError(e); in engineAliases() 467 throw new AssertionError(e); in engineContainsAlias() [all …]
|
/external/guava/android/guava/src/com/google/common/io/ |
D | ByteStreams.java | 364 throw new AssertionError(impossible); in readByte() 513 throw new AssertionError(impossible); in write() 522 throw new AssertionError(impossible); in write() 531 throw new AssertionError(impossible); in write() 540 throw new AssertionError(impossible); in writeBoolean() 549 throw new AssertionError(impossible); in writeByte() 558 throw new AssertionError(impossible); in writeBytes() 567 throw new AssertionError(impossible); in writeChar() 576 throw new AssertionError(impossible); in writeChars() 585 throw new AssertionError(impossible); in writeDouble() [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | ByteStreams.java | 364 throw new AssertionError(impossible); in readByte() 513 throw new AssertionError(impossible); in write() 522 throw new AssertionError(impossible); in write() 531 throw new AssertionError(impossible); in write() 540 throw new AssertionError(impossible); in writeBoolean() 549 throw new AssertionError(impossible); in writeByte() 558 throw new AssertionError(impossible); in writeBytes() 567 throw new AssertionError(impossible); in writeChar() 576 throw new AssertionError(impossible); in writeChars() 585 throw new AssertionError(impossible); in writeDouble() [all …]
|