Home
last modified time | relevance | path

Searched refs:AssertionFailedError (Results 1 – 25 of 116) sorted by relevance

12345

/external/guava/android/guava-testlib/test/com/google/common/collect/testing/
DHelpersTest.java30 import junit.framework.AssertionFailedError;
59 } catch (AssertionFailedError expected) { in testIsEmpty_iterable()
70 } catch (AssertionFailedError expected) { in testIsEmpty_iterable()
82 } catch (AssertionFailedError expected) { in testIsEmpty_map()
94 } catch (AssertionFailedError expected) { in testAssertEqualInOrder()
100 } catch (AssertionFailedError expected) { in testAssertEqualInOrder()
107 } catch (AssertionFailedError expected) { in testAssertEqualInOrder()
114 } catch (AssertionFailedError expected) { in testAssertEqualInOrder()
125 } catch (AssertionFailedError expected) { in testAssertContentsInOrder()
131 } catch (AssertionFailedError expected) { in testAssertContentsInOrder()
[all …]
DIteratorTesterTest.java29 import junit.framework.AssertionFailedError;
152 } catch (AssertionFailedError e) { in testCanCatchSunJavaBug6529795InTargetIterator()
204 throw new AssertionFailedError(message); in testVerifyCanThrowAssertionThatFailsTest()
207 AssertionFailedError actual = null; in testVerifyCanThrowAssertionThatFailsTest()
210 } catch (AssertionFailedError e) { in testVerifyCanThrowAssertionThatFailsTest()
326 } catch (AssertionFailedError expected) { in assertFailure()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DHelpersTest.java30 import junit.framework.AssertionFailedError;
59 } catch (AssertionFailedError expected) { in testIsEmpty_iterable()
70 } catch (AssertionFailedError expected) { in testIsEmpty_iterable()
82 } catch (AssertionFailedError expected) { in testIsEmpty_map()
94 } catch (AssertionFailedError expected) { in testAssertEqualInOrder()
100 } catch (AssertionFailedError expected) { in testAssertEqualInOrder()
107 } catch (AssertionFailedError expected) { in testAssertEqualInOrder()
114 } catch (AssertionFailedError expected) { in testAssertEqualInOrder()
125 } catch (AssertionFailedError expected) { in testAssertContentsInOrder()
131 } catch (AssertionFailedError expected) { in testAssertContentsInOrder()
[all …]
DIteratorTesterTest.java29 import junit.framework.AssertionFailedError;
152 } catch (AssertionFailedError e) { in testCanCatchSunJavaBug6529795InTargetIterator()
204 throw new AssertionFailedError(message); in testVerifyCanThrowAssertionThatFailsTest()
207 AssertionFailedError actual = null; in testVerifyCanThrowAssertionThatFailsTest()
210 } catch (AssertionFailedError e) { in testVerifyCanThrowAssertionThatFailsTest()
326 } catch (AssertionFailedError expected) { in assertFailure()
/external/vogar/test/vogar/target/
DAssertTest.java19 import junit.framework.AssertionFailedError;
32 } catch (AssertionFailedError expected) { in testAssertEquals()
45 } catch (AssertionFailedError expected) { in testAssertEqualsNan()
58 } catch (AssertionFailedError expected) { in testAssertEqualsWithDelta()
71 } catch (AssertionFailedError expected) { in testAssertEqualsWithNaNDelta()
84 } catch (AssertionFailedError expected) { in testAssertSame()
97 } catch (AssertionFailedError expected) { in testAssertNotSame()
110 } catch (AssertionFailedError expected) { in testAssertNull()
123 } catch (AssertionFailedError expected) { in testAssertNotNull()
/external/guice/core/test/com/google/inject/spi/
DFailingBindingScopingVisitor.java21 import junit.framework.AssertionFailedError;
27 throw new AssertionFailedError(); in visitEagerSingleton()
32 throw new AssertionFailedError(); in visitScope()
37 throw new AssertionFailedError(); in visitScopeAnnotation()
42 throw new AssertionFailedError(); in visitNoScoping()
DFailingElementVisitor.java19 import junit.framework.AssertionFailedError;
24 throw new AssertionFailedError(); in visitOther()
DFailingTargetVisitor.java20 import junit.framework.AssertionFailedError;
25 throw new AssertionFailedError(); in visitOther()
/external/guava/android/guava-testlib/test/com/google/common/testing/
DEqualsTesterTest.java24 import junit.framework.AssertionFailedError;
86 } catch (AssertionFailedError e) { in testAddEqualObjectWithOArgConstructor()
122 } catch (AssertionFailedError e) { in testNonreflexiveEquals()
135 } catch (AssertionFailedError e) { in testInvalidEqualsNull()
148 } catch (AssertionFailedError e) { in testInvalidEqualsIncompatibleClass()
161 } catch (AssertionFailedError e) { in testInvalidNotEqualsEqualObject()
179 } catch (AssertionFailedError e) { in testInvalidHashCode()
219 } catch (AssertionFailedError e) { in testSymmetryBroken()
235 } catch (AssertionFailedError e) { in testTransitivityBrokenInEqualityGroup()
246 } catch (AssertionFailedError e) { in testUnequalObjectsInEqualityGroup()
[all …]
DSerializableTesterTest.java20 import junit.framework.AssertionFailedError;
42 } catch (AssertionFailedError error) { in testClassWhichDoesNotImplementEquals()
56 } catch (AssertionFailedError error) { in testClassWhichIsAlwaysEqualButHasDifferentHashcodes()
69 } catch (AssertionFailedError error) { in testObjectWhichIsEqualButChangesClass()
DClassSanityTesterTest.java37 import junit.framework.AssertionFailedError;
85 } catch (AssertionFailedError expected) { in testForAllPublicStaticMethods_noPublicStaticMethods()
100 } catch (AssertionFailedError expected) { in testEqualsOnReturnValues_bad()
128 } catch (AssertionFailedError expected) { in testNullsOnReturnValues_bad()
140 } catch (AssertionFailedError expected) { in testNullsOnReturnValues_returnTypeFiltered()
176 } catch (AssertionFailedError expected) { in testSerializableOnReturnValues_bad()
195 } catch (AssertionFailedError expected) { in testEqualsAndSerializableOnReturnValues_equalsIsGoodButNotSerializable()
204 } catch (AssertionFailedError expected) { in testEqualsAndSerializableOnReturnValues_serializableButNotEquals()
226 } catch (AssertionFailedError expected) { in testEqualsForReturnValues_factoryReturnsNullButNotAnnotated()
235 } catch (AssertionFailedError expected) { in testNullsForReturnValues_factoryReturnsNullButNotAnnotated()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DEqualsTesterTest.java24 import junit.framework.AssertionFailedError;
86 } catch (AssertionFailedError e) { in testAddEqualObjectWithOArgConstructor()
122 } catch (AssertionFailedError e) { in testNonreflexiveEquals()
135 } catch (AssertionFailedError e) { in testInvalidEqualsNull()
148 } catch (AssertionFailedError e) { in testInvalidEqualsIncompatibleClass()
161 } catch (AssertionFailedError e) { in testInvalidNotEqualsEqualObject()
179 } catch (AssertionFailedError e) { in testInvalidHashCode()
219 } catch (AssertionFailedError e) { in testSymmetryBroken()
235 } catch (AssertionFailedError e) { in testTransitivityBrokenInEqualityGroup()
246 } catch (AssertionFailedError e) { in testUnequalObjectsInEqualityGroup()
[all …]
DSerializableTesterTest.java20 import junit.framework.AssertionFailedError;
42 } catch (AssertionFailedError error) { in testClassWhichDoesNotImplementEquals()
56 } catch (AssertionFailedError error) { in testClassWhichIsAlwaysEqualButHasDifferentHashcodes()
69 } catch (AssertionFailedError error) { in testObjectWhichIsEqualButChangesClass()
DClassSanityTesterTest.java39 import junit.framework.AssertionFailedError;
87 } catch (AssertionFailedError expected) { in testForAllPublicStaticMethods_noPublicStaticMethods()
102 } catch (AssertionFailedError expected) { in testEqualsOnReturnValues_bad()
130 } catch (AssertionFailedError expected) { in testNullsOnReturnValues_bad()
142 } catch (AssertionFailedError expected) { in testNullsOnReturnValues_returnTypeFiltered()
178 } catch (AssertionFailedError expected) { in testSerializableOnReturnValues_bad()
197 } catch (AssertionFailedError expected) { in testEqualsAndSerializableOnReturnValues_equalsIsGoodButNotSerializable()
206 } catch (AssertionFailedError expected) { in testEqualsAndSerializableOnReturnValues_serializableButNotEquals()
228 } catch (AssertionFailedError expected) { in testEqualsForReturnValues_factoryReturnsNullButNotAnnotated()
237 } catch (AssertionFailedError expected) { in testNullsForReturnValues_factoryReturnsNullButNotAnnotated()
[all …]
DEquivalenceTesterTest.java27 import junit.framework.AssertionFailedError;
106 } catch (AssertionFailedError expected) { in testTest_symmetric()
136 } catch (AssertionFailedError expected) { in testTest_trasitive()
160 } catch (AssertionFailedError expected) { in testTest_inequivalence()
184 } catch (AssertionFailedError expected) { in testTest_hash()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DYamlStream.java27 import junit.framework.AssertionFailedError;
54 throw new AssertionFailedError("Different class: " + parsedNativeData.getClass()); in YamlStream()
57 throw new AssertionFailedError("Different size."); in YamlStream()
70 throw new AssertionFailedError("Keyset: " + map1.keySet() + "; but was: " in YamlStream()
78 throw new AssertionFailedError("Values: " + o1 + "; but was: " + o2); in YamlStream()
83 throw new AssertionFailedError("Expected: " + obj1 + "; but was: " + obj2); in YamlStream()
87 throw new AssertionFailedError("Generated presentation is not the same: " in YamlStream()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DBogoPerf.java27 import junit.framework.AssertionFailedError;
116 …double currentDuration, long referenceDuration, double referenceBIPS) throws AssertionFailedError { in assertDuration()
119 …throw new AssertionFailedError("current duration " + currentDuration + " exceeded expected " + aju… in assertDuration()
133 … currentPerformance, long referencePerformance, double referenceBIPS) throws AssertionFailedError { in assertPerformance()
136 …throw new AssertionFailedError(currentPerformance + " below expected " + ajustedPerf + " (adjusted… in assertPerformance()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java48 import junit.framework.AssertionFailedError;
302 AssertionFailedError afe = new AssertionFailedError(t.toString()); in tearDown()
308 if (Thread.interrupted()) throw new AssertionFailedError("interrupt status set in main thread"); in tearDown()
318 } catch (AssertionFailedError t) { in threadFail()
331 } catch (AssertionFailedError t) { in threadAssertTrue()
344 } catch (AssertionFailedError t) { in threadAssertFalse()
357 } catch (AssertionFailedError t) { in threadAssertNull()
370 } catch (AssertionFailedError t) { in threadAssertEquals()
383 } catch (AssertionFailedError t) { in threadAssertEquals()
398 } catch (AssertionFailedError t) { in threadAssertSame()
[all …]
DTestPlatform.java33 import junit.framework.AssertionFailedError;
76 AssertionFailedError error = new AssertionFailedError(e.getMessage()); in getDoneFromTimeoutOverload()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java48 import junit.framework.AssertionFailedError;
305 AssertionFailedError afe = new AssertionFailedError(t.toString()); in tearDown()
311 if (Thread.interrupted()) throw new AssertionFailedError("interrupt status set in main thread"); in tearDown()
321 } catch (AssertionFailedError t) { in threadFail()
334 } catch (AssertionFailedError t) { in threadAssertTrue()
347 } catch (AssertionFailedError t) { in threadAssertFalse()
360 } catch (AssertionFailedError t) { in threadAssertNull()
373 } catch (AssertionFailedError t) { in threadAssertEquals()
386 } catch (AssertionFailedError t) { in threadAssertEquals()
401 } catch (AssertionFailedError t) { in threadAssertSame()
[all …]
DTestPlatform.java33 import junit.framework.AssertionFailedError;
76 AssertionFailedError error = new AssertionFailedError(e.getMessage()); in getDoneFromTimeoutOverload()
/external/junit/src/main/java/junit/framework/
DAssertionFailedError.java6 public class AssertionFailedError extends AssertionError { class
13 public AssertionFailedError() { in AssertionFailedError() method in AssertionFailedError
22 public AssertionFailedError(String message) { in AssertionFailedError() method in AssertionFailedError
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapMergeTester.java33 import junit.framework.AssertionFailedError;
55 throw new AssertionFailedError( in testAbsent()
73 throw new AssertionFailedError( in testMappedToNull()
89 throw new AssertionFailedError( in testMergeAbsentNullKey()
158 throw new AssertionFailedError("Should not call merge function if value was null"); in testMergeNullValue()
181 throw new AssertionFailedError(); in testMergeUnsupported()
DMapComputeIfPresentTester.java30 import junit.framework.AssertionFailedError;
51 throw new AssertionFailedError(); in testComputeIfPresent_supportedAbsent()
99 throw new AssertionFailedError(); in testComputeIfPresent_nullTreatedAsAbsent()
153 throw new AssertionFailedError(); in testComputeIfPresent_nullKeySupportedAbsent()
165 throw new AssertionFailedError(); in testComputeIfPresent_unsupportedAbsent()
/external/vogar/src/vogar/target/junit/junit3/
DTestCaseTransformer.java26 import junit.framework.AssertionFailedError;
76 } catch (AssertionFailedError e) { in testsFromTestCase()
105 throw new AssertionFailedError( in validateTestClass()
111 throw new AssertionFailedError("Class " + testClass.getName() + " is not public"); in validateTestClass()

12345