Home
last modified time | relevance | path

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

123456

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DAssertionErrorTest.java25 AssertionError e = new AssertionError(); in test_Constructor()
32 AssertionError e = new AssertionError(obj); in test_ConstructorObject()
37 e = new AssertionError(npe); in test_ConstructorObject()
43 AssertionError e = new AssertionError(true); in test_ConstructorBoolean()
49 AssertionError e = new AssertionError('a'); in test_ConstructorChar()
55 AssertionError e = new AssertionError(1); in test_ConstructorInt()
61 AssertionError e = new AssertionError(1L); in test_ConstructorLong()
67 AssertionError e = new AssertionError(1.0F); in test_ConstructorFloat()
73 AssertionError e = new AssertionError(1.0D); in test_ConstructorDouble()
/libcore/ojluni/src/main/java/java/lang/
DAssertionError.java43 public class AssertionError extends Error { class
49 public AssertionError() { in AssertionError() method in AssertionError
57 private AssertionError(String detailMessage) { in AssertionError() method in AssertionError
73 public AssertionError(Object detailMessage) { in AssertionError() method in AssertionError
87 public AssertionError(boolean detailMessage) { in AssertionError() method in AssertionError
99 public AssertionError(char detailMessage) { in AssertionError() method in AssertionError
111 public AssertionError(int detailMessage) { in AssertionError() method in AssertionError
123 public AssertionError(long detailMessage) { in AssertionError() method in AssertionError
135 public AssertionError(float detailMessage) { in AssertionError() method in AssertionError
147 public AssertionError(double detailMessage) { in AssertionError() method in AssertionError
[all …]
DEnum.java272 throw new AssertionError("impossible", impossible);
274 throw new AssertionError("impossible", impossible);
276 throw new AssertionError("impossible", impossible);
/libcore/ojluni/src/main/java/sun/nio/fs/
DDefaultFileSystemProvider.java45 throw new AssertionError(x); in createProvider()
50 throw new AssertionError(x); in createProvider()
68 throw new AssertionError("Platform not recognized"); in create()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DSAXParserFactoryImpl.java59 throw new AssertionError(ex); in isNamespaceAware()
68 throw new AssertionError(ex); in isValidating()
109 throw new AssertionError(ex); in setNamespaceAware()
118 throw new AssertionError(ex); in setValidating()
DSAXParserImpl.java64 throw new AssertionError(); in reset()
66 throw new AssertionError(); in reset()
/libcore/luni/src/test/java/libcore/java/lang/
DAssertionErrorTest.java24 AssertionError ae = new AssertionError("hello"); in test_29378()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java98 throw new AssertionError("annotation container = " + annotation + in insertAnnotationValues()
106 throw new AssertionError("annotation container = " + annotation + in insertAnnotationValues()
112 throw new AssertionError("annotation container = " + annotation + in insertAnnotationValues()
121 throw new AssertionError(e); in insertAnnotationValues()
DTypeVariableImpl.java98 throw new AssertionError(); in nextLayer()
111 throw new AssertionError("illegal type variable reference"); in resolve()
/libcore/ojluni/src/main/java/java/lang/reflect/
DAccessibleObject.java168 throw new AssertionError("All subclasses should override this method"); in getAnnotation()
187 throw new AssertionError("All subclasses should override this method"); in getAnnotationsByType()
225 throw new AssertionError("All subclasses should override this method"); in getDeclaredAnnotations()
/libcore/ojluni/src/main/java/sun/nio/ch/
DDefaultAsynchronousChannelProvider.java49 throw new AssertionError(x); in createProvider()
54 throw new AssertionError(x); in createProvider()
DNet.java234 throw new AssertionError("Should not reach here");
250 throw new AssertionError("Should not reach here");
275 throw new AssertionError("Should not reach here");
300 throw new AssertionError("Should not reach here");
331 throw new AssertionError("Option not found");
364 throw new AssertionError("Should not reach here");
369 throw new AssertionError("Option not found");
DAsynchronousChannelGroupImpl.java208 throw new AssertionError(rej);
299 throw new AssertionError("Already shutdown");
301 throw new AssertionError("Group not empty");
/libcore/dalvik/test-rules/src/main/java/dalvik/system/
DCloseGuardSupport.java227 throw new AssertionError("Class " + resourceOwner.getClass().getName()
244 throw new AssertionError(
277 AssertionError error = new AssertionError(
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java67 throw new AssertionError("Unexpected exception", e); in testImplAccept_detectsClosedState()
99 throw new AssertionError("unreachable"); in checkConnectIterationAndCloseSocket()
124 throw new AssertionError("serverSocket.close() failed: ", e); in checkConnectIterationAndCloseSocket()
150 throw new AssertionError("Unexpected interruption", e); in checkConnectIterationAndCloseSocket()
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java61 throw new AssertionError(e);
63 throw new AssertionError(e);
76 throw new AssertionError("Should not here"); in ensureAvailable()
/libcore/ojluni/src/main/java/javax/net/ssl/
DStandardConstants.java37 throw new AssertionError( in StandardConstants()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java106 throw new AssertionError("Must have AlgorithmParameterSpec"); in engineInit()
118 throw new AssertionError("Must have AlgorithmParameterSpec"); in engineInit()
126 throw new AssertionError("Must have AlgorithmParameterSpec"); in engineInit()
132 throw new AssertionError("Must have AlgorithmParameterSpec"); in engineInit()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java170 throw new AssertionError(); in getDateFormat()
194 throw new AssertionError(); in getTimeFormat()
200 throw new AssertionError("couldn't initialize LocaleData for locale " + locale); in initLocaleData()
/libcore/support/src/test/java/libcore/java/lang/ref/
DFinalizationTester.java44 throw new AssertionError(); in enqueueReferences()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertStoreParameters.java40 throw new AssertionError(e); // Android-changed in clone()
/libcore/luni/src/main/java/java/lang/ref/
DFinalizerReference.java131 throw new AssertionError("newly-created live Sentinel not on list!"); in enqueueSentinelReference()
149 throw new AssertionError(); in finalize()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DFinalizeTest.java80 } catch (AssertionError expected) { in exceptionInConstructor()
99 throw new AssertionError(); in ConstructionFails()
/libcore/ojluni/src/main/java/java/nio/charset/
DStandardCharsets.java38 throw new AssertionError("No java.nio.charset.StandardCharsets instances for you!"); in StandardCharsets()
/libcore/support/src/test/java/tests/http/
DMockResponse.java50 throw new AssertionError(); in clone()
108 throw new AssertionError(); in setBody()

123456