Home
last modified time | relevance | path

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

12345678910>>...37

/external/chromium_org/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 …]
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 …]
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 …]
Dconstant-fold-control-instructions.js19 assertFalse(%_IsObject(0));
20 assertFalse(%_IsObject(""));
23 assertFalse(%_IsSmi(1.1));
24 assertFalse(%_IsSmi({}));
27 assertFalse(%_IsRegExp({}));
30 assertFalse(%_IsArray(function() {}));
33 assertFalse(%_IsFunction(null));
36 assertFalse(%_IsSpecObject(1));
39 assertFalse(%_IsMinusZero(1));
40 assertFalse(%_IsMinusZero(""));
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 …]
/external/chromium_org/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 …]
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.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.java41 assertFalse(shortInfo.isPossibleShortNumber(impossibleNumber)); in testIsPossibleShortNumber()
42 assertFalse(shortInfo.isPossibleShortNumberForRegion("9", RegionCode.FR)); in testIsPossibleShortNumber()
54 assertFalse(shortInfo.isValidShortNumber( in testIsValidShortNumber()
56 assertFalse(shortInfo.isValidShortNumberForRegion("123456", RegionCode.FR)); in testIsValidShortNumber()
99 assertFalse(shortInfo.isValidShortNumberForRegion("116123", RegionCode.FR)); in testGetExpectedCost()
104 assertFalse(shortInfo.isValidShortNumber(invalidNumber)); in testGetExpectedCost()
138 assertFalse(shortInfo.isValidShortNumberForRegion(ambiguousPremiumRateString, RegionCode.CX)); in testGetExpectedCostForSharedCountryCallingCode()
148 assertFalse(shortInfo.isValidShortNumberForRegion(ambiguousStandardRateString, RegionCode.CX)); in testGetExpectedCostForSharedCountryCallingCode()
157 assertFalse(shortInfo.isValidShortNumberForRegion(ambiguousTollFreeString, RegionCode.CX)); in testGetExpectedCostForSharedCountryCallingCode()
185 assertFalse(shortInfo.connectsToEmergencyNumber("999", RegionCode.US)); in testConnectsToEmergencyNumber_US()
[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/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/translate/
DTranslateOptionsTest.java28 assertFalse(options.neverTranslateLanguageState()); in testNoChanges()
30 assertFalse(options.neverTranslateDomainState()); in testNoChanges()
31 assertFalse(options.optionsChanged()); in testNoChanges()
50 assertFalse(options.optionsChanged()); in testBasicLanguageChanges()
59 assertFalse(options.setTargetLanguage(0)); in testInvalidLanguageChanges()
60 assertFalse(options.optionsChanged()); in testInvalidLanguageChanges()
63 assertFalse(options.setTargetLanguage(23)); in testInvalidLanguageChanges()
64 assertFalse(options.optionsChanged()); in testInvalidLanguageChanges()
67 assertFalse(options.setSourceLanguage(1)); in testInvalidLanguageChanges()
68 assertFalse(options.optionsChanged()); in testInvalidLanguageChanges()
[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/chromium_org/v8/test/mjsunit/harmony/
Dstring-contains.js45 assertFalse(twoByteString.contains("\u0392"), "Not beta");
53 assertFalse(twoByteString.contains("\u0391\u03a3\u0395"),
104 assertFalse("abc".contains("d"));
105 assertFalse("abc".contains("abcd"));
106 assertFalse("abc".contains("ac"));
109 assertFalse("abc".contains("de", 0));
112 assertFalse("abc".contains("a", 1));
113 assertFalse("abc".contains("abc", 1));
115 assertFalse("abc".contains("d", 2));
116 assertFalse("abc".contains("dcd", 2));
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
DUrlUtilitiesTest.java27 assertFalse(UrlUtilities.isAcceptedScheme("super:awesome")); in testIsAcceptedScheme()
28 assertFalse(UrlUtilities.isAcceptedScheme( in testIsAcceptedScheme()
30 assertFalse(UrlUtilities.isAcceptedScheme( in testIsAcceptedScheme()
32 assertFalse(UrlUtilities.isAcceptedScheme( in testIsAcceptedScheme()
34 assertFalse(UrlUtilities.isAcceptedScheme("chrome://http://version")); in testIsAcceptedScheme()
35 assertFalse(UrlUtilities.isAcceptedScheme("")); in testIsAcceptedScheme()
36 assertFalse(UrlUtilities.isAcceptedScheme(" http://awesome.example.com/")); in testIsAcceptedScheme()
37 assertFalse(UrlUtilities.isAcceptedScheme("ht\ntp://awesome.example.com/")); in testIsAcceptedScheme()
48 assertFalse(UrlUtilities.isDownloadableScheme("inline:skates.co.uk")); in testIsDownloadableScheme()
49 assertFalse(UrlUtilities.isDownloadableScheme("javascript:alert(1)")); in testIsDownloadableScheme()
[all …]
/external/lldb/test/python_api/default-constructor/
DTestDefaultConstructorForAPIObjects.py29 self.assertFalse(obj)
39 self.assertFalse(obj)
49 self.assertFalse(obj)
59 self.assertFalse(obj)
69 self.assertFalse(obj)
87 self.assertFalse(obj)
97 self.assertFalse(obj)
107 self.assertFalse(obj)
117 self.assertFalse(obj)
129 self.assertFalse(obj)
[all …]

12345678910>>...37