Home
last modified time | relevance | path

Searched refs:AssertionError (Results 1 – 25 of 1006) sorted by relevance

12345678910>>...41

/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DMockSocketConnection.java167 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 …]
DMockServerSocket.java113 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/
DSSLEnginesTest.java43 ByteBuffer byteBuffer) throws SSLException { throw new AssertionError(); } in wrap()
45 int i, int i1) throws SSLException { throw new AssertionError(); } in unwrap()
46 @Override public Runnable getDelegatedTask() { throw new AssertionError(); } in getDelegatedTask()
47 @Override public void closeInbound() throws SSLException { throw new AssertionError(); } in closeInbound()
48 @Override public boolean isInboundDone() { throw new AssertionError(); } in isInboundDone()
49 @Override public void closeOutbound() { throw new AssertionError(); } in closeOutbound()
50 @Override public boolean isOutboundDone() { throw new AssertionError(); } in isOutboundDone()
51 @Override public String[] getSupportedCipherSuites() { throw new AssertionError(); } in getSupportedCipherSuites()
52 @Override public String[] getEnabledCipherSuites() { throw new AssertionError(); } in getEnabledCipherSuites()
53 … @Override public void setEnabledCipherSuites(String[] strings) { throw new AssertionError(); } in setEnabledCipherSuites()
[all …]
DSSLSocketsTest.java46 @Override public String[] getSupportedCipherSuites() { throw new AssertionError(); } in getSupportedCipherSuites()
47 @Override public String[] getEnabledCipherSuites() { throw new AssertionError(); } in getEnabledCipherSuites()
48 … @Override public void setEnabledCipherSuites(String[] strings) { throw new AssertionError(); } in setEnabledCipherSuites()
49 @Override public String[] getSupportedProtocols() { throw new AssertionError(); } in getSupportedProtocols()
50 @Override public String[] getEnabledProtocols() { throw new AssertionError(); } in getEnabledProtocols()
51 @Override public void setEnabledProtocols(String[] strings) { throw new AssertionError(); } in setEnabledProtocols()
52 @Override public SSLSession getSession() { throw new AssertionError(); } in getSession()
54 … HandshakeCompletedListener handshakeCompletedListener) { throw new AssertionError(); } in addHandshakeCompletedListener()
56 … HandshakeCompletedListener handshakeCompletedListener) { throw new AssertionError(); } in removeHandshakeCompletedListener()
57 @Override public void startHandshake() { throw new AssertionError(); } in startHandshake()
[all …]
/external/guava/guava-gwt/src/com/google/common/base/
DGwtSerializationDependencies.java46 throw new AssertionError(); in isPresent()
50 throw new AssertionError(); in get()
54 throw new AssertionError(); in or()
58 throw new AssertionError(); in or()
62 throw new AssertionError(); in or()
66 throw new AssertionError(); in orNull()
70 throw new AssertionError(); in asSet()
75 throw new AssertionError(); in transform()
79 throw new AssertionError(); in equals()
83 throw new AssertionError(); in hashCode()
[all …]
/external/testng/src/test/java/test/asserttests/
DArrayEqualityAssertTest.java29 @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 …]
DAssertTest.java25 @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/tensorflow/tensorflow/python/framework/
Dtest_util_test.py104 with self.assertRaisesRegexp(AssertionError,
162 with self.assertRaisesRegexp(AssertionError,
244 with self.assertRaises(AssertionError):
270 with self.assertRaisesRegexp(AssertionError, r"Not equal to tolerance"):
275 with self.assertRaisesRegexp(AssertionError, r"not close dif"):
313 with self.assertRaisesRegexp(AssertionError, r"mismatched keys"):
317 with self.assertRaisesRegexp(AssertionError, r"Not equal to tolerance"):
319 with self.assertRaisesRegexp(AssertionError, r"Shape mismatch"):
323 with self.assertRaisesRegexp(AssertionError, r"Not equal to tolerance"):
349 with self.assertRaisesRegexp(AssertionError,
[all …]
/external/mockito/src/test/java/org/mockitoutil/
DSafeJUnitRuleTest.java45 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()
DJUnitResultAssert.java31 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/grpc-grpc/src/ruby/pb/test/
Dclient.rb63 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/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DOptionalMethod.java94 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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DOptionalMethod.java93 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/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DOptionalMethod.java98 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/guava/guava/src/com/google/common/io/
DByteStreams.java250 throw new AssertionError(impossible); in readByte()
388 throw new AssertionError(impossible); in write()
396 throw new AssertionError(impossible); in write()
404 throw new AssertionError(impossible); in write()
412 throw new AssertionError(impossible); in writeBoolean()
420 throw new AssertionError(impossible); in writeByte()
428 throw new AssertionError(impossible); in writeBytes()
436 throw new AssertionError(impossible); in writeChar()
444 throw new AssertionError(impossible); in writeChars()
452 throw new AssertionError(impossible); in writeDouble()
[all …]
/external/guava/guava/src/com/google/common/collect/
DCut.java129 throw new AssertionError("this statement should be unreachable"); in typeAsUpperBound()
137 throw new AssertionError("this statement should be unreachable"); in withUpperBoundType()
143 throw new AssertionError(); in describeAsUpperBound()
151 throw new AssertionError(); in greatestValueBelow()
195 throw new AssertionError("this statement should be unreachable"); in typeAsLowerBound()
202 throw new AssertionError("this statement should be unreachable"); in withLowerBoundType()
209 throw new AssertionError(); in describeAsLowerBound()
216 throw new AssertionError(); in leastValueAbove()
260 throw new AssertionError(); in withLowerBoundType()
271 throw new AssertionError(); in withUpperBoundType()
[all …]
/external/turbine/java/com/google/turbine/binder/
DConstEvaluator.java143 throw new AssertionError(a.constantTypeKind()); in eval()
147 throw new AssertionError(t.kind()); in eval()
165 throw new AssertionError(t.kind()); in eval()
186 throw new AssertionError(type.kind()); in evalClassLiteralType()
324 throw new AssertionError(ty.tyKind()); in cast()
349 throw new AssertionError(kind); in coerce()
383 throw new AssertionError(t.op()); in evalUnary()
392 throw new AssertionError(expr.constantTypeKind()); in unaryNegate()
404 throw new AssertionError(expr.constantTypeKind()); in bitwiseComp()
420 throw new AssertionError(expr.constantTypeKind()); in unaryPlus()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitThreadTest.java42 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitThreadTest.java45 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/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/nodeTypes/
DNodeWithVariablesTest.java45 @Test(expected = AssertionError.class)
50 @Test(expected = AssertionError.class)
57 @Test(expected = AssertionError.class)
81 @Test(expected = AssertionError.class)
88 @Test(expected = AssertionError.class)
/external/turbine/java/com/google/turbine/bytecode/
DConstantPoolReader.java101 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/autotest/scheduler/
Drdb_cache_unittests.py36 raise AssertionError('Mismatch in deps within a cache line')
77 raise AssertionError('Neither request should have hit the '
84 raise AssertionError('Caching was too agressive, '
98 raise AssertionError('Wrong host cached %s. The first job '
108 raise AssertionError('Was able to lease a stale host. The '
136 raise AssertionError('The first request should have populated '
144 raise AssertionError('Should only be one cache line left.')
180 raise AssertionError('The first request should have taken h1 '
187 raise AssertionError('A request with no hosts does not get '
321 raise AssertionError('Neither request should have hit the '
[all …]
/external/testng/src/main/java/org/testng/asserts/
DSoftAssert.java14 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/tensorflow/tensorflow/tools/test/
Dcheck_futures_test.py79 raise AssertionError(('Incorrect futures for old_division file:\n'
85 raise AssertionError('Missing futures: %s' % ' '.join(missing))
92 raise AssertionError("BASE_DIR = '%s' doesn't end with tensorflow" %
104 except AssertionError as e:
106 raise AssertionError('Error in %s: %s' % (short_path, str(e)))
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DHttp2Client.java220 throw new AssertionError("Expected call to fail"); in rstAfterHeader()
231 throw new AssertionError("Operation timed out"); in rstAfterData()
234 throw new AssertionError("Expected call to fail"); in rstAfterData()
238 throw new AssertionError("Expected one response"); in rstAfterData()
247 throw new AssertionError("Operation timed out"); in rstDuringData()
250 throw new AssertionError("Expected call to fail"); in rstDuringData()
254 throw new AssertionError("Expected zero responses"); in rstDuringData()
341 throw new AssertionError("Wrong status code. Expected: " + Status.Code.UNAVAILABLE in assertRstStreamReceived()
347 throw new AssertionError("Wrong HTTP/2 error code. Expected: " + http2ErrorPrefix in assertRstStreamReceived()
354 throw new AssertionError("Incorrect response received"); in assertResponseEquals()

12345678910>>...41