/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | DefaultHostnameVerifierTest.java | 54 assertFalse(verifyWithServerCertificate( in testVerify_wrongHost() 56 assertFalse(verifyWithServerCertificate( in testVerify_wrongHost() 65 assertFalse(verifyWithServerCertificate( in testVerify_matchesAltNameButNotCommonName() 75 assertFalse(verifyWithServerCertificate("imap.g.com", new StubX509Certificate() in testSubjectAltNameAndCn() 77 assertFalse(verifyWithServerCertificate("imap.g.com", new StubX509Certificate("imap.g.com") in testSubjectAltNameAndCn() 89 assertFalse(verifyWithServerCertificate("1.2.3.5", StubX509Certificate.ipa("1.2.3.4"))); in testSubjectAltNameWithIpAddress() 112 assertFalse(verifyWithServerCertificate("g.com", new StubX509Certificate() in testUnknownSubjectAltName() 120 assertFalse(verifyWithServerCertificate("2.33.44.1", new StubX509Certificate() in testUnknownSubjectAltName() 131 assertFalse(verifyWithServerCertificate("1.2.3.4", new StubX509Certificate("*.2.3.4"))); in testWildcardsRejectedForIpAddress() 132 assertFalse(verifyWithServerCertificate("1.2.3.4", new StubX509Certificate("*.2.3.4") in testWildcardsRejectedForIpAddress() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | HostnameVerifierTest.java | 40 assertFalse(hv.verify("localhost", session)); in test_verify() 53 assertFalse(verifier.verify("foo.com", session)); in testVerify() 54 assertFalse(verifier.verify("a.foo.com", session)); in testVerify() 55 assertFalse(verifier.verify("bar.com", session)); in testVerify() 61 assertFalse(verifier.verify("\u82b1\u5b50.co.jp", session)); in testVerify() 62 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in testVerify() 68 assertFalse(verifier.verify("foo.com", session)); in testVerify() 69 assertFalse(verifier.verify("a.foo.com", session)); in testVerify() 71 assertFalse(verifier.verify("a.bar.com", session)); in testVerify() 77 assertFalse(verifier.verify("foo.com", session)); in testVerify() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | BidiTest.java | 156 assertFalse(bd.isMixed()); in testEmptyParagraph() 157 assertFalse(bd.isRightToLeft()); in testEmptyParagraph() 160 assertFalse(bd.baseIsLeftToRight()); in testEmptyParagraph() 167 assertFalse(bd.isLeftToRight()); in testEmptyParagraph() 168 assertFalse(bd.isMixed()); in testEmptyParagraph() 180 assertFalse(bd.isMixed()); in testEmptyParagraph() 181 assertFalse(bd.isRightToLeft()); in testEmptyParagraph() 184 assertFalse(bd.baseIsLeftToRight()); in testEmptyParagraph() 191 assertFalse(bd.isLeftToRight()); in testEmptyParagraph() 192 assertFalse(bd.isMixed()); in testEmptyParagraph() [all …]
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DatabaseMetaDataNotSupportedTest.java | 132 assertFalse(meta.allProceduresAreCallable()); in test_allProceduresAreCallable() 166 assertFalse("No SELECT privileges", userMeta.allTablesAreSelectable()); in test_allTablesAreSelectable() 187 assertFalse(meta.dataDefinitionIgnoredInTransactions()); in test_dataDefinitionIgnoredInTransactions() 194 assertFalse(meta.deletesAreDetected(0)); in test_deletesAreDetectedI() 202 assertFalse(meta.doesMaxRowSizeIncludeBlobs()); in test_doesMaxRowSizeIncludeBlobs() 302 assertFalse("Rows are obtained", rs.next()); in test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() 462 assertFalse("Some privilegies exist", privileges.next()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String() 467 assertFalse("Some privilegies exist", privileges.next()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String() 544 assertFalse("Some privilegies exist", privileges.next()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String() 548 assertFalse("Some privilegies exist", privileges.next()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CoderResultTest.java | 53 assertFalse(CoderResult.OVERFLOW.isError()); in testConstants() 54 assertFalse(CoderResult.OVERFLOW.isMalformed()); in testConstants() 55 assertFalse(CoderResult.OVERFLOW.isUnderflow()); in testConstants() 56 assertFalse(CoderResult.OVERFLOW.isUnmappable()); in testConstants() 73 assertFalse(CoderResult.UNDERFLOW.isError()); in testConstants() 74 assertFalse(CoderResult.UNDERFLOW.isMalformed()); in testConstants() 76 assertFalse(CoderResult.UNDERFLOW.isUnmappable()); in testConstants() 77 assertFalse(CoderResult.UNDERFLOW.isOverflow()); in testConstants() 98 assertFalse(CoderResult.UNDERFLOW.isError()); in testIsError() 99 assertFalse(CoderResult.OVERFLOW.isError()); in testIsError() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InetAddressTest.java | 109 assertFalse("Expected subclass returned", in test_getAllByNameLjava_lang_String() 156 assertFalse(ia2.isMulticastAddress()); in test_isMulticastAddress() 164 assertFalse(ia2.isAnyLocalAddress()); in test_isAnyLocalAddress() 166 assertFalse(ia2.isAnyLocalAddress()); in test_isAnyLocalAddress() 174 assertFalse(ia2.isLinkLocalAddress()); in test_isLinkLocalAddress() 176 assertFalse(ia2.isLinkLocalAddress()); in test_isLinkLocalAddress() 184 assertFalse(ia2.isLoopbackAddress()); in test_isLoopbackAddress() 196 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress() 198 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress() 200 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress() [all …]
|
D | CookiePolicyTest.java | 50 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 53 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 56 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 60 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 70 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 75 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 85 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 90 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 93 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() 96 assertFalse(accept); in test_ShouldAccept_LURI_LHttpCookie() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicMarkableReferenceTest.java | 33 assertFalse(ai.isMarked()); in testConstructor() 46 assertFalse(ai.isMarked()); in testGetSet() 48 assertFalse(mark[0]); in testGetSet() 51 assertFalse(ai.isMarked()); in testGetSet() 53 assertFalse(mark[0]); in testGetSet() 67 assertFalse(ai.isMarked()); in testAttemptMark() 82 assertFalse(ai.isMarked()); in testCompareAndSet() 83 assertFalse(mark[0]); in testCompareAndSet() 87 assertFalse(mark[0]); in testCompareAndSet() 93 assertFalse(ai.compareAndSet(two, m3, true, true)); in testCompareAndSet() [all …]
|
D | AtomicBooleanTest.java | 32 assertFalse(new AtomicBoolean(false).get()); in testConstructor() 40 assertFalse(ai.get()); in testConstructor2() 50 assertFalse(ai.get()); in testGetSet() 62 assertFalse(ai.get()); in testGetLazySet() 73 assertFalse(ai.get()); in testCompareAndSet() 75 assertFalse(ai.get()); in testCompareAndSet() 76 assertFalse(ai.compareAndSet(true, false)); in testCompareAndSet() 77 assertFalse(ai.get()); in testCompareAndSet() 96 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads() 106 assertFalse(ai.get()); in testWeakCompareAndSet() [all …]
|
D | StampedLockTest.java | 59 assertFalse(lock.isWriteLocked()); in releaseWriteLock() 68 assertFalse(lock.isWriteLocked()); in testConstructor() 69 assertFalse(lock.isReadLocked()); in testConstructor() 78 assertFalse(lock.isWriteLocked()); in testLock() 79 assertFalse(lock.isReadLocked()); in testLock() 83 assertFalse(lock.isReadLocked()); in testLock() 86 assertFalse(lock.isWriteLocked()); in testLock() 87 assertFalse(lock.isReadLocked()); in testLock() 90 assertFalse(lock.isWriteLocked()); in testLock() 94 assertFalse(lock.isWriteLocked()); in testLock() [all …]
|
D | TreeSubSetTest.java | 52 assertFalse(s.isEmpty()); in populatedSet() 114 assertFalse(q.isEmpty()); in testEmpty() 161 assertFalse(q.add(six)); in testAddDup() 223 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5() 248 assertFalse(q.contains(i)); in testRemoveElement() 254 assertFalse(q.contains(i)); in testRemoveElement() 255 assertFalse(q.remove(i + 1)); in testRemoveElement() 256 assertFalse(q.contains(i + 1)); in testRemoveElement() 269 assertFalse(q.contains(new Integer(i))); in testContains() 282 assertFalse(q.isEmpty()); in testClear() [all …]
|
D | ConcurrentSkipListSubSetTest.java | 52 assertFalse(s.isEmpty()); in populatedSet() 117 assertFalse(q.isEmpty()); in testEmpty() 164 assertFalse(q.add(six)); in testAddDup() 226 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5() 251 assertFalse(q.contains(i)); in testRemoveElement() 257 assertFalse(q.contains(i)); in testRemoveElement() 258 assertFalse(q.remove(i + 1)); in testRemoveElement() 259 assertFalse(q.contains(i + 1)); in testRemoveElement() 272 assertFalse(q.contains(new Integer(i))); in testContains() 285 assertFalse(q.isEmpty()); in testClear() [all …]
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | FP16Test.java | 25 import static org.junit.Assert.assertFalse; 110 assertFalse(FP16.isInfinite(POSITIVE_ZERO)); in testIsInfinite() 111 assertFalse(FP16.isInfinite(NEGATIVE_ZERO)); in testIsInfinite() 112 assertFalse(FP16.isInfinite(NaN)); in testIsInfinite() 113 assertFalse(FP16.isInfinite(MAX_VALUE)); in testIsInfinite() 114 assertFalse(FP16.isInfinite(LOWEST_VALUE)); in testIsInfinite() 115 assertFalse(FP16.isInfinite(toHalf(-128.3f))); in testIsInfinite() 116 assertFalse(FP16.isInfinite(toHalf(128.3f))); in testIsInfinite() 120 assertFalse(FP16.isNaN(POSITIVE_INFINITY)); in testIsNaN() 121 assertFalse(FP16.isNaN(NEGATIVE_INFINITY)); in testIsNaN() [all …]
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldResultSetTest.java | 63 assertFalse(target.absolute(0)); in testAbsolute() 76 assertFalse(target.next()); in testAfterLast() 79 assertFalse(emptyTarget.isAfterLast()); in testAfterLast() 94 assertFalse(target.isBeforeFirst()); in testBeforeFirst() 97 assertFalse(emptyTarget.isBeforeFirst()); in testBeforeFirst() 193 assertFalse(emptyTarget.first()); in testtestFirst() 207 assertFalse(target.isAfterLast()); in testtestIsAfterLast() 211 assertFalse(emptyTarget.isAfterLast()); in testtestIsAfterLast() 226 assertFalse(target.isBeforeFirst()); in testtestIsBeforeFirst() 242 assertFalse(target.isFirst()); in testtestIsFirst() [all …]
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearTest.java | 21 import static org.junit.Assert.assertFalse; 35 assertFalse(Year.isLeap(1900)); in test_isLeap() 36 assertFalse(Year.isLeap(1999)); in test_isLeap() 38 assertFalse(Year.isLeap(2001)); in test_isLeap() 39 assertFalse(Year.isLeap(2002)); in test_isLeap() 40 assertFalse(Year.isLeap(2003)); in test_isLeap() 42 assertFalse(Year.isLeap(2005)); in test_isLeap()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileTest.java | 87 assertFalse(source.exists()); in test_longReadlink() 102 assertFalse(f.canExecute()); in test_emptyFilename() 103 assertFalse(f.canRead()); in test_emptyFilename() 104 assertFalse(f.canWrite()); in test_emptyFilename() 110 assertFalse(f.delete()); in test_emptyFilename() 112 assertFalse(f.exists()); in test_emptyFilename() 117 assertFalse(f.isAbsolute()); in test_emptyFilename() 118 assertFalse(f.isDirectory()); in test_emptyFilename() 119 assertFalse(f.isFile()); in test_emptyFilename() 120 assertFalse(f.isHidden()); in test_emptyFilename() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | CharacterTest.java | 26 assertFalse(Character.isValidCodePoint(-1)); in test_isValidCodePointI() 29 assertFalse(Character.isValidCodePoint(Integer.MAX_VALUE)); in test_isValidCodePointI() 35 assertFalse(Character.isValidCodePoint(0x10FFFF + 1)); in test_isValidCodePointI() 39 assertFalse(Character.isSupplementaryCodePoint(-1)); in test_isSupplementaryCodePointI() 42 assertFalse(Character.isSupplementaryCodePoint(c)); in test_isSupplementaryCodePointI() 49 assertFalse(Character.isSupplementaryCodePoint(0x10FFFF + 1)); in test_isSupplementaryCodePointI() 54 assertFalse(Character.isHighSurrogate((char) ('\uD800' - 1))); in test_isHighSurrogateC() 58 assertFalse(Character.isHighSurrogate((char) ('\uDBFF' + 1))); in test_isHighSurrogateC() 59 assertFalse(Character.isHighSurrogate('\uFFFF')); in test_isHighSurrogateC() 64 assertFalse(Character.isLowSurrogate((char) ('\uDC00' - 1))); in test_isLowSurrogateC() [all …]
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | StructTimespecTest.java | 108 assertFalse(allZero1.equals(val1)); in testEquals() 109 assertFalse(allZero1.equals(secZero1)); in testEquals() 110 assertFalse(allZero1.equals(nsecZero1)); in testEquals() 112 assertFalse(val1.equals(secZero1)); in testEquals() 113 assertFalse(val1.equals(nsecZero1)); in testEquals() 114 assertFalse(val1.equals(allZero1)); in testEquals() 116 assertFalse(secZero1.equals(nsecZero1)); in testEquals() 117 assertFalse(secZero1.equals(allZero1)); in testEquals() 118 assertFalse(secZero1.equals(val1)); in testEquals() 120 assertFalse(nsecZero1.equals(allZero1)); in testEquals() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | ModeTest.java | 39 assertFalse(m.find()); in testCase() 48 assertFalse(m.find()); in testCase() 57 assertFalse(m.find()); in testCase() 68 assertFalse(m.find()); in testMultiline() 71 assertFalse(m.find()); in testMultiline() 76 assertFalse(m.find()); in testMultiline() 81 assertFalse(m.find()); in testMultiline() 90 assertFalse(m.find()); in testMultiline() 99 assertFalse(m.find()); in testMultiline() 108 assertFalse(m.find()); in testMultiline() [all …]
|
D | Pattern2Test.java | 39 assertFalse(m2.matches()); in testSimpleMatch() 40 assertFalse(m2.find(0)); in testSimpleMatch() 41 assertFalse(m2.lookingAt()); in testSimpleMatch() 44 assertFalse(Pattern.matches("foo.*", "fox")); in testSimpleMatch() 46 assertFalse(Pattern.matches("bar", "foobar")); in testSimpleMatch() 62 assertFalse(m.find()); in testCursors() 69 assertFalse(m.find()); in testCursors() 75 assertFalse(m.find()); in testCursors() 81 assertFalse(m.find()); in testCursors() 93 assertFalse(m.find()); in testCursors() [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NormalizerTest.java | 58 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD)); in testIsNormalized() 59 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); in testIsNormalized() 60 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKD)); in testIsNormalized() 63 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFC)); in testIsNormalized() 65 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); in testIsNormalized() 66 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKD)); in testIsNormalized() 70 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD)); in testIsNormalized() 72 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKD)); in testIsNormalized() 75 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFC)); in testIsNormalized() 77 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); in testIsNormalized()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | BitSetTest.java | 68 assertFalse("Different BitSets returned true", eightbs.equals(bs)); in test_equalsLjava_lang_Object() 72 assertFalse("Different sized BitSet with higher bit set returned true", in test_equalsLjava_lang_Object() 109 assertFalse("Failed to clear bit", eightbs.get(7)); in test_clearI() 117 assertFalse("Failed to clear bit", eightbs.get(165)); in test_clearI() 180 assertFalse("Shouldn't have flipped bit " + i, bs.get(i)); in test_clearII() 186 assertFalse("Failed to clear bit " + i, bs.get(i)); in test_clearII() 191 assertFalse("Shouldn't have flipped bit " + i, bs.get(i)); in test_clearII() 198 assertFalse("Shouldn't have flipped bit " + i, bs.get(i)); in test_clearII() 211 assertFalse("Failed to clear bit " + i, bs.get(i)); in test_clearII() 222 assertFalse("Failed to clear bit " + i, bs.get(i)); in test_clearII() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | Pattern2Test.java | 118 assertFalse("expected '"+t+"' to not be matched " + in testCategory() 125 assertFalse("expected '"+t+"' to " + in testCategory() 195 assertFalse(m.matches()); in testRepeats() 197 assertFalse(m.matches()); in testRepeats() 206 assertFalse(m.matches()); in testRepeats() 215 assertFalse(m.matches()); in testRepeats() 217 assertFalse(m.matches()); in testRepeats() 224 assertFalse(m.matches()); in testRepeats() 232 assertFalse(m.matches()); in testRepeats() 234 assertFalse(m.matches()); in testRepeats() [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 111 assertFalse(scSocket.isClosed()); in test_channelSocketOutputStreamClosureState() 115 assertFalse(sc.isOpen()); in test_channelSocketOutputStreamClosureState() 132 assertFalse(scSocket.isClosed()); in test_channelSocketInputStreamClosureState() 136 assertFalse(sc.isOpen()); in test_channelSocketInputStreamClosureState() 149 assertFalse(socket.isBound()); in test_open_initialState() 150 assertFalse(socket.isClosed()); in test_open_initialState() 151 assertFalse(socket.isConnected()); in test_open_initialState() 158 assertFalse(socket.getReuseAddress()); in test_open_initialState() 176 assertFalse(sc.isConnected()); in test_bind_unresolvedAddress() 188 assertFalse(socket.isBound()); in test_bind_socketStateSync() [all …]
|
D | AsynchronousChannelGroupTest.java | 41 assertFalse(acg.isShutdown()); in test_withFixedThreadPool() 42 assertFalse(acg.isTerminated()); in test_withFixedThreadPool() 62 assertFalse(acg.isShutdown()); in test_withCachedThreadPool() 63 assertFalse(acg.isTerminated()); in test_withCachedThreadPool() 77 assertFalse(acg.isShutdown()); in test_withThreadPool() 78 assertFalse(acg.isTerminated()); in test_withThreadPool() 106 assertFalse(acg.awaitTermination(2, TimeUnit.SECONDS)); in test_shutdown() 126 assertFalse(assc.isOpen()); in test_shutdownNow() 145 assertFalse(acg.isTerminated()); in test_isTerminated() 163 assertFalse(acg.awaitTermination(TIMEOUT, TimeUnit.SECONDS)); in test_awaitTermination()
|