Home
last modified time | relevance | path

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

12345678910>>...63

/external/v8/test/mjsunit/
Dnumber-is.js38 assertFalse(Number.isFinite(Number.NaN));
39 assertFalse(Number.isFinite(Number.POSITIVE_INFINITY));
40 assertFalse(Number.isFinite(Number.NEGATIVE_INFINITY));
41 assertFalse(Number.isFinite(new Number(0)));
42 assertFalse(Number.isFinite(1/0));
43 assertFalse(Number.isFinite(-1/0));
44 assertFalse(Number.isFinite({}));
45 assertFalse(Number.isFinite([]));
46 assertFalse(Number.isFinite("s"));
47 assertFalse(Number.isFinite(null));
[all …]
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 …]
Dsamevalue.js69 assertFalse(sameValueBoth(0,1));
70 assertFalse(sameValueBoth("foo", "bar"));
71 assertFalse(sameValueBoth(obj1, obj2));
72 assertFalse(sameValueBoth(true, false));
74 assertFalse(sameValueBoth(obj1, true));
75 assertFalse(sameValueBoth(obj1, "foo"));
76 assertFalse(sameValueBoth(obj1, 1));
77 assertFalse(sameValueBoth(obj1, undefined));
78 assertFalse(sameValueBoth(obj1, NaN));
80 assertFalse(sameValueBoth(undefined, true));
[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 …]
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 …]
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 …]
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 …]
/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-2416.js28 assertFalse(2147483647 < -2147483648)
29 assertFalse(2147483647 <= -2147483648)
30 assertFalse(2147483647 == -2147483648)
36 assertFalse(-2147483648 == 2147483647)
37 assertFalse(-2147483648 >= 2147483647)
38 assertFalse(-2147483648 > 2147483647)
40 assertFalse(2147483647 < 2147483647)
44 assertFalse(2147483647 > 2147483647)
46 assertFalse(-2147483648 < -2147483648)
50 assertFalse(-2147483648 > -2147483648)
[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-2032.js35 assertFalse(/[@-A]/.test("a"));
39 assertFalse(/[¿-À]/i.test('¾'));
43 assertFalse(/[¿-À]/i.test('á'));
44 assertFalse(/[¿-À]/i.test('Á'));
46 assertFalse(/[¿-À]/.test('¾'));
49 assertFalse(/[¿-À]/.test('à'));
50 assertFalse(/[¿-À]/.test('á'));
51 assertFalse(/[¿-À]/.test('á'));
52 assertFalse(/[¿-À]/i.test('Á'));
54 assertFalse(/[Ö-×]/i.test('Õ'));
[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 …]
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DShortNumberUtilTest.java36 assertFalse(shortUtil.connectsToEmergencyNumber("999", RegionCode.US)); in testConnectsToEmergencyNumber_US()
42 assertFalse(shortUtil.connectsToEmergencyNumber("9996666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US()
48 assertFalse(shortUtil.connectsToEmergencyNumber("9-9-9", RegionCode.US)); in testConnectsToEmergencyNumberWithFormatting_US()
52 assertFalse(shortUtil.connectsToEmergencyNumber("+911", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
53 assertFalse(shortUtil.connectsToEmergencyNumber("\uFF0B911", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
54 assertFalse(shortUtil.connectsToEmergencyNumber(" +911", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
55 assertFalse(shortUtil.connectsToEmergencyNumber("+112", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
56 assertFalse(shortUtil.connectsToEmergencyNumber("+999", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US()
62 assertFalse(shortUtil.connectsToEmergencyNumber("999", RegionCode.BR)); in testConnectsToEmergencyNumber_BR()
67 assertFalse(shortUtil.connectsToEmergencyNumber("9111", RegionCode.BR)); in testConnectsToEmergencyNumberLongNumber_BR()
[all …]
DShortNumberInfoTest.java38 assertFalse(shortInfo.isPossibleShortNumber(impossibleNumber)); in testIsPossibleShortNumber()
50 assertFalse(shortInfo.isValidShortNumber( in testIsValidShortNumber()
52 assertFalse( in testIsValidShortNumber()
96 assertFalse( in testGetExpectedCost()
102 assertFalse(shortInfo.isValidShortNumber(invalidNumber)); in testGetExpectedCost()
137 assertFalse(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode()
149 assertFalse(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode()
160 assertFalse(shortInfo.isValidShortNumberForRegion(parse(ambiguousTollFreeString, RegionCode.CX), in testGetExpectedCostForSharedCountryCallingCode()
189 assertFalse(shortInfo.connectsToEmergencyNumber("999", RegionCode.US)); in testConnectsToEmergencyNumber_US()
195 assertFalse(shortInfo.connectsToEmergencyNumber("9996666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US()
[all …]
/external/v8/test/mjsunit/es7/
Darray-includes.js36 assertFalse(Array.prototype.includes.call(arrayLike1, "c"));
46 assertFalse(Array.prototype.includes.call(arrayLike2, "c"));
232 assertFalse([1, 2].includes(2, 3));
233 assertFalse([1, 2].includes(2, 2));
247 assertFalse(Array.prototype.includes.call(arrayLikeWithTrap, "c", 2));
248 assertFalse(Array.prototype.includes.call(arrayLikeWithTrap, "c", 3));
280 assertFalse([12, 13].includes(12, -1));
296 assertFalse(Array.prototype.includes.call(arrayLike, "a", -1));
303 assertFalse(["a", "b"].includes("a", 2.3));
317 assertFalse(Array.prototype.includes.call(arrayLikeWithTraps, "c", 2.1));
[all …]
/external/conscrypt/src/test/java/org/conscrypt/
DAddressUtilsTest.java30 assertFalse(AddressUtils.isValidSniHostname("www")); in test_isValidSniHostname_NotFQDN_Failure()
34 assertFalse(AddressUtils.isValidSniHostname("192.168.0.1")); in test_isValidSniHostname_IPv4_Failure()
38 assertFalse(AddressUtils.isValidSniHostname("2001:db8::1")); in test_isValidSniHostname_IPv6_Failure()
50 assertFalse(AddressUtils.isLiteralIpAddress("127.0.0.1a")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
51 assertFalse(AddressUtils.isLiteralIpAddress(" 255.255.255.255")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
52 assertFalse(AddressUtils.isLiteralIpAddress("0.0.00.0009")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
53 assertFalse(AddressUtils.isLiteralIpAddress("192.009z.010.19")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
54 assertFalse(AddressUtils.isLiteralIpAddress("254.249..094")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()
58 assertFalse(AddressUtils.isLiteralIpAddress("256.255.255.255")); in test_isLiteralIpAddress_IPv4_NumbersTooLarge_Failure()
59 assertFalse(AddressUtils.isLiteralIpAddress("255.255.255.256")); in test_isLiteralIpAddress_IPv4_NumbersTooLarge_Failure()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java38 assertFalse(element.isAbstract()); in testPrivateField()
39 assertFalse(element.isPackagePrivate()); in testPrivateField()
40 assertFalse(element.isProtected()); in testPrivateField()
41 assertFalse(element.isPublic()); in testPrivateField()
42 assertFalse(element.isFinal()); in testPrivateField()
43 assertFalse(element.isStatic()); in testPrivateField()
49 assertFalse(element.isPrivate()); in testPackagePrivateField()
51 assertFalse(element.isProtected()); in testPackagePrivateField()
52 assertFalse(element.isPublic()); in testPackagePrivateField()
53 assertFalse(element.isFinal()); in testPackagePrivateField()
[all …]
/external/v8/test/mjsunit/harmony/
Dunicode-escapes-in-regexps.js12 assertFalse(r.test("moo"));
62 assertFalse(r.test("fbar"));
63 assertFalse(r.test("fubar"));
65 assertFalse(r.test("fuuubar"));
71 assertFalse(r.test("fbar"));
74 assertFalse(r.test("fuuubar"));
85 assertFalse(r.test("q"));
86 assertFalse(r.test("("));
87 assertFalse(r.test(")"));
109 assertFalse(r.test("q"));
[all …]
/external/smali/util/src/test/java/org/jf/util/
DNumberUtilsTest.java67 Assert.assertFalse(NumberUtils.isLikelyFloat(0)); in isLikelyFloatTest()
68 Assert.assertFalse(NumberUtils.isLikelyFloat(1)); in isLikelyFloatTest()
69 Assert.assertFalse(NumberUtils.isLikelyFloat(10)); in isLikelyFloatTest()
70 Assert.assertFalse(NumberUtils.isLikelyFloat(100)); in isLikelyFloatTest()
71 Assert.assertFalse(NumberUtils.isLikelyFloat(1000)); in isLikelyFloatTest()
72 Assert.assertFalse(NumberUtils.isLikelyFloat(1024)); in isLikelyFloatTest()
73 Assert.assertFalse(NumberUtils.isLikelyFloat(1234)); in isLikelyFloatTest()
74 Assert.assertFalse(NumberUtils.isLikelyFloat(-5)); in isLikelyFloatTest()
75 Assert.assertFalse(NumberUtils.isLikelyFloat(-13)); in isLikelyFloatTest()
76 Assert.assertFalse(NumberUtils.isLikelyFloat(-123)); in isLikelyFloatTest()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DHostnameVerifierTest.java31 import static org.junit.Assert.assertFalse;
43 assertFalse(verifier.verify("localhost", session)); in verify()
75 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn()
76 assertFalse(verifier.verify("bar.com", session)); in verifyCn()
108 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
140 assertFalse(verifier.verify("foo.com", session)); in verifySubjectAlt()
141 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAlt()
143 assertFalse(verifier.verify("a.bar.com", session)); in verifySubjectAlt()
182 assertFalse(verifier.verify("a.foo.com", session)); in verifyNonAsciiSubjectAlt()
222 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAltOnly()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DUriPatternTypeTest.java28 assertFalse(pattern.matches("/path/file.bar")); in testMatches_servlet()
29 assertFalse(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet()
30 assertFalse(pattern.matches("/asdf")); in testMatches_servlet()
31 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet()
34 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet()
35 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet()
38 assertFalse(pattern.matches("/asdf")); in testMatches_servlet()
39 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet()
42 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet()
43 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAsyncSettableFutureTest.java39 assertFalse(future.isSet()); in testCreate()
40 assertFalse(future.isDone()); in testCreate()
41 assertFalse(future.isCancelled()); in testCreate()
49 assertFalse(future.setValue(23)); in testSetValue()
50 assertFalse(future.setException(new Exception("bar"))); in testSetValue()
51 assertFalse(future.setFuture(SettableFuture.<Integer>create())); in testSetValue()
54 assertFalse(future.isCancelled()); in testSetValue()
64 assertFalse(future.setValue(23)); in testSetException()
65 assertFalse(future.setException(new Exception("quux"))); in testSetException()
66 assertFalse(future.setFuture(SettableFuture.create())); in testSetException()
[all …]
/external/v8/test/mjsunit/es6/
Dstring-includes.js43 assertFalse(twoByteString.includes("\u0392"), "Not beta");
51 assertFalse(twoByteString.includes("\u0391\u03a3\u0395"),
102 assertFalse("abc".includes("d"));
103 assertFalse("abc".includes("abcd"));
104 assertFalse("abc".includes("ac"));
107 assertFalse("abc".includes("de", 0));
110 assertFalse("abc".includes("a", 1));
111 assertFalse("abc".includes("abc", 1));
113 assertFalse("abc".includes("d", 2));
114 assertFalse("abc".includes("dcd", 2));
[all …]
/external/jsr330/tck/org/atinject/tck/auto/
DConvertible.java235 assertFalse(engine.qualifiersInheritedFromOverriddenMethod);
239 assertFalse("Expected unqualified value",
241 assertFalse("Expected unqualified value",
250 assertFalse("Expected unqualified value",
252 assertFalse("Expected unqualified value",
261 assertFalse("Expected unqualified value",
263 assertFalse("Expected unqualified value",
274 assertFalse("Expected unqualified value",
276 assertFalse("Expected unqualified value",
285 assertFalse("Expected unqualified value",
[all …]

12345678910>>...63