Home
last modified time | relevance | path

Searched refs:shouldBeFalse (Results 1 – 25 of 50) sorted by relevance

12

/external/v8/test/webkit/
Dcomparison-operators-greater.js110 shouldBeFalse("0 >= 1");
111 shouldBeFalse("1 >= 2");
112 shouldBeFalse("1 > 1");
113 shouldBeFalse("1 > 2");
119 shouldBeFalse("if (0 >= 1 || 0) true; else false");
120 shouldBeFalse("if (1 >= 2 || 0) true; else false");
121 shouldBeFalse("if (1 < 1 || 0) true; else false");
122 shouldBeFalse("if (2 < 1 || 0) true; else false");
128 shouldBeFalse("0.5 >= 1");
129 shouldBeFalse("1.5 >= 2");
[all …]
Dcomparison-operators-less.js108 shouldBeFalse("1 <= 0");
109 shouldBeFalse("2 <= 1");
110 shouldBeFalse("1 < 1");
111 shouldBeFalse("2 < 1");
117 shouldBeFalse("if (1 <= 0 || 0) true; else false");
118 shouldBeFalse("if (2 <= 1 || 0) true; else false");
119 shouldBeFalse("if (1 < 1 || 0) true; else false");
120 shouldBeFalse("if (2 < 1 || 0) true; else false");
126 shouldBeFalse("1 <= 0.5");
127 shouldBeFalse("2 <= 1.5");
[all …]
Dcodegen-loops-logical-nodes.js300 shouldBeFalse("while_not_or_eq()");
310 shouldBeFalse("while_not_or_neq()");
320 shouldBeFalse("while_not_or_less()");
330 shouldBeFalse("while_not_or_lesseq()");
340 shouldBeFalse("while_not_and_eq()");
350 shouldBeFalse("while_not_and_neq()");
360 shouldBeFalse("while_not_and_less()");
370 shouldBeFalse("while_not_and_lesseq()");
379 shouldBeFalse("for_not_or_eq()");
388 shouldBeFalse("for_not_or_neq()");
[all …]
Dclass-syntax-prototype.js43 shouldBeFalse('class A {}; descriptor(A, "prototype").writable');
45 shouldBeFalse('class A {}; descriptor(A, "prototype").enumerable');
47 shouldBeFalse('class A {}; enumeratedProperties(A).includes("prototype")');
48 shouldBeFalse('class A {}; descriptor(A, "prototype").configurable');
53 shouldBeFalse('class A { static foo() {} }; descriptor(A, "foo").enumerable');
54 shouldBeFalse('class A { static foo() {} }; enumeratedProperties(A).includes("foo")');
60 shouldBeFalse('class A { static get foo() {} }; descriptor(A, "foo").enumerable');
61 shouldBeFalse('class A { static get foo() {} }; enumeratedProperties(A).includes("foo")');
62 shouldBeFalse('class A { static get foo() {} }; enumeratedProperties(new A).includes("foo")');
68 shouldBeFalse('class A { foo() {} }; descriptor(A.prototype, "foo").enumerable');
[all …]
DArray-isArray.js30 shouldBeFalse("(function(){ return Array.isArray(arguments); })()");
31 shouldBeFalse("Array.isArray()");
32 shouldBeFalse("Array.isArray(null)");
33 shouldBeFalse("Array.isArray(undefined)");
34 shouldBeFalse("Array.isArray(true)");
35 shouldBeFalse("Array.isArray(false)");
36 shouldBeFalse("Array.isArray('a string')");
37 shouldBeFalse("Array.isArray({})");
38 shouldBeFalse("Array.isArray({length: 5})");
39 shouldBeFalse("Array.isArray({__proto__: Array.prototype, length:1, 0:1, 1:2})");
Dtypeof-constant-string.js34 shouldBeFalse("isUndefined(1)");
42 shouldBeFalse("isUndefinedStrict(1)");
51 shouldBeFalse("isBoolean(1)");
60 shouldBeFalse("isBooleanStrict(1)");
68 shouldBeFalse("isNumber(undefined)");
76 shouldBeFalse("isNumberStrict(undefined)");
84 shouldBeFalse("isString(1)");
92 shouldBeFalse("isStringStrict(1)");
100 shouldBeFalse("isObject(1)");
108 shouldBeFalse("isObjectStrict(1)");
[all …]
Dtypeof-codegen-crash.js30 shouldBeFalse("typeof o == undefined");
31 shouldBeFalse("typeof o == null");
32 shouldBeFalse("typeof o == true");
33 shouldBeFalse("typeof o == false");
34 shouldBeFalse("typeof o == 1");
35 shouldBeFalse("typeof o == 1.0");
36 shouldBeFalse("typeof o == { }");
Dinstance-of-immediates.js48 testSet("Constructor", { "1":shouldBeFalse, "{}":shouldBeFalse, "obj":shouldBeTrue });
53 testSet("Constructor", { "1":shouldBeFalse, "{}":shouldThrow, "obj":shouldThrow });
58 testSet("Constructor", { "1":shouldBeFalse, "{}":shouldBeFalse, "obj":shouldBeFalse });
63 testSet("Constructor", { "1":shouldBeFalse, "{}":shouldThrow, "obj":shouldThrow });
DpreventExtensions.js119 shouldBeFalse('func.prototype === 42');
120 shouldBeFalse('Object.getOwnPropertyDescriptor(func, "prototype").writable')
126 shouldBeFalse('strictFunc.prototype === 42');
127 shouldBeFalse('Object.getOwnPropertyDescriptor(strictFunc, "prototype").writable')
134 shouldBeFalse('Object.getOwnPropertyDescriptor(array, "length").writable')
141 shouldBeFalse('Object.getOwnPropertyDescriptor(args, "length").writable')
142 shouldBeFalse('Object.getOwnPropertyDescriptor(args, "callee").writable')
156 shouldBeFalse('Object.getOwnPropertyDescriptor(freeze({0:0}), 0).configurable');
157 shouldBeFalse('Object.getOwnPropertyDescriptor(freeze({10000001:0}), 10000001).configurable');
Darray-every.js32 shouldBeFalse("[12, 5, 8, 130, 44].every(isBigEnough)");
43 shouldBeFalse("[12, 5, 10, 130, 44].every(isBigEnough, predicate)");
55 shouldBeFalse("[12, 5, 8, 130, 44].every(isBigEnoughAndPop)");
64 shouldBeFalse("[12, 5, 8, 130, 44].every(isBigEnoughAndChange)");
65 shouldBeFalse("[12, 54, 18, 130, 44].every(isBigEnoughAndChange)");
73 shouldBeFalse("[12, 5, 8, 130, 44].every(isBigEnoughAndPush)");
74 shouldBeFalse("[12, 54, 18, 130, 44].every(isBigEnoughAndPush)");
101 shouldBeFalse("[12, 5, 8, 130, 44].every(isBigEnoughShortCircuit)");
Dregexp-backreferences.js27 shouldBeFalse("/(...)\\1$/.test('abcdef')");
28 shouldBeFalse("/(...)\\2$/.test('abcabc')");
29 shouldBeFalse("/(...)\\2$/.test('abc')");
32 shouldBeFalse("/\\2(...)$/.test('abcabc')");
33 shouldBeFalse("/\\2(...)$/.test('abc')");
39 shouldBeFalse("re.test('axabcd')");
Dregexp-literals-arent-constants.js29 shouldBeFalse("currentRegExp === lastRegExp");
37 shouldBeFalse("currentRegExp === lastRegExp");
45 shouldBeFalse("returnRegExpLiteral() === returnRegExpLiteral()");
53 shouldBeFalse("returnConditionalRegExpLiteral(true) === returnConditionalRegExpLiteral(true)");
54 shouldBeFalse("returnConditionalRegExpLiteral(false) === returnConditionalRegExpLiteral(false)");
55 shouldBeFalse("returnConditionalRegExpLiteral(true) === returnConditionalRegExpLiteral(false)");
Dconstant-encoding.js26 shouldBeFalse("0 >= 0x01000100")
27 shouldBeFalse("0 >= 0x01010000")
28 shouldBeFalse("0 >= 0x00000101")
29 shouldBeFalse("0 >= 0x00010001")
30 shouldBeFalse("0 >= 0x01010101")
DpropertyIsEnumerable.js34 shouldBeFalse("a.propertyIsEnumerable('length')");
36 shouldBeFalse("a.propertyIsEnumerable ('non-existant')");
40 shouldBeFalse("global.propertyIsEnumerable ('Math')");
41 shouldBeFalse("global.propertyIsEnumerable ('NaN')");
42 shouldBeFalse("global.propertyIsEnumerable ('undefined')");
Dclass-constructor-return.js62 shouldBeFalse('(new BaseReturnObject) instanceof BaseReturnObject');
64 shouldBeFalse('(new BaseReturnObject2) instanceof BaseReturnObject');
100 shouldBeFalse('(new FunctionReturnObject) instanceof FunctionReturnObject');
102 shouldBeFalse('(new FunctionReturnObject2) instanceof FunctionReturnObject');
141 shouldBeFalse('(new DerivedReturnObject) instanceof DerivedReturnObject');
143 shouldBeFalse('(new DerivedReturnObject2) instanceof DerivedReturnObject2');
206 shouldBeFalse('(new DerivedDefaultConstructorWithBaseReturnObject) instanceof DerivedDefaultConstru…
208 shouldBeFalse('(new DerivedDefaultConstructorWithBaseReturnObject2) instanceof DerivedDefaultConstr…
Dregexp-char-insensitive.js33 shouldBeFalse("/\u00E5/i.test('P')");
34 shouldBeFalse("/\u00E5/i.test('PASS')");
35 shouldBeFalse("/\u00C5/i.test('P')");
36 shouldBeFalse("/\u00C5/i.test('PASS')");
Dprototypes.js64 shouldBeFalse("String.prototype.isPrototypeOf('')");
65 shouldBeFalse("Number.prototype.isPrototypeOf(0)");
84 shouldBeFalse("var wasSet = false; var o = { }; Object.defineProperty(o, \"__proto__\", { \"__proto…
88 shouldBeFalse("var o = {}; o.__proto__ = { x:true }; o.hasOwnProperty('__proto__')");
Dhas-own-property.js32 shouldBeFalse("({foo : 'yum'}).hasOwnProperty('bar')");
33 shouldBeFalse("({foo : 'yum'}).hasOwnProperty('toString')");
34 shouldBeFalse("''.hasOwnProperty('toString')");
/external/v8/test/webkit/fast/js/kde/
Doperators.js409 shouldBeFalse("'abc' <= 0"); // #35246
413 shouldBeFalse("0 <= 'abc'");
419 shouldBeFalse("NaN < 0");
420 shouldBeFalse("NaN <= 0");
421 shouldBeFalse("NaN > 0");
422 shouldBeFalse("NaN >= 0");
424 shouldBeFalse("nonSpeculativeLessEq('abc', 0)"); // #35246
428 shouldBeFalse("nonSpeculativeLessEq(0, 'abc')");
434 shouldBeFalse("nonSpeculativeLess(NaN, 0)");
435 shouldBeFalse("nonSpeculativeLessEq(NaN, 0)");
[all …]
DGlobalObject.js40 shouldBeFalse("isNaN('1')");
46 shouldBeFalse("isFinite('a')");
51 shouldBeFalse("isFinite(Infinity)");
52 shouldBeFalse("isFinite('Infinity')");
96 shouldBeFalse("isFinite(parseFloat('Infinity'))");
97 shouldBeFalse("delete NaN");
98 shouldBeFalse("delete Infinity");
99 shouldBeFalse("delete undefined");
Dmath.js34 shouldBeFalse("isNegativeZero(0)");
58 shouldBeFalse("isNegativeZero(Math.round(0))");
78 shouldBeFalse("isFinite(Math.log(0))");
80 shouldBeFalse("isFinite(Math.log(Infinity))");
86 shouldBeFalse("isFinite(Math.max())");
/external/v8/test/webkit/fast/regex/
DtoString.js68 shouldBeFalse('testLineTerminator("\\n");');
69 shouldBeFalse('testLineTerminator("\\\\n");');
70 shouldBeFalse('testLineTerminator("\\r");');
71 shouldBeFalse('testLineTerminator("\\\\r");');
72 shouldBeFalse('testLineTerminator("\\u2028");');
73 shouldBeFalse('testLineTerminator("\\\\u2028");');
74 shouldBeFalse('testLineTerminator("\\u2029");');
75 shouldBeFalse('testLineTerminator("\\\\u2029");');
DunicodeCaseInsensitive.js78 shouldBeFalse('/\u0489/i.test("\u048a")')
81 shouldBeFalse('/\u048c/i.test("\u048a")')
82 shouldBeFalse('/\u0489/i.test("\u048b")')
85 shouldBeFalse('/\u048c/i.test("\u048b")')
90 shouldBeFalse('/\u04c4/i.test("\u04c5")')
93 shouldBeFalse('/\u04c7/i.test("\u04c5")')
94 shouldBeFalse('/\u04c4/i.test("\u04c6")')
97 shouldBeFalse('/\u04c7/i.test("\u04c6")')
/external/v8/test/webkit/fast/js/
DJSON-parse-reviver.js55 shouldBeFalse("currentHolder.hasOwnProperty(0)");
73 shouldBeFalse("currentHolder.hasOwnProperty(3)");
138 shouldBeFalse("currentHolder.hasOwnProperty('a property')");
155 shouldBeFalse("currentHolder.hasOwnProperty('to delete')");
179 shouldBeFalse("result.hasOwnProperty('a property')");
DObject-defineProperty.js119 shouldBeFalse("var result = false; var o = Object.defineProperty(Object.defineProperty({}, 'foo', {…
194 shouldBeFalse("Object.getOwnPropertyDescriptor(Object.defineProperty(Object.defineProperty({}, 'foo…
195 shouldBeFalse("Object.getOwnPropertyDescriptor(Object.defineProperty(Object.defineProperty({}, 'foo…
199 shouldBeFalse("var a = Object.defineProperty([], 'length', {writable: false}); a[0] = 42; 0 in a;");
221 shouldBeFalse("anObj.propertyIsEnumerable('slot2')");

12