Home
last modified time | relevance | path

Searched refs:assertFalse (Results 1 – 25 of 598) sorted by relevance

12345678910>>...24

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java56 assertFalse(verifyWithServerCertificate( in testVerify()
58 assertFalse(verifyWithServerCertificate( in testVerify()
67 assertFalse(verifyWithServerCertificate("imap.g.com", new StubX509Certificate("") in testSubjectAltNameAndCn()
69 assertFalse( in testSubjectAltNameAndCn()
84 assertFalse(verifyWithServerCertificate("1.2.3.5", new StubX509Certificate("") in testSubjectAltNameWithIpAddress()
109 assertFalse(verifyWithServerCertificate("g.com", new StubX509Certificate("") in testUnknownSubjectAltName()
117 assertFalse(verifyWithServerCertificate("2.33.44.1", new StubX509Certificate("") in testUnknownSubjectAltName()
128 assertFalse(verifyWithServerCertificate("1.2.3.4", new StubX509Certificate("cn=*.2.3.4"))); in testWildcardsRejectedForIpAddress()
129 assertFalse(verifyWithServerCertificate("1.2.3.4", new StubX509Certificate("cn=*.2.3.4") in testWildcardsRejectedForIpAddress()
132 assertFalse(verifyWithServerCertificate( in testWildcardsRejectedForIpAddress()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHostnameVerifierTest.java40 assertFalse(hv.verify("localhost", session)); in test_verify()
54 assertFalse(verifier.verify("a.foo.com", session)); in testVerify()
55 assertFalse(verifier.verify("bar.com", session)); in testVerify()
61 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in testVerify()
66 assertFalse(verifier.verify("foo.com", session)); in testVerify()
67 assertFalse(verifier.verify("a.foo.com", session)); in testVerify()
69 assertFalse(verifier.verify("a.bar.com", session)); in testVerify()
74 assertFalse(verifier.verify("foo.com", session)); in testVerify()
75 assertFalse(verifier.verify("a.foo.com", session)); in testVerify()
77 assertFalse(verifier.verify("a.bar.com", session)); in testVerify()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DBidiTest.java156 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/
DDatabaseMetaDataNotSupportedTest.java132 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/
DCoderResultTest.java53 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/
DInetAddressTest.java109 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 …]
DCookiePolicyTest.java50 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/
DAtomicMarkableReferenceTest.java33 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 …]
DAtomicBooleanTest.java32 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 …]
DStampedLockTest.java59 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 …]
DConcurrentSkipListSubSetTest.java52 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/java/time/
DYearTest.java21 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/sql/
DOldResultSetTest.java63 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/io/
DFileTest.java87 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/
DCharacterTest.java26 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/java/text/
DNormalizerTest.java58 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/regex/
DModeTest.java38 assertFalse(m.find()); in testCase()
46 assertFalse(m.find()); in testCase()
54 assertFalse(m.find()); in testCase()
65 assertFalse(m.find()); in testMultiline()
68 assertFalse(m.find()); in testMultiline()
72 assertFalse(m.find()); in testMultiline()
77 assertFalse(m.find()); in testMultiline()
85 assertFalse(m.find()); in testMultiline()
93 assertFalse(m.find()); in testMultiline()
101 assertFalse(m.find()); in testMultiline()
[all …]
DPattern2Test.java39 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/org/apache/harmony/regex/tests/java/util/regex/
DModeTest.java38 assertFalse(m.find()); in testCase()
47 assertFalse(m.find()); in testCase()
56 assertFalse(m.find()); in testCase()
66 assertFalse(m.find()); in testMultiline()
69 assertFalse(m.find()); in testMultiline()
74 assertFalse(m.find()); in testMultiline()
79 assertFalse(m.find()); in testMultiline()
88 assertFalse(m.find()); in testMultiline()
97 assertFalse(m.find()); in testMultiline()
106 assertFalse(m.find()); in testMultiline()
[all …]
DPattern2Test.java118 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/lang/
DOldCharacterSubsetTest.java27 assertFalse(subset1.equals(new Character.Subset("name") {})); in test_equals()
28 assertFalse(subset1.equals(new Character.Subset("name1") {})); in test_equals()
29 assertFalse(subset1.equals(new Integer(0))); in test_equals()
36 assertFalse(subset1.hashCode() == subset2.hashCode()); in test_hashCode()
37 assertFalse(subset1.hashCode() == subset3.hashCode()); in test_hashCode()
DBooleanTest.java27 assertFalse(Boolean.FALSE.booleanValue()); in test_FALSE()
44 assertFalse(Boolean.logicalAnd(Boolean.TRUE, Boolean.FALSE)); in testLogicalAnd()
45 assertFalse(Boolean.logicalAnd(Boolean.FALSE, Boolean.TRUE)); in testLogicalAnd()
46 assertFalse(Boolean.logicalAnd(Boolean.FALSE, Boolean.FALSE)); in testLogicalAnd()
53 assertFalse(Boolean.logicalOr(Boolean.FALSE, Boolean.FALSE)); in testLogicalOr()
57 assertFalse(Boolean.logicalXor(Boolean.TRUE, Boolean.TRUE)); in testLogicalXor()
60 assertFalse(Boolean.logicalXor(Boolean.FALSE, Boolean.FALSE)); in testLogicalXor()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DBitSetTest.java68 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/libcore/java/nio/channels/
DAsynchronousChannelGroupTest.java41 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()
DSocketChannelTest.java111 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 …]

12345678910>>...24