Home
last modified time | relevance | path

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

1234

/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/guava-testlib/test/com/google/common/testing/
DEqualsTesterTest.java24 import junit.framework.AssertionFailedError;
90 } catch (AssertionFailedError e) { in testAddEqualObjectWithOArgConstructor()
126 } catch (AssertionFailedError e) { in testNonreflexiveEquals()
142 } catch (AssertionFailedError e) { in testInvalidEqualsNull()
159 } catch (AssertionFailedError e) { in testInvalidEqualsIncompatibleClass()
177 } catch (AssertionFailedError e) { in testInvalidNotEqualsEqualObject()
195 } catch (AssertionFailedError e) { in testInvalidHashCode()
228 } catch (AssertionFailedError e) { in testSymmetryBroken()
245 } catch (AssertionFailedError e) { in testTransitivityBrokenInEqualityGroup()
259 } catch (AssertionFailedError e) { in testUnequalObjectsInEqualityGroup()
[all …]
DClassSanityTesterTest.java30 import junit.framework.AssertionFailedError;
85 } catch (AssertionFailedError expected) { in testForAllPublicStaticMethods_noPublicStaticMethods()
98 } catch (AssertionFailedError expected) { in testEqualsOnReturnValues_bad()
130 } catch (AssertionFailedError expected) { in testNullsOnReturnValues_bad()
142 } catch (AssertionFailedError expected) { in testNullsOnReturnValues_returnTypeFiltered()
203 } catch (AssertionFailedError expected) { in testEqualsAndSerializableOnReturnValues_serializableButNotEquals()
225 } catch (AssertionFailedError expected) { in testEqualsForReturnValues_factoryReturnsNullButNotAnnotated()
235 } catch (AssertionFailedError expected) { in testNullsForReturnValues_factoryReturnsNullButNotAnnotated()
245 } catch (AssertionFailedError expected) { in testSerializableForReturnValues_factoryReturnsNullButNotAnnotated()
256 } catch (AssertionFailedError expected) { in testEqualsAndSerializableForReturnValues_factoryReturnsNullButNotAnnotated()
[all …]
DSerializableTesterTest.java19 import junit.framework.AssertionFailedError;
44 } catch (AssertionFailedError error) { in testClassWhichDoesNotImplementEquals()
58 } catch (AssertionFailedError error) { in testClassWhichIsAlwaysEqualButHasDifferentHashcodes()
72 } catch (AssertionFailedError error) { in testObjectWhichIsEqualButChangesClass()
DEquivalenceTesterTest.java28 import junit.framework.AssertionFailedError;
104 } catch (AssertionFailedError expected) { in testTest_symmetric()
133 } catch (AssertionFailedError expected) { in testTest_trasitive()
156 } catch (AssertionFailedError expected) { in testTest_inequivalence()
179 } 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/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java337 AssertionFailedError afe = in tearDown()
338 new AssertionFailedError(t.toString()); in tearDown()
345 throw new AssertionFailedError("interrupt status set in main thread"); in tearDown()
356 } catch (AssertionFailedError t) { in threadFail()
370 } catch (AssertionFailedError t) { in threadAssertTrue()
384 } catch (AssertionFailedError t) { in threadAssertFalse()
398 } catch (AssertionFailedError t) { in threadAssertNull()
412 } catch (AssertionFailedError t) { in threadAssertEquals()
426 } catch (AssertionFailedError t) { in threadAssertEquals()
442 } catch (AssertionFailedError t) { in threadAssertSame()
[all …]
DTestThread.java27 import junit.framework.AssertionFailedError;
82 throw (AssertionFailedError) new AssertionFailedError("Uncaught throwable in " + getName()) in tearDown()
286 throw (AssertionFailedError) new AssertionFailedError().initCause(throwable); in getResult()
DJdkFutureAdaptersTest.java30 import junit.framework.AssertionFailedError;
174 throw new AssertionFailedError(); in cancel()
189 throw new AssertionFailedError(); in get()
194 throw new AssertionFailedError(); in isCancelled()
DAbstractFutureTest.java21 import junit.framework.AssertionFailedError;
173 AssertionFailedError failure = in findStackFrame()
174 new AssertionFailedError("Expected element " + clazz + "." + method in findStackFrame()
/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/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/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()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java27 import junit.framework.AssertionFailedError;
151 } catch (AssertionFailedError e) { in testCanCatchSunJavaBug6529795InTargetIterator()
214 throw new AssertionFailedError(message); in testVerifyCanThrowAssertionThatFailsTest()
217 AssertionFailedError actual = null; in testVerifyCanThrowAssertionThatFailsTest()
220 } catch (AssertionFailedError e) { in testVerifyCanThrowAssertionThatFailsTest()
322 } catch (AssertionFailedError expected) { in assertFailure()
/external/vogar/test/vogar/android/
DVogarArgsRule.java19 import junit.framework.AssertionFailedError;
38 throw new AssertionFailedError("Must specify @" + VogarArgs.class.getSimpleName()); in apply()
/external/guice/core/test/com/google/inject/
DSerializationTest.java24 import junit.framework.AssertionFailedError;
50 throw new AssertionFailedError(); in createCreationException()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java22 import junit.framework.AssertionFailedError;
77 throw new AssertionFailedError(); in simpleMethod()
83 throw new AssertionFailedError(); in exampleMethod()
89 throw new AssertionFailedError(); in exampleMethod()
124 throw new AssertionFailedError(); in method()
158 throw new AssertionFailedError(); in foo()
205 throw new AssertionFailedError(); in result()
223 } catch (AssertionFailedError expected) { in testProxyingPackagePrivateMethods_NotIntercepted()
231 throw new AssertionFailedError(); in result()
247 throw new AssertionFailedError(); in result()
[all …]
/external/crcalc/tests/src/com/hp/creals/
DCRTest.java50 import junit.framework.AssertionFailedError;
55 if (!x) throw new AssertionFailedError(s); in check()
59 throw new AssertionFailedError(s + "(" + x + " vs. " + y + ")"); in check_eq()
64 throw new AssertionFailedError(s + "(" + x + " vs. " + y + ")"); in check_appr_eq()
/external/guava/guava-tests/test/com/google/common/base/
DVerifyTest.java22 import junit.framework.AssertionFailedError;
99 throw new AssertionFailedError();
/external/guava/guava-testlib/src/com/google/common/testing/
DAbstractPackageSanityTests.java37 import junit.framework.AssertionFailedError;
282 private static AssertionFailedError sanityError( in sanityError()
288 AssertionFailedError error = new AssertionFailedError(message); in sanityError()
/external/autotest/server/cros/tradefed_test_unittest_data/
DCtsAppTestCases_P_simplified.txt5 …2] android.app.cts.DisplayTest#testRotation fail: junit.framework.AssertionFailedError: height fro…
7 …app.cts.SystemFeaturesTest#testUsbAccessory fail: junit.framework.AssertionFailedError: PackageMan…
/external/guava/guava-tests/test/com/google/common/collect/
DComparisonChainTest.java21 import junit.framework.AssertionFailedError;
36 throw new AssertionFailedError(); in compareTo()

1234