Home
last modified time | relevance | path

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

12345678910>>...20

/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DMockSocketConnection.java154 throw new AssertionError(); in bind()
160 throw new AssertionError(); in connect()
165 throw new AssertionError(); in connect()
170 throw new AssertionError(); in getChannel()
175 throw new AssertionError(); in getInetAddress()
180 throw new AssertionError(); in getKeepAlive()
185 throw new AssertionError(); in getLocalAddress()
190 throw new AssertionError(); in getLocalPort()
195 throw new AssertionError(); in getLocalSocketAddress()
200 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/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/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_du.py46 @Retry(AssertionError, tries=3, timeout_secs=1)
56 @Retry(AssertionError, tries=3, timeout_secs=1)
67 @Retry(AssertionError, tries=3, timeout_secs=1)
86 @Retry(AssertionError, tries=3, timeout_secs=1)
102 @Retry(AssertionError, tries=3, timeout_secs=1)
116 @Retry(AssertionError, tries=3, timeout_secs=1)
128 @Retry(AssertionError, tries=3, timeout_secs=1)
146 @Retry(AssertionError, tries=3, timeout_secs=1)
166 @Retry(AssertionError, tries=3, timeout_secs=1)
173 @Retry(AssertionError, tries=3, timeout_secs=1)
[all …]
Dtest_rsync.py136 @Retry(AssertionError, tries=3, timeout_secs=1)
159 @Retry(AssertionError, tries=3, timeout_secs=1)
175 @Retry(AssertionError, tries=3, timeout_secs=1)
191 @Retry(AssertionError, tries=3, timeout_secs=1)
222 @Retry(AssertionError, tries=3, timeout_secs=1)
243 @Retry(AssertionError, tries=3, timeout_secs=1)
260 @Retry(AssertionError, tries=3, timeout_secs=1)
274 @Retry(AssertionError, tries=3, timeout_secs=1)
312 @Retry(AssertionError, tries=3, timeout_secs=1)
333 @Retry(AssertionError, tries=3, timeout_secs=1)
[all …]
Dtest_ls.py48 @Retry(AssertionError, tries=3, timeout_secs=1)
59 @Retry(AssertionError, tries=3, timeout_secs=1)
71 @Retry(AssertionError, tries=3, timeout_secs=1)
98 @Retry(AssertionError, tries=3, timeout_secs=1)
134 @Retry(AssertionError, tries=3, timeout_secs=1)
148 @Retry(AssertionError, tries=3, timeout_secs=1)
169 @Retry(AssertionError, tries=3, timeout_secs=1)
189 @Retry(AssertionError, tries=3, timeout_secs=1)
296 @Retry(AssertionError, tries=3, timeout_secs=1)
304 @Retry(AssertionError, tries=3, timeout_secs=1)
[all …]
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_config_test.py130 self.assertRaises(AssertionError, app_config.Config, {'foo': 'bar'})
131 self.assertRaises(AssertionError, app_config.Config, {'foo': None})
132 self.assertRaises(AssertionError, app_config.Config, 'foo')
135 self.assertRaises(AssertionError, app_config.Config, {}, {'foo': 'bar'})
136 self.assertRaises(AssertionError, app_config.Config, {}, {'foo': None})
137 self.assertRaises(AssertionError, app_config.Config, {}, 'foo')
142 self.assertRaises(AssertionError, config.update, {'foo': 'bar'}, 'baz')
143 self.assertRaises(AssertionError, config.update, {'foo': None}, 'baz')
144 self.assertRaises(AssertionError, config.update, 'foo', 'bar')
149 self.assertRaises(AssertionError, config.setdefault, 'foo', 'bar')
[all …]
/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/littlemock/tests/com/google/testing/littlemock/
DLittleMockTest.java210 } catch (AssertionError expected) {} in testVerify_MeansOnlyOnceSoShouldFailIfCalledTwice()
218 } catch (AssertionError expected) {} in testVerify_FailedVerification_CalledWithWrongArgument()
225 } catch (AssertionError expected) {} in testVerify_FailedVerification_WasNeverCalled()
241 } catch (AssertionError expected) {} in testVerify_TimesTwice_ButThreeTimesFails()
249 } catch (AssertionError expected) {} in testVerify_TimesTwice_ButOnceFails()
258 } catch (AssertionError expected) {} in testVerify_TimesTwice_DifferentStringsFails()
272 } catch (AssertionError expected) {} in testVerify_TimesTwice_FailsIfJustOnceWithAnyString()
282 } catch (AssertionError expected) {} in testVerify_TimesTwice_FailsIfThreeTimesWithAnyString()
295 } catch (AssertionError expected) {} in testVerify_Never_FailsIfWasCalled()
319 } catch (AssertionError expected) {} in testVerify_AtLeastOnce_FailsForNoCalls()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DAndroidDigestFactory.java42 AssertionError e = new AssertionError("Failed to load "
52 throw new AssertionError(factoryImplementationClass
58 throw new AssertionError(e);
60 throw new AssertionError(e);
/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/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/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/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
DTimeUnit.java116 throw new AssertionError(); in convert()
120 throw new AssertionError(); in toNanos()
124 throw new AssertionError(); in toMicros()
128 throw new AssertionError(); in toMillis()
132 throw new AssertionError(); in toSeconds()
136 throw new AssertionError(); in toMinutes()
140 throw new AssertionError(); in toHours()
144 throw new AssertionError(); in toDays()
/external/easymock/src/org/easymock/internal/
DAssertionErrorWrapper.java22 private final AssertionError error;
24 public AssertionErrorWrapper(AssertionError error) { in AssertionErrorWrapper()
28 public AssertionError getAssertionError() { in getAssertionError()
/external/mockito/src/org/mockito/internal/junit/
DJUnitTool.java26 …public static AssertionError createArgumentsAreDifferentException(String message, String wanted, S… in createArgumentsAreDifferentException()
29AssertionError throwable = (AssertionError) clazz.getConstructors()[0].newInstance(message, wanted… in createArgumentsAreDifferentException()
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
DFileSystem.groovy39 * @throws AssertionError - if path is null
50 * @throws AssertionError - if path is null
59 * @throws AssertionError - if path is null
68 * @throws AssertionError - if path is null
91 * @throws AssertionError - if path is null
103 * @throws AssertionError - if path is null
117 * @throws AssertionError - if fromPath or toPath is null
131 * @throws AssertionError - if path is null
141 * @throws AssertionError - if path is null
151 * @throws AssertionError - if path is null
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DBenchmarkCreator.java73 throw new AssertionError(e); in createBenchmarkInstance()
75 throw new AssertionError(e); in createBenchmarkInstance()
93 throw new AssertionError("types have been checked"); in createBenchmarkInstance()
95 throw new AssertionError("already set access"); in createBenchmarkInstance()
/external/testng/src/test/java/org/testng/
DAssertTest.java88 catch (AssertionError error) { in oneNullMapAssertEquals()
101 catch (AssertionError error) { in oneNullSetAssertEquals()
106 @Test(expectedExceptions = AssertionError.class)
119 @Test(expectedExceptions = AssertionError.class)
124 @Test(expectedExceptions = AssertionError.class)
/external/testng/src/test/java/test/assertion/
DAssertionTest.java19 @Test(expectedExceptions = AssertionError.class)
34 @Test(expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = "Raw test .*")
39 } catch (AssertionError error) { in test2_fails()
/external/junit/src/org/junit/internal/
DArrayComparisonFailure.java12 public class ArrayComparisonFailure extends AssertionError {
18 private final AssertionError fCause;
27 public ArrayComparisonFailure(String message, AssertionError cause, int index) { in ArrayComparisonFailure()
/external/testng/src/main/java/org/testng/internal/junit/
DArrayComparisonFailure.java9 public class ArrayComparisonFailure extends AssertionError {
15 private final AssertionError fCause;
23 public ArrayComparisonFailure(String message, AssertionError cause, int index) { in ArrayComparisonFailure()

12345678910>>...20