HomeSort by relevance Sort by last modified time
    Searched full:shouldbe (Results 226 - 250 of 438) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/v8/test/webkit/
function-dot-length-read-only.js 34 shouldBe("o.length", "0");
36 shouldBe("o.length", "0");
getter-setter-gc.js 31 shouldBe('o.x', '242');
41 shouldBe('o.x', '242')
regexp-find-first-asserted.js 28 shouldBe('/.*<body>(.*)<\\/body>.*/.exec("foo<body>bar</body>baz").toString()', '"foo<body>bar</body>baz,bar"');
29 shouldBe('/\\s*<!--([\s\S]*)\\/\\/\\s*-->\\s*/.exec("<!--// -->").toString()', '"<!--// -->,"');
static-scope-object.js 33 shouldBe("namedFunctionExpression()", 'globalObject');
43 shouldBe("throwingFunctionAsException()", 'globalObject');
named-function-expression.js 31 shouldBe("var x = (function(a,b){ return a + b; }); x(1,2)", "3");
34 shouldBe("var x = (function Named(a,b){ return a + b; }); x(2,3)", "5");
37 shouldBe("var z = 6; var x = eval('(function(a,b){ return a + b + z; })'); x(3,4)", "13");
40 shouldBe("var z = 10; var x = eval('(function Named(a,b){ return (!!Named) ? (a + b + z) : -999; })'); x(4,5)", "19");
43 shouldBe('(function Foo(){ return 1; }); try { Foo(); throw "FuncExpr was stored"; } catch(e) { if(typeof(e)=="string") throw e; } 1', "1");
46 shouldBe("var ctr = 3; var x = (function Named(a,b){ if(--ctr) return 2 * Named(a,b); else return a + b; }); x(5,6)", "44");
49 shouldBe('var hadError = 0; try { eval("function(){ return 2; };"); } catch(e) { hadError = 1; }; hadError;', "1");
dictionary-prototype-caching.js 39 shouldBe("protoTest(o)", "'PASS'");
60 shouldBe("protoKeys", "[1,2,3]");
78 shouldBe("protoKeys", "[1,2,3]");
gmail-re-re.js 53 shouldBe('cy("Re: Hello")', '"Hello"');
54 shouldBe('cy("?????: Hello")', '"Hello"');
59 shouldBe('regex.exec("24#Midnight").toString()', '"24#Midnight,24,#,Midnight"');
closure-inside-extra-arg-call.js 46 shouldBe("c1()", '"xyxy"');
71 shouldBe("c2()", '"xyxy"');
dfg-array-pop-side-effects.js 59 shouldBe("foo(a, b)", expected);
62 shouldBe("ouches", "50");
dfg-cfa-prove-put-by-id-simple-when-storing-to-specialized-function.js 47 shouldBe("bar.call({f:baz}, baz)", "\"baz\"");
54 shouldBe("bar.call({f:baz}, fuzz)", "\"fuzz\"");
dfg-cfg-simplify-eliminate-set-local-type-check-then-typeof.js 51 shouldBe("result[0]", expectedFirst);
52 shouldBe("result[1]", expectedSecond);
dfg-integer-optimization.js 43 shouldBe("result.a", "" + eval("((" + a + " + " + b + ") | 0)"))
44 shouldBe("result.b", "" + eval(a + " + " + b))
dfg-string-stricteq.js 49 shouldBe("foo({f:\"" + a + "\"}, {f:\"" + b + "\"})", "[" + (a.length + b.length) + ", " + areEqual + "]");
50 shouldBe("bar({f:\"" + a + "\"}, {f:\"" + b + "\"})", "" + (areEqual ? a.length + b.length + 1 : a.length + b.length - 1));
duplicate-param-gc-crash.js 56 shouldBe('test1Closure()', '"success"');
70 shouldBe('test2Closure()', '"success"');
codegen-jless.js 28 shouldBe("!(true && undefined > 0) ? 'true' : 'false'", "'true'");
indexed-setter-on-global-object.js 36 shouldBe("thingy", "\"foo\"");
multiline-comment-newline.js 33 shouldBe('shouldBeUndefined', 'undefined');
number-parsing-crash.js 30 shouldBe("x.toString()", '"0.1111111111111111"');
  /external/chromium_org/v8/test/webkit/fast/js/
array-bad-time.js 52 shouldBe("\"" + foo(haveABadTime).join(",") + "\"", expected);
55 shouldBe("ouches", "50");
numeric-escapes-in-string-literals.js 32 shouldBe("eval(stringLiteral)", "nonStrictResult");
37 shouldBe("eval(stringLiteral)", "strictResult");
object-bad-time.js 55 shouldBe("\"" + Array.prototype.join.apply(foo(haveABadTime), [","]) + "\"", expected);
58 shouldBe("ouches", "50");
object-prototype-properties.js 29 shouldBe("Object.prototype.toString.call(undefined)", '"[object Undefined]"');
30 shouldBe("Object.prototype.toString.call(null)", '"[object Null]"');
  /external/chromium_org/v8/test/webkit/fast/js/kde/
lval-exceptions.js 38 shouldBe("a['x']", '"undefinedbaz"');
41 shouldBe("a['y']", '"undefinedglarch"');
  /external/chromium_org/content/test/data/indexeddb/
transaction_test.js 19 shouldBe("event.target.result", "undefined");
  /external/chromium_org/v8/test/webkit/fast/regex/
non-capturing-backtracking.js 29 shouldBe("re.exec('a')", "['a']");

Completed in 1430 milliseconds

1 2 3 4 5 6 7 8 91011>>