Home
last modified time | relevance | path

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

12345678910>>...16

/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
DAtomicMarkableReferenceTest.java28 assertFalse(ai.isMarked()); in testConstructor()
42 assertFalse(ai.isMarked()); in testGetSet()
44 assertFalse(mark[0]); in testGetSet()
47 assertFalse(ai.isMarked()); in testGetSet()
49 assertFalse(mark[0]); in testGetSet()
63 assertFalse(ai.isMarked()); in testAttemptMark()
78 assertFalse(ai.isMarked()); in testCompareAndSet()
79 assertFalse(mark[0]); in testCompareAndSet()
83 assertFalse(mark[0]); in testCompareAndSet()
89 assertFalse(ai.compareAndSet(two, m3, true, true)); in testCompareAndSet()
[all …]
DAbstractQueuedSynchronizerTest.java102 assertFalse(rl.isHeldExclusively()); in testIsHeldExclusively()
113 assertFalse(rl.isHeldExclusively()); in testAcquire()
134 assertFalse(sync.hasQueuedThreads()); in testhasQueuedThreads()
147 assertFalse(sync.hasQueuedThreads()); in testhasQueuedThreads()
175 assertFalse(sync.isQueued(t1)); in testIsQueued()
176 assertFalse(sync.isQueued(t2)); in testIsQueued()
187 assertFalse(sync.isQueued(t1)); in testIsQueued()
191 assertFalse(sync.isQueued(t1)); in testIsQueued()
193 assertFalse(sync.isQueued(t2)); in testIsQueued()
240 assertFalse(sync.hasContended()); in testHasContended()
[all …]
DReentrantReadWriteLockTest.java72 assertFalse(rl.isFair()); in testConstructor()
73 assertFalse(rl.isWriteLocked()); in testConstructor()
77 assertFalse(r2.isWriteLocked()); in testConstructor()
91 assertFalse(rl.isWriteLocked()); in testLock()
92 assertFalse(rl.isWriteLockedByCurrentThread()); in testLock()
95 assertFalse(rl.isWriteLocked()); in testLock()
96 assertFalse(rl.isWriteLockedByCurrentThread()); in testLock()
99 assertFalse(rl.isWriteLocked()); in testLock()
100 assertFalse(rl.isWriteLockedByCurrentThread()); in testLock()
115 assertFalse(rl.isWriteLocked()); in testFairLock()
[all …]
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
DHostnameVerifierTest.java65 assertFalse(hv.verify("localhost", session)); in test_verify()
92 assertFalse(verifier.verify("a.foo.com", session)); in testVerify()
93 assertFalse(verifier.verify("bar.com", session)); in testVerify()
99 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in testVerify()
105 assertFalse(verifier.verify("a.foo.com", session)); in testVerify()
107 assertFalse(verifier.verify("a.bar.com", session)); in testVerify()
113 assertFalse(verifier.verify("a.foo.com", session)); in testVerify()
127 assertFalse(verifier.verify("a.foo.com", session)); in testVerify()
133 assertFalse(verifier.verify("a.foo.com", session)); in testVerify()
138 assertFalse(verifier.verify("foo.com", session)); in testVerify()
[all …]
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
DBidiTest.java250 assertFalse(bd.isMixed()); in testEmptyParagraph()
251 assertFalse(bd.isRightToLeft()); in testEmptyParagraph()
254 assertFalse(bd.baseIsLeftToRight()); in testEmptyParagraph()
261 assertFalse(bd.isLeftToRight()); in testEmptyParagraph()
262 assertFalse(bd.isMixed()); in testEmptyParagraph()
274 assertFalse(bd.isMixed()); in testEmptyParagraph()
275 assertFalse(bd.isRightToLeft()); in testEmptyParagraph()
278 assertFalse(bd.baseIsLeftToRight()); in testEmptyParagraph()
285 assertFalse(bd.isLeftToRight()); in testEmptyParagraph()
286 assertFalse(bd.isMixed()); in testEmptyParagraph()
[all …]
/dalvik/libcore/sql/src/test/java/tests/java/sql/
DDatabaseMetaDataNotSupportedTest.java143 assertFalse(meta.allProceduresAreCallable()); in test_allProceduresAreCallable()
188 assertFalse("No SELECT privileges", userMeta.allTablesAreSelectable()); in test_allTablesAreSelectable()
223 assertFalse(meta.dataDefinitionIgnoredInTransactions()); in test_dataDefinitionIgnoredInTransactions()
237 assertFalse(meta.deletesAreDetected(0)); in test_deletesAreDetectedI()
252 assertFalse(meta.doesMaxRowSizeIncludeBlobs()); in test_doesMaxRowSizeIncludeBlobs()
410 assertFalse("Rows are obtained", rs.next()); in test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
647 assertFalse("Some privilegies exist", privileges.next()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
652 assertFalse("Some privilegies exist", privileges.next()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
729 assertFalse("Some privilegies exist", privileges.next()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
733 assertFalse("Some privilegies exist", privileges.next()); in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String()
[all …]
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/
DCoderResultTest.java108 assertFalse(CoderResult.OVERFLOW.isError()); in testConstants()
109 assertFalse(CoderResult.OVERFLOW.isMalformed()); in testConstants()
110 assertFalse(CoderResult.OVERFLOW.isUnderflow()); in testConstants()
111 assertFalse(CoderResult.OVERFLOW.isUnmappable()); in testConstants()
128 assertFalse(CoderResult.UNDERFLOW.isError()); in testConstants()
129 assertFalse(CoderResult.UNDERFLOW.isMalformed()); in testConstants()
131 assertFalse(CoderResult.UNDERFLOW.isUnmappable()); in testConstants()
132 assertFalse(CoderResult.UNDERFLOW.isOverflow()); in testConstants()
173 assertFalse(CoderResult.UNDERFLOW.isError()); in testIsError()
174 assertFalse(CoderResult.OVERFLOW.isError()); in testIsError()
[all …]
/dalvik/libcore/regex/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DModeTest.java58 assertFalse(m.find()); in testCase()
67 assertFalse(m.find()); in testCase()
76 assertFalse(m.find()); in testCase()
100 assertFalse(m.find()); in testMultiline()
103 assertFalse(m.find()); in testMultiline()
108 assertFalse(m.find()); in testMultiline()
113 assertFalse(m.find()); in testMultiline()
122 assertFalse(m.find()); in testMultiline()
131 assertFalse(m.find()); in testMultiline()
140 assertFalse(m.find()); in testMultiline()
[all …]
DPattern2Test.java52 assertFalse(m2.matches()); in testSimpleMatch()
53 assertFalse(m2.find(0)); in testSimpleMatch()
54 assertFalse(m2.lookingAt()); in testSimpleMatch()
57 assertFalse(Pattern.matches("foo.*", "fox")); in testSimpleMatch()
59 assertFalse(Pattern.matches("bar", "foobar")); in testSimpleMatch()
88 assertFalse(m.find()); in testCursors()
95 assertFalse(m.find()); in testCursors()
101 assertFalse(m.find()); in testCursors()
107 assertFalse(m.find()); in testCursors()
119 assertFalse(m.find()); in testCursors()
[all …]
DPatternSyntaxExceptionTest.java81 assertFalse(s.contains("Foo")); in testPatternSyntaxException()
93 assertFalse(s.contains("Bar")); in testPatternSyntaxException()
103 assertFalse(s.contains("Foo")); in testPatternSyntaxException()
104 assertFalse(s.contains("Bar")); in testPatternSyntaxException()
112 assertFalse(s.contains("^")); in testPatternSyntaxException()
119 assertFalse(s.contains("^")); in testPatternSyntaxException()
/dalvik/libcore/sql/src/test/java/tests/sql/
DResultSetTest.java100 assertFalse(target.absolute(0)); in testAbsolute()
139 assertFalse(target.next()); in testAfterLast()
146 assertFalse(emptyTarget.isAfterLast()); in testAfterLast()
179 assertFalse(target.isBeforeFirst()); in testBeforeFirst()
186 assertFalse(emptyTarget.isBeforeFirst()); in testBeforeFirst()
348 assertFalse(emptyTarget.first()); in testtestFirst()
379 assertFalse(target.isAfterLast()); in testtestIsAfterLast()
388 assertFalse(emptyTarget.isAfterLast()); in testtestIsAfterLast()
420 assertFalse(target.isBeforeFirst()); in testtestIsBeforeFirst()
457 assertFalse(target.isFirst()); in testtestIsFirst()
[all …]
/dalvik/libcore/security/src/test/java/tests/java/security/
DBasicPermissionTest.java122 assertFalse(b1.equals(null)); in testEquals()
123 assertFalse(b1.equals(new Object())); in testEquals()
124 assertFalse(b1.equals("abc")); in testEquals()
127 assertFalse(b1.equals(new BasicPermission("abc"){})); in testEquals()
128 assertFalse(b1.equals(new BasicPermissionImpl("abc.*"))); in testEquals()
146 assertFalse(b1.implies(new BasicPermissionImpl("a.b.c.*"))); in testImplies()
147 assertFalse(b1.implies(new BasicPermission("a.b.c"){})); in testImplies()
151 assertFalse(new BasicPermissionImpl("a.b*").implies(b1)); in testImplies()
152 assertFalse(new BasicPermissionImpl("a.b.c.*").implies(b1)); in testImplies()
/dalvik/libcore-disabled/sound/src/test/java/android/core/
DSoundTest.java80 Assert.assertFalse("Sequencer must not be open", sequencer.isOpen()); in testMidiSupport()
88 Assert.assertFalse("Sequencer must not be running", sequencer.isRunning()); in testMidiSupport()
98 … Assert.assertFalse("Sequencer must not be running (after 1 second)", sequencer.isRunning()); in testMidiSupport()
101 Assert.assertFalse("Sequencer must not be open", sequencer.isOpen()); in testMidiSupport()
119 Assert.assertFalse("Clip must not be open", clip.isOpen()); in testSampledSupport()
123 Assert.assertFalse("Clip must not be running", clip.isRunning()); in testSampledSupport()
133 Assert.assertFalse("Clip must not be running (after 1 second)", clip.isRunning()); in testSampledSupport()
136 Assert.assertFalse("Clip must not be open", clip.isOpen()); in testSampledSupport()
/dalvik/tests/021-string2/src/
DMain.java33 Assert.assertFalse(test.equals(test2)); in main()
45 Assert.assertFalse(offset.equals(sub)); in main()
46 Assert.assertFalse(sub.equals(offset)); in main()
48 Assert.assertFalse(test.equals(blah)); in main()
58 Assert.assertFalse(test.equals(null)); in main()
62 Assert.assertFalse(test.equals(test1)); in main()
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DEnumMapTest.java288 assertFalse("Returned true for uncontained key", enumSizeMap //$NON-NLS-1$ in test_containsKeyLjava_lang_Object()
298 assertFalse("Returned true for uncontained key", enumSizeMap //$NON-NLS-1$ in test_containsKeyLjava_lang_Object()
300 assertFalse("Returned true for uncontained key", enumSizeMap //$NON-NLS-1$ in test_containsKeyLjava_lang_Object()
302 assertFalse("Returned true for uncontained key", enumSizeMap //$NON-NLS-1$ in test_containsKeyLjava_lang_Object()
349 assertFalse("Returned true for uncontained value", enumSizeMap //$NON-NLS-1$ in test_containsValueLjava_lang_Object()
359 assertFalse("Returned true for uncontained value", enumSizeMap //$NON-NLS-1$ in test_containsValueLjava_lang_Object()
362 assertFalse("Returned true for uncontained value", enumSizeMap //$NON-NLS-1$ in test_containsValueLjava_lang_Object()
399 assertFalse("Returned true for uncontained object", set //$NON-NLS-1$ in test_entrySet()
401 assertFalse("Returned true for uncontained object", set //$NON-NLS-1$ in test_entrySet()
404 assertFalse("Returned true for uncontained object", set //$NON-NLS-1$ in test_entrySet()
[all …]
DEnumSetTest.java146 assertFalse( in test_AllOf_LClass()
164 assertFalse(hugeEnumSet.contains(null)); in test_AllOf_LClass()
222 assertFalse("Return value should be false", result); //$NON-NLS-1$ in test_add_E()
255 assertFalse(result); in test_add_E()
282 assertFalse(result); in test_add_E()
315 assertFalse(result); in test_addAll_LCollection()
328 assertFalse(result); in test_addAll_LCollection()
364 assertFalse("Should return false", result); //$NON-NLS-1$ in test_addAll_LCollection()
373 assertFalse("Should return false", result); //$NON-NLS-1$ in test_addAll_LCollection()
377 assertFalse("Should return false", result); //$NON-NLS-1$ in test_addAll_LCollection()
[all …]
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
DSocketChannelTest.java232 assertFalse(this.channel1.isOpen()); in testIsOpen()
242 assertFalse(this.channel1.isConnected());// not connected in testIsConnected()
244 assertFalse(this.channel1.connect(localAddr1)); in testIsConnected()
245 assertFalse(this.channel1.isConnected()); in testIsConnected()
250 assertFalse(this.channel1.isConnected()); in testIsConnected()
263 assertFalse(this.channel1.isConnectionPending()); in testIsConnectionPending()
271 assertFalse(this.channel1.isConnectionPending()); in testIsConnectionPending()
273 assertFalse(this.channel1.connect(localAddr1)); in testIsConnectionPending()
277 assertFalse(this.channel1.isConnectionPending()); in testIsConnectionPending()
308 assertFalse(gotSocket.isClosed()); in testChannelBasicStatus()
[all …]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DCharacter_SubsetTest.java77 assertFalse(subset1.equals(new Character.Subset("name") {})); in test_equals()
78 assertFalse(subset1.equals(new Character.Subset("name1") {})); in test_equals()
79 assertFalse(subset1.equals(new Integer(0))); in test_equals()
92 assertFalse(subset1.hashCode() == subset2.hashCode()); in test_hashCode()
93 assertFalse(subset1.hashCode() == subset3.hashCode()); in test_hashCode()
DCharacterTest.java58 assertFalse(Character.isValidCodePoint(-1)); in test_isValidCodePointI()
61 assertFalse(Character.isValidCodePoint(Integer.MAX_VALUE)); in test_isValidCodePointI()
67 assertFalse(Character.isValidCodePoint(0x10FFFF + 1)); in test_isValidCodePointI()
76 assertFalse(Character.isSupplementaryCodePoint(-1)); in test_isSupplementaryCodePointI()
79 assertFalse(Character.isSupplementaryCodePoint(c)); in test_isSupplementaryCodePointI()
86 assertFalse(Character.isSupplementaryCodePoint(0x10FFFF + 1)); in test_isSupplementaryCodePointI()
96 assertFalse(Character.isHighSurrogate((char) ('\uD800' - 1))); in test_isHighSurrogateC()
100 assertFalse(Character.isHighSurrogate((char) ('\uDBFF' + 1))); in test_isHighSurrogateC()
101 assertFalse(Character.isHighSurrogate('\uFFFF')); in test_isHighSurrogateC()
111 assertFalse(Character.isLowSurrogate((char) ('\uDC00' - 1))); in test_isLowSurrogateC()
[all …]
DBooleanTest.java86 assertFalse(Boolean.FALSE.booleanValue()); in test_booleanValue()
101 assertFalse(Boolean.TRUE.equals("true")); in test_equalsLjava_lang_Object()
102 assertFalse(Boolean.TRUE.equals(null)); in test_equalsLjava_lang_Object()
103 assertFalse(Boolean.FALSE.equals(Boolean.TRUE)); in test_equalsLjava_lang_Object()
125 assertFalse(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String()
208 assertFalse(Boolean.parseBoolean("false")); in test_parseBooleanLjava_lang_String()
209 assertFalse(Boolean.parseBoolean(null)); in test_parseBooleanLjava_lang_String()
210 assertFalse(Boolean.parseBoolean("")); in test_parseBooleanLjava_lang_String()
211 assertFalse(Boolean.parseBoolean("invalid")); in test_parseBooleanLjava_lang_String()
/dalvik/dx/src/com/android/dx/util/_tests/
D_ListIntSet.java43 assertFalse(set.has(2)); in test_basic()
44 assertFalse(set.has(7)); in test_basic()
45 assertFalse(set.has(30)); in test_basic()
67 assertFalse(iter.hasNext()); in test_iterator()
82 assertFalse(iter.hasNext()); in test_empty()
96 assertFalse(set.has(2)); in test_remove()
97 assertFalse(set.has(7)); in test_remove()
98 assertFalse(set.has(30)); in test_remove()
102 assertFalse(set.has(0)); in test_remove()
D_BitIntSet.java43 assertFalse(set.has(2)); in test_basic()
44 assertFalse(set.has(7)); in test_basic()
45 assertFalse(set.has(30)); in test_basic()
67 assertFalse(iter.hasNext()); in test_iterator()
88 assertFalse(set.has(2)); in test_remove()
89 assertFalse(set.has(7)); in test_remove()
90 assertFalse(set.has(30)); in test_remove()
94 assertFalse(set.has(0)); in test_remove()
117 assertFalse(iter.hasNext()); in test_expand()
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
DCodeSourceTest.java200 assertFalse(thiz.equals(null)); in testEqualsObject_00()
252 assertFalse(thiz.equals(that)); in testEqualsObject_04()
253 assertFalse(that.equals(thiz)); in testEqualsObject_04()
256 assertFalse(thiz.equals(that)); in testEqualsObject_04()
257 assertFalse(that.equals(thiz)); in testEqualsObject_04()
493 assertFalse(cs0.implies(null)); in testImplies_00()
512 assertFalse(thizCS.implies(thatCS)); in testImplies_01()
558 assertFalse(thizCS.implies(thatCS)); in testImplies_03_tmp()
559 assertFalse(thatCS.implies(thizCS)); in testImplies_03_tmp()
584 assertFalse(thizCS.implies(thatCS)); in testImplies_04()
[all …]
/dalvik/libcore/security/src/test/java/tests/security/acl/
DIGroupTest.java70 assertFalse(gr.addMember(pr)); in test_addMember()
73 assertFalse(gr.isMember(pr)); in test_addMember()
74 assertFalse(gr.removeMember(pr)); in test_addMember()
94 assertFalse("Not empty enumeration", en.hasMoreElements()); in test_members()
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DRC5ParameterSpecTest.java86 assertFalse("The change of iv specified in the constructor " in testRC5ParameterSpec1()
142 assertFalse("The change of iv specified in the constructor " in testRC5ParameterSpec2()
244 assertFalse("The change of returned by getIV() method iv " in testGetIV()
292 assertFalse("Should return not be equal to null object.", in testEquals()
296 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals()
299 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals()
302 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals()
306 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals()
347 assertFalse(ps1.equals(ps3)); in test_constructorIII()

12345678910>>...16