/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | InvalidPreferencesFormatExceptionTest.java | 47 assertTrue(e.getMessage().indexOf("root") < 0); in testInvalidPreferencesFormatExceptionStringThrowable() 48 assertTrue(e.getMessage().indexOf(t.getClass().getName()) < 0); in testInvalidPreferencesFormatExceptionStringThrowable() 49 assertTrue(e.getMessage().indexOf("msg") >= 0); in testInvalidPreferencesFormatExceptionStringThrowable() 60 assertTrue(e.getMessage().indexOf("root") >= 0); 61 assertTrue(e.getMessage().indexOf(t.getClass().getName()) >= 0);
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | Formatter.java | 136 if (format.indexOf("{0") >= 0 || format.indexOf("{1") >=0 || in formatMessage() 137 format.indexOf("{2") >=0|| format.indexOf("{3") >=0) { in formatMessage()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | DNSName.java | 77 if (name.indexOf(' ') != -1) in DNSName() 85 endIndex = name.indexOf('.', startIndex); in DNSName() 93 if (alpha.indexOf(name.charAt(startIndex)) < 0) in DNSName() 98 if ((alphaDigitsAndHyphen).indexOf(x) < 0) in DNSName() 239 for (int i = name.indexOf('.'); i >= 0; i = name.indexOf('.', i + 1)) { in subtreeDepth()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldXMLFormatterTest.java | 45 .indexOf("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>"); in testXMLFormatter() 46 int dtdPos = result.indexOf("<!DOCTYPE log SYSTEM \"logger.dtd\">"); in testXMLFormatter() 47 int rootPos = result.indexOf("<log>"); in testXMLFormatter() 56 .getTail(handler).indexOf("/log>") > 0); in testXMLFormatter()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAndroidArrayListTest.java | 51 assertEquals(0, array.indexOf(new Integer(1))); in testArrayList() 53 assertTrue(array.indexOf(new Integer(5)) < 0); in testArrayList() 67 assertEquals(0, array.indexOf(new Integer(1))); in testArrayList() 69 assertTrue(array.indexOf(new Integer(5)) < 0); in testArrayList() 76 assertTrue(array.indexOf(new Integer(5)) < 0); in testArrayList()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CodingErrorActionTest.java | 58 assertTrue(CodingErrorAction.IGNORE.toString().indexOf("IGNORE") != -1); in testToString() 59 assertTrue(CodingErrorAction.REPLACE.toString().indexOf("REPLACE") != -1); in testToString() 60 assertTrue(CodingErrorAction.REPORT.toString().indexOf("REPORT") != -1); in testToString()
|
D | UnmappableCharacterExceptionTest.java | 38 assertTrue(ex.getMessage().indexOf("3") != -1); in testConstructor() 43 assertTrue(ex.getMessage().indexOf("-3") != -1); in testConstructor() 48 assertTrue(ex.getMessage().indexOf("0") != -1); in testConstructor()
|
D | IllegalCharsetNameExceptionTest.java | 38 assertTrue(ex.getMessage().indexOf("impossible") != -1); in testConstructor() 43 assertTrue(ex.getMessage().indexOf("ascii") != -1); in testConstructor() 53 assertTrue(ex.getMessage().indexOf("null") != -1); in testConstructor()
|
D | UnsupportedCharsetExceptionTest.java | 38 assertTrue(ex.getMessage().indexOf("impossible") != -1); in testConstructor() 43 assertTrue(ex.getMessage().indexOf("ascii") != -1); in testConstructor() 53 assertTrue(ex.getMessage().indexOf("null") != -1); in testConstructor()
|
D | MalformedInputExceptionTest.java | 38 assertTrue(ex.getMessage().indexOf("3") != -1); in testConstructor() 43 assertTrue(ex.getMessage().indexOf("-3") != -1); in testConstructor() 48 assertTrue(ex.getMessage().indexOf("0") != -1); in testConstructor()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | String2Test.java | 536 assertEquals("Invalid index returned", 1, hw1.indexOf('e')); in test_indexOfI() 537 assertEquals("Invalid index returned", 1, "a\ud800\udc00".indexOf(0x10000)); in test_indexOfI() 545 assertEquals("Invalid character index returned", 5, hw1.indexOf('W', 2)); in test_indexOfII() 546 assertEquals("Invalid index returned", 2, "ab\ud800\udc00".indexOf(0x10000, 1)); in test_indexOfII() 554 assertTrue("Failed to find string", hw1.indexOf("World") > 0); in test_indexOfLjava_lang_String() 555 assertTrue("Failed to find string", !(hw1.indexOf("ZZ") > 0)); in test_indexOfLjava_lang_String() 563 assertTrue("Failed to find string", hw1.indexOf("World", 0) > 0); in test_indexOfLjava_lang_StringI() 564 assertTrue("Found string outside index", !(hw1.indexOf("Hello", 6) > 0)); in test_indexOfLjava_lang_StringI() 566 hello1.indexOf("", -5)); in test_indexOfLjava_lang_StringI() 567 assertEquals("Reported wrong error code", 5, hello1.indexOf("", 5)); in test_indexOfLjava_lang_StringI() [all …]
|
D | StringBufferTest.java | 538 assertEquals(0, sb.indexOf("0")); in test_IndexOfStringInt() 539 assertEquals(0, sb.indexOf("012")); in test_IndexOfStringInt() 540 assertEquals(-1, sb.indexOf("02")); in test_IndexOfStringInt() 541 assertEquals(8, sb.indexOf("89")); in test_IndexOfStringInt() 543 assertEquals(0, sb.indexOf("0"), 0); in test_IndexOfStringInt() 544 assertEquals(0, sb.indexOf("012"), 0); in test_IndexOfStringInt() 545 assertEquals(-1, sb.indexOf("02"), 0); in test_IndexOfStringInt() 546 assertEquals(8, sb.indexOf("89"), 0); in test_IndexOfStringInt() 548 assertEquals(-1, sb.indexOf("0"), 5); in test_IndexOfStringInt() 549 assertEquals(-1, sb.indexOf("012"), 5); in test_IndexOfStringInt() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractFileTypeDetector.java | 67 int slash = s.indexOf('/'); in parse() 68 int semicolon = s.indexOf(';'); in parse() 95 return (c > 040) && (c < 0177) && (TSPECIALS.indexOf(c) < 0); in isTokenChar()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | InvalidClassExceptionTest.java | 58 returnedMessage.indexOf(className) >= 0 in test_ConstructorLjava_lang_StringLjava_lang_String() 59 && returnedMessage.indexOf(message) >= 0); in test_ConstructorLjava_lang_StringLjava_lang_String()
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | InvalidKeySpecExceptionTest.java | 103 .indexOf(toS) != -1)); in testInvalidKeySpecException05() 147 .indexOf(toS) != -1)); in testInvalidKeySpecException08() 167 .indexOf(msgs[i]) != -1); in testInvalidKeySpecException09() 170 .indexOf(toS) != -1); in testInvalidKeySpecException09()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLExceptionTest.java | 84 .indexOf(toS) != -1)); in testSSLException04() 127 .indexOf(toS) != -1)); in testSSLException07() 147 .indexOf(msgs[i]) != -1); in testSSLException08() 150 .indexOf(toS) != -1); in testSSLException08()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertStoreExceptionTest.java | 101 .indexOf(toS) != -1)); in testCertStoreException05() 145 .indexOf(toS) != -1)); in testCertStoreException08() 165 .indexOf(msgs[i]) != -1); in testCertStoreException09() 168 .indexOf(toS) != -1); in testCertStoreException09()
|
D | CertificateEncodingExceptionTest.java | 106 .indexOf(toS) != -1)); in testCertificateEncodingException05() 152 .indexOf(toS) != -1)); in testCertificateEncodingException08() 172 .indexOf(msgs[i]) != -1); in testCertificateEncodingException09() 175 .indexOf(toS) != -1); in testCertificateEncodingException09()
|
D | CRLExceptionTest.java | 99 .indexOf(toS) != -1)); in testCRLException05() 143 .indexOf(toS) != -1)); in testCRLException08() 163 .indexOf(msgs[i]) != -1); in testCRLException09() 166 .indexOf(toS) != -1); in testCRLException09()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | DigestExceptionTest.java | 99 .indexOf(toS) != -1)); in testDigestException05() 143 .indexOf(toS) != -1)); in testDigestException08() 163 .indexOf(msgs[i]) != -1); in testDigestException09() 166 .indexOf(toS) != -1); in testDigestException09()
|
D | GeneralSecurityExceptionTest.java | 103 .indexOf(toS) != -1)); in testGeneralSecurityException05() 147 .indexOf(toS) != -1)); in testGeneralSecurityException08() 167 .indexOf(msgs[i]) != -1); in testGeneralSecurityException09() 170 .indexOf(toS) != -1); in testGeneralSecurityException09()
|
D | KeyStoreExceptionTest.java | 100 .indexOf(toS) != -1)); in testKeyStoreException05() 144 .indexOf(toS) != -1)); in testKeyStoreException08() 164 .indexOf(msgs[i]) != -1); in testKeyStoreException09() 167 .indexOf(toS) != -1); in testKeyStoreException09()
|
D | KeyManagementExceptionTest.java | 103 .indexOf(toS) != -1)); in testKeyManagementException05() 147 .indexOf(toS) != -1)); in testKeyManagementException08() 167 .indexOf(msgs[i]) != -1); in testKeyManagementException09() 170 .indexOf(toS) != -1); in testKeyManagementException09()
|
D | InvalidKeyExceptionTest.java | 101 .indexOf(toS) != -1)); in testInvalidKeyException05() 145 .indexOf(toS) != -1)); in testInvalidKeyException08() 165 .indexOf(msgs[i]) != -1); in testInvalidKeyException09() 168 .indexOf(toS) != -1); in testInvalidKeyException09()
|
D | ProviderExceptionTest.java | 100 .indexOf(toS) != -1)); in testProviderException05() 144 .indexOf(toS) != -1)); in testProviderException08() 164 .indexOf(msgs[i]) != -1); in testProviderException09() 167 .indexOf(toS) != -1); in testProviderException09()
|