Searched refs:assertTrue (Results 251 - 275 of 1847) sorted by relevance

<<11121314151617181920>>

/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Ddirectoryfileset_unittest.py42 self.assertTrue('some-file' in self._fileset.namelist())
43 self.assertTrue('some-other-file' in self._fileset.namelist())
44 self.assertTrue('b/c' in self._fileset.namelist())
61 self.assertTrue(self._filesystem.exists('/test-directory/b/c'))
64 self.assertTrue(self._filesystem.exists('/test/some-file'))
/external/guava/guava-tests/test/com/google/common/collect/
H A DAbstractMultimapTest.java98 assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
146 assertTrue(multimap.isEmpty());
162 assertTrue(multimap.isEmpty());
167 assertTrue(multimap.containsKey("foo"));
178 assertTrue(multimap.containsKey(nullKey()));
183 assertTrue(multimap.containsValue(1));
194 assertTrue(multimap.containsValue(nullValue()));
199 assertTrue(multimap.containsEntry("foo", 1));
219 assertTrue(values.contains(3));
228 assertTrue(value
[all...]
/external/v8/test/mjsunit/harmony/
H A Dcollections.js69 assertTrue(set.has(key));
121 assertTrue(m.has(key));
135 assertTrue(m.delete(key));
205 assertTrue(Set() instanceof Set);
206 assertTrue(Map() instanceof Map);
207 assertTrue(WeakMap() instanceof WeakMap);
216 assertTrue(s.has(NaN));
217 assertTrue(s.has(NaN + 1));
224 assertTrue(m.has(NaN));
225 assertTrue(
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DIdentityHashMap2Test.java97 assertTrue("cannot get element", empty.get("something") == "here");
110 assertTrue("Failed to construct correct IdentityHashMap", hm
146 assertTrue("Clone answered equivalent IdentityHashMap", hm2 != hm);
148 assertTrue("Clone answered unequal IdentityHashMap", hm
163 assertTrue("values() is identical", values2 != values);
170 assertTrue("keySet() is identical", key2 != keys);
181 assertTrue("Returned false for valid key", hm
183 assertTrue("Returned true for copy of valid key", !hm
185 assertTrue("Returned true for invalid key", !hm.containsKey("KKDKDKD"));
189 assertTrue("Faile
[all...]
H A DDateTest.java52 assertTrue("Created incorrect date: " + oldTime + " now: " + now,
66 assertTrue("Created incorrect date", d1.equals(d2));
70 assertTrue("Wrong time zone", date.equals(cal.getTime()));
86 assertTrue("Created incorrect date", d1.equals(d2));
102 assertTrue("Created incorrect date", d1.equals(d2));
121 assertTrue("Created incorrect date", d1.equals(d2));
140 assertTrue("Older was returned as newer", d2.after(d1));
141 assertTrue("Newer was returned as older", !d1.after(d2));
151 assertTrue("Older was returned as newer", !d2.before(d1));
152 assertTrue("Newe
[all...]
H A DBitSetTest.java102 assertTrue(
127 assertTrue("Clear didn't clear bit " + i, !eightbs.get(i));
136 assertTrue("Test2: isEmpty() returned incorrect value", bs.isEmpty());
152 assertTrue("Clear cleared incorrect bits", eightbs.get(i));
224 assertTrue("Shouldn't have cleared bit " + i, bs.get(i));
235 assertTrue("Shouldn't have cleared bit " + i, bs.get(i));
250 assertTrue("Shouldn't have cleared bit " + i, bs.get(i));
256 assertTrue("Shouldn't have flipped bit " + i, !bs.get(i));
278 assertTrue("Shouldn't have flipped bit " + i, !bs.get(i));
292 assertTrue("Should
[all...]
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerXorTest.java41 assertTrue(res.equals(result.toString()));
54 assertTrue(res.equals(result.toString()));
67 assertTrue(res.equals(result.toString()));
80 assertTrue(res.equals(result.toString()));
93 assertTrue(res.equals(result.toString()));
106 assertTrue(res.equals(result.toString()));
119 assertTrue(res.equals(result.toString()));
132 assertTrue(res.equals(result.toString()));
145 assertTrue(res.equals(result.toString()));
158 assertTrue(re
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DPushbackInputStreamTest.java112 assertTrue("Available returned incorrect number of bytes", pis
124 assertTrue("markSupported returned true", !pis.markSupported());
133 assertTrue("Incorrect byte read", pis.read() == fileString
149 assertTrue("Incorrect bytes read", new String(buf, "UTF-8")
164 assertTrue("a) Incorrect bytes read", new String(buf, "UTF-8")
170 assertTrue("b) Incorrect bytes read", new String(buf2, "UTF-8")
182 assertTrue("Incorrect bytes read", new String(buf, "UTF-8")
186 assertTrue("Failed to unread bytes", new String(buf, 0, 50, "UTF-8")
201 assertTrue("Incorrect bytes read", new String(buf, "UTF-8")
205 assertTrue("Faile
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DProcess2Test.java39 assertTrue("getInputStream() returned non-buffered stream: " + in, (in instanceof BufferedInputStream));
41 assertTrue("getErrorStream() returned non-buffered stream: " + in, (in instanceof BufferedInputStream));
43 assertTrue("getOutputStream() returned non-buffered stream: " + out, (out instanceof BufferedOutputStream));
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/
H A DPhantomReferenceTest.java50 assertTrue("Initialization failed.", !pr.isEnqueued());
53 assertTrue("should always pass", bool.booleanValue());
61 assertTrue("Should not throw NullPointerException", !exception);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
H A DMethodTest.java148 assertTrue("Overriden method returned equal", !m1.equals(m2));
149 assertTrue("Same method returned not-equal", m1.equals(m1));
154 assertTrue("Inherited method returned not-equal", m1.equals(m2));
167 assertTrue("Returned incorrect declaring class: "
183 assertTrue("Returned incorrect exception type", ex[0]
205 assertTrue("Incorrect modifiers returned", (mods | mask) == mask);
210 assertTrue("Incorrect modifiers returned", (mods | mask) == mask);
215 assertTrue("Incorrect modifiers returned", (mods | mask) == mask);
221 assertTrue("Incorrect modifiers returned", (mods | mask) == mask);
227 assertTrue("Incorrec
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DURLDecoderTest.java44 assertTrue("1. Incorrect encoding/decoding", URLDecoder.decode(
46 assertTrue("2. Incorrect encoding/decoding", URLDecoder.decode(
48 assertTrue("3. Incorrect encoding/decoding", URLDecoder.decode(
H A DURLEncoderTest.java38 assertTrue("1. Incorrect encoding/decoding", URLDecoder.decode(
40 assertTrue("2. Incorrect encoding/decoding", URLDecoder.decode(
42 assertTrue("3. Incorrect encoding/decoding", URLDecoder.decode(
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
H A DCodingErrorActionTest.java58 assertTrue(CodingErrorAction.IGNORE.toString().indexOf("IGNORE") != -1);
59 assertTrue(CodingErrorAction.REPLACE.toString().indexOf("REPLACE") != -1);
60 assertTrue(CodingErrorAction.REPORT.toString().indexOf("REPORT") != -1);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
H A DEncodedKeySpecTest.java66 assertTrue(result);
86 assertTrue(ek[3] == (byte)4);
107 assertTrue(ek1[3] == (byte)4);
/external/v8/test/mjsunit/bugs/
H A Dbug-1344252.js48 assertTrue(typeof f.x == 'undefined');
60 assertTrue(typeof f.y == 'undefined');
78 assertTrue(typeof o2.z == 'undefined');
/external/v8/test/mjsunit/compiler/
H A Dlogical-and.js44 assertTrue(AndBB(0, 0));
58 assertTrue(AndNB(1, 0));
62 assertTrue(AndNB(2, 0));
/external/v8/test/mjsunit/
H A Ddebug-break-inline.js57 assertTrue(frame.isOptimizedFrame());
58 assertTrue(frame.isInlinedFrame());
61 assertTrue(frame.isOptimizedFrame());
H A Dmirror-array.js52 assertTrue(mirror instanceof debug.Mirror, 'Unexpected mirror hierachy');
53 assertTrue(mirror instanceof debug.ValueMirror, 'Unexpected mirror hierachy');
54 assertTrue(mirror instanceof debug.ObjectMirror, 'Unexpected mirror hierachy');
55 assertTrue(mirror instanceof debug.ArrayMirror, 'Unexpected mirror hierachy');
58 assertTrue(mirror.isArray(), 'Unexpected mirror');
62 assertTrue(mirror.constructorFunction() instanceof debug.ObjectMirror, 'Unexpected mirror hierachy');
64 assertTrue(mirror.protoObject() instanceof debug.Mirror, 'Unexpected mirror hierachy');
65 assertTrue(mirror.prototypeObject() instanceof debug.Mirror, 'Unexpected mirror hierachy');
71 assertTrue(indexedProperties[i] instanceof debug.Mirror, 'Unexpected mirror hierachy');
72 assertTrue(indexedPropertie
[all...]
H A Dstack-traces-2.js44 assertTrue(e.stack.indexOf(nativeFuncName) >= 0, nativeFuncName);
56 assertTrue(e.stack.indexOf(nativeFuncName) >= 0, nativeFuncName);
66 assertTrue(e.stack.indexOf(included) >= 0, included);
H A Dstack-traces.js122 assertTrue(e.stack.indexOf(expected[i]) != -1,
133 assertTrue(threw, name + " didn't throw");
146 assertTrue(threw, "CallerCensorship didn't throw");
159 assertTrue(e.stack.indexOf('at new ReferenceError') != -1,
163 assertTrue(threw, "UnintendedCallerCensorship didn't throw");
178 assertTrue(e.stack.indexOf('<error: ReferenceError') != -1,
181 assertTrue(threw, "ErrorsDuringFormatting didn't throw");
190 assertTrue(e.stack.indexOf('<error>') != -1,
193 assertTrue(threw, "ErrorsDuringFormatting didnt' throw (2)");
210 assertTrue(
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-254.js35 assertTrue(re.test("x"), "Global, test 1");
50 assertTrue(re2.test("x"), "Non-global, test 1");
52 assertTrue(re2.test("x"), "Non-global, test 2");
/external/webkit/LayoutTests/dom/xhtml/level3/core/
H A Ddomimplementationregistry17.js96 assertTrue("atLeastOne",
103 assertTrue("hasXML3",hasFeature);
105 assertTrue("hasCore",hasFeature);
H A Dtypeinfoisderivedfrom02.js108 assertTrue("derivedFromSelfRestriction",isDerived);
112 assertTrue("derivedFromSelfAny",isDerived);
114 assertTrue("derivedFromSelfAll",isDerived);
H A Dtypeinfoisderivedfrom21.js108 assertTrue("derivedFromSelfByRestriction",isDerived);
112 assertTrue("derivedFromSelfByAny",isDerived);
114 assertTrue("derivedFromSelfByAll",isDerived);

Completed in 417 milliseconds

<<11121314151617181920>>