Home
last modified time | relevance | path

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

12345678910>>...32

/external/v8/test/mjsunit/
Din.js32 assertFalse(0 in o);
33 assertFalse('x' in o);
34 assertFalse('y' in o);
38 assertFalse(0 in o);
40 assertFalse('y' in o);
44 assertFalse(0 in o);
54 assertFalse(0 in a);
55 assertFalse(1 in a);
56 assertFalse('0' in a);
57 assertFalse('1' in a);
[all …]
Dstrict-equals.js34 assertFalse(null === void 0);
35 assertFalse(void 0 === null);
36 assertFalse(u === null);
37 assertFalse(null === u);
38 assertFalse(n === u);
39 assertFalse(u === n);
46 assertFalse('bar' === 'foo');
47 assertFalse('foo' === new String('foo'));
48 assertFalse(new String('foo') === new String('foo'));
51 assertFalse(s === null);
[all …]
Dregexp.js91 assertFalse(/\ca/.test( "\\ca" ));
92 assertFalse(/\ca/.test( "ca" ));
99 assertFalse(re.test("M"));
100 assertFalse(re.test("c"));
101 assertFalse(re.test("\\"));
102 assertFalse(re.test("\x03")); // I.e., read as \cc
107 assertFalse(re.test("\x1d")); // ']' & 0x1f
108 assertFalse(re.test("\x03]")); // I.e., read as \cc
112 assertFalse(re.test("\\"));
113 assertFalse(re.test("c"));
[all …]
Dsamevalue.js52 assertFalse(natives.SameValue(0,1));
53 assertFalse(natives.SameValue("foo", "bar"));
54 assertFalse(natives.SameValue(obj1, obj2));
55 assertFalse(natives.SameValue(true, false));
57 assertFalse(natives.SameValue(obj1, true));
58 assertFalse(natives.SameValue(obj1, "foo"));
59 assertFalse(natives.SameValue(obj1, 1));
60 assertFalse(natives.SameValue(obj1, undefined));
61 assertFalse(natives.SameValue(obj1, NaN));
63 assertFalse(natives.SameValue(undefined, true));
[all …]
Dnumber-is.js33 assertFalse(Number.isFinite(Number.NaN));
34 assertFalse(Number.isFinite(Number.POSITIVE_INFINITY));
35 assertFalse(Number.isFinite(Number.NEGATIVE_INFINITY));
36 assertFalse(Number.isFinite(new Number(0)));
37 assertFalse(Number.isFinite(1/0));
38 assertFalse(Number.isFinite(-1/0));
39 assertFalse(Number.isFinite({}));
40 assertFalse(Number.isFinite([]));
41 assertFalse(Number.isFinite("s"));
42 assertFalse(Number.isFinite(null));
[all …]
Dregexp-multiline-stack-trace.js39 assertFalse(/^bar/.test("foo\nbar"));
45 assertFalse(/bar$/.test("bar\nfoo"));
51 assertFalse(/^bxr/.test("bar"));
52 assertFalse(/^bxr/.test("bar\nfoo"));
53 assertFalse(/^bxr/m.test("bar"));
54 assertFalse(/^bxr/m.test("bar\nfoo"));
55 assertFalse(/^bxr/m.test("foo\nbar"));
57 assertFalse(/bxr$/.test("bar"));
58 assertFalse(/bxr$/.test("foo\nbar"));
59 assertFalse(/bxr$/m.test("bar"));
[all …]
Dregexp-multiline.js35 assertFalse(/^bar/.test("foo\nbar"));
41 assertFalse(/bar$/.test("bar\nfoo"));
47 assertFalse(/^bxr/.test("bar"));
48 assertFalse(/^bxr/.test("bar\nfoo"));
49 assertFalse(/^bxr/m.test("bar"));
50 assertFalse(/^bxr/m.test("bar\nfoo"));
51 assertFalse(/^bxr/m.test("foo\nbar"));
53 assertFalse(/bxr$/.test("bar"));
54 assertFalse(/bxr$/.test("foo\nbar"));
55 assertFalse(/bxr$/m.test("bar"));
[all …]
Dnew.js30 assertFalse(null == new Construct(null));
31 assertFalse(void 0 == new Construct(void 0));
32 assertFalse(0 == new Construct(0));
33 assertFalse(1 == new Construct(1));
34 assertFalse(4.2 == new Construct(4.2));
35 assertFalse('foo' == new Construct('foo'));
36 assertFalse(true == new Construct(true));
40 assertFalse(x === new Construct(null));
41 assertFalse(x === new Construct(void 0));
42 assertFalse(x === new Construct(1));
[all …]
Ddelete.js49 assertFalse(delete y, "don't delete");
50 assertFalse(typeof y === 'undefined');
57 assertFalse(has(o, 'x'));
60 assertFalse(has(o, 'x'));
61 assertFalse(has(o, 'y'));
73 assertFalse(has(o, String.fromCharCode(i)), "deleted (" + i + ")");
81 assertFalse(has(a, 0), "delete 0");
86 assertFalse(has(a, 0), "delete 0");
107 assertFalse(has(o, 0), "delete 0");
108 assertFalse(has(o, Math.pow(2,30)));
[all …]
Dcompare-nan.js31 assertFalse(NaN == x, "NaN == " + x);
32 assertFalse(NaN === x, "NaN === " + x);
33 assertFalse(NaN < x, "NaN < " + x);
34 assertFalse(NaN > x, "NaN > " + x);
35 assertFalse(NaN <= x, "NaN <= " + x);
36 assertFalse(NaN >= x, "NaN >= " + x);
38 assertFalse(x == NaN, "" + x + " == NaN");
39 assertFalse(x === NaN, "" + x + " === NaN");
40 assertFalse(x < NaN, "" + x + " < NaN");
41 assertFalse(x > NaN, "" + x + " > NaN");
[all …]
Darray-elements-from-object-prototype.js52 assertFalse(a.hasOwnProperty(3))
55 assertFalse(a.hasOwnProperty(7))
64 assertFalse(a.hasOwnProperty(3))
69 assertFalse(a.hasOwnProperty(7))
76 assertFalse(a.hasOwnProperty(3))
83 assertFalse(a.hasOwnProperty(6))
86 assertFalse(a.hasOwnProperty(7))
96 assertFalse(a.hasOwnProperty(3))
103 assertFalse(a.hasOwnProperty(6))
106 assertFalse(a.hasOwnProperty(7))
[all …]
Darray-elements-from-array-prototype-chain.js52 assertFalse(a.hasOwnProperty(3))
55 assertFalse(a.hasOwnProperty(7))
64 assertFalse(a.hasOwnProperty(3))
69 assertFalse(a.hasOwnProperty(7))
76 assertFalse(a.hasOwnProperty(3))
83 assertFalse(a.hasOwnProperty(6))
86 assertFalse(a.hasOwnProperty(7))
96 assertFalse(a.hasOwnProperty(3))
103 assertFalse(a.hasOwnProperty(6))
106 assertFalse(a.hasOwnProperty(7))
[all …]
Darray-elements-from-array-prototype.js52 assertFalse(a.hasOwnProperty(3))
55 assertFalse(a.hasOwnProperty(7))
64 assertFalse(a.hasOwnProperty(3))
69 assertFalse(a.hasOwnProperty(7))
76 assertFalse(a.hasOwnProperty(3))
83 assertFalse(a.hasOwnProperty(6))
86 assertFalse(a.hasOwnProperty(7))
96 assertFalse(a.hasOwnProperty(3))
103 assertFalse(a.hasOwnProperty(6))
106 assertFalse(a.hasOwnProperty(7))
[all …]
Darray-splice.js34 assertFalse(0 in spliced, "0 in spliced");
37 assertFalse(0 in array, "0 in array");
40 assertFalse(3 in array, "3 in array");
272 assertFalse(array.hasOwnProperty(0), "array.hasOwnProperty(0)");
273 assertFalse(array.hasOwnProperty(1), "array.hasOwnProperty(1)");
277 assertFalse(array.hasOwnProperty(5), "array.hasOwnProperty(5)");
278 assertFalse(array.hasOwnProperty(6), "array.hasOwnProperty(6)");
279 assertFalse(array.hasOwnProperty(7), "array.hasOwnProperty(7)");
281 assertFalse(array.hasOwnProperty(9), "array.hasOwnProperty(9)");
284 assertFalse(array.hasOwnProperty(10), "array.hasOwnProperty(10)");
[all …]
Dobject-freeze.js69 assertFalse(Object.isFrozen(obj));
74 assertFalse(Object.isExtensible(obj));
81 assertFalse(desc.writable);
82 assertFalse(desc.configurable);
86 assertFalse(desc.writable);
87 assertFalse(desc.configurable);
110 assertFalse(Object.isFrozen(obj2));
113 assertFalse(Object.isExtensible(obj2));
116 assertFalse(desc.configurable);
139 assertFalse(Object.isFrozen(arr));
[all …]
/external/v8/test/mjsunit/regress/
Dregress-674753.js33 assertFalse(typeof 'x' == 'number');
34 assertFalse(typeof 'x' === 'number');
41 assertFalse(typeof 1 == 'string');
42 assertFalse(typeof 1 === 'string');
43 assertFalse(typeof Object() == 'string');
44 assertFalse(typeof Object() === 'string');
51 assertFalse(typeof 1 == 'boolean');
52 assertFalse(typeof 1 === 'boolean');
53 assertFalse(typeof Object() == 'boolean');
54 assertFalse(typeof Object() === 'boolean');
[all …]
Dregress-503.js29 assertFalse(undefined <= undefined, 2);
30 assertFalse(undefined >= undefined, 3);
31 assertFalse(undefined < undefined, 4);
32 assertFalse(undefined > undefined, 5);
37 assertFalse(null < null, 9);
38 assertFalse(null > null, 10);
41 assertFalse(void 0 <= void 0, 12);
42 assertFalse(void 0 >= void 0, 13);
43 assertFalse(void 0 < void 0, 14);
44 assertFalse(void 0 > void 0, 15);
[all …]
Dregress-406.js32 assertFalse(typeof(0) == "zero");
36 assertFalse(typeof(0) == "zero" && typeof(0) == "zero");
37 assertFalse(typeof(0) == "zero" && typeof(0) != "zero");
38 assertFalse(typeof(0) != "zero" && typeof(0) == "zero");
41 assertFalse(typeof(0) == "zero" || typeof(0) == "zero");
50 assertFalse(typeof(0) == "zero" && one() < 0);
51 assertFalse(typeof(0) == "zero" && one() > 0);
52 assertFalse(typeof(0) != "zero" && one() < 0);
55 assertFalse(typeof(0) == "zero" || one() < 0);
61 assertFalse(one() < 0 && typeof(0) == "zero");
[all …]
Dregress-1692.js53 assertFalse(o.propertyIsEnumerable("a"));
54 assertFalse(o.propertyIsEnumerable("b"));
55 assertFalse(o.propertyIsEnumerable("1"));
56 assertFalse(o.propertyIsEnumerable("2"));
60 assertFalse(o.propertyIsEnumerable("d"));
62 assertFalse(o.propertyIsEnumerable("4"));
65 assertFalse(o.propertyIsEnumerable("f"));
66 assertFalse(o.propertyIsEnumerable("g"));
67 assertFalse(o.propertyIsEnumerable("11"));
68 assertFalse(o.propertyIsEnumerable("12"));
[all …]
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DShortNumberUtilTest.java34 assertFalse(shortUtil.connectsToEmergencyNumber("999", RegionCode.US)); in testConnectsToEmergencyNumber_US()
40 assertFalse(shortUtil.connectsToEmergencyNumber("9996666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US()
46 assertFalse(shortUtil.connectsToEmergencyNumber("9-9-9", RegionCode.US)); in testConnectsToEmergencyNumberWithFormatting_US()
50 assertFalse(shortUtil.connectsToEmergencyNumber("+911", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
51 assertFalse(shortUtil.connectsToEmergencyNumber("\uFF0B911", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
52 assertFalse(shortUtil.connectsToEmergencyNumber(" +911", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
53 assertFalse(shortUtil.connectsToEmergencyNumber("+119", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
54 assertFalse(shortUtil.connectsToEmergencyNumber("+999", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
60 assertFalse(shortUtil.connectsToEmergencyNumber("999", RegionCode.BR)); in testConnectsToEmergencyNumber_BR()
65 assertFalse(shortUtil.connectsToEmergencyNumber("9111", RegionCode.BR)); in testConnectsToEmergencyNumberLongNumber_BR()
[all …]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/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 …]
/external/v8/test/mjsunit/third_party/
Darray-isarray.js38 assertFalse((function(){ return Array.isArray(arguments); })());
39 assertFalse(Array.isArray());
40 assertFalse(Array.isArray(null));
41 assertFalse(Array.isArray(undefined));
42 assertFalse(Array.isArray(true));
43 assertFalse(Array.isArray(false));
44 assertFalse(Array.isArray('a string'));
45 assertFalse(Array.isArray({}));
46 assertFalse(Array.isArray({length: 5}));
47 assertFalse(Array.isArray({__proto__: Array.prototype, length:1, 0:1, 1:2}));
/external/apache-harmony/nio_char/src/test/java/tests/api/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 …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DInetAddressTest.java115 assertFalse("Expected subclass returned", in test_getAllByNameLjava_lang_String()
179 assertFalse(ia2.isMulticastAddress()); in test_isMulticastAddress()
187 assertFalse(ia2.isAnyLocalAddress()); in test_isAnyLocalAddress()
189 assertFalse(ia2.isAnyLocalAddress()); in test_isAnyLocalAddress()
197 assertFalse(ia2.isLinkLocalAddress()); in test_isLinkLocalAddress()
199 assertFalse(ia2.isLinkLocalAddress()); in test_isLinkLocalAddress()
207 assertFalse(ia2.isLoopbackAddress()); in test_isLoopbackAddress()
219 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress()
221 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress()
223 assertFalse(ia2.isSiteLocalAddress()); in test_isSiteLocalAddress()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DEmptyCachesTest.java73 assertFalse(cache.equals(null)); in testEquals_null()
159 assertFalse(keys.remove(null)); in testKeySet_empty_remove()
160 assertFalse(keys.remove(6)); in testKeySet_empty_remove()
161 assertFalse(keys.remove(-6)); in testKeySet_empty_remove()
162 assertFalse(keys.removeAll(asList(null, 0, 15, 1500))); in testKeySet_empty_remove()
163 assertFalse(keys.retainAll(asList(null, 0, 15, 1500))); in testKeySet_empty_remove()
179 assertFalse(keys.remove(null)); in testKeySet_remove()
180 assertFalse(keys.remove(6)); in testKeySet_remove()
181 assertFalse(keys.remove(-6)); in testKeySet_remove()
182 assertFalse(keys.removeAll(asList(null, 0, 15, 1500))); in testKeySet_remove()
[all …]

12345678910>>...32