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

1 2 3 4 5 6 7 8 91011>>

  /external/v8/test/webkit/fast/regex/
early-acid3-86.js 32 shouldBe("/[]/.exec('')", "null");
33 shouldBe("/(\\3)(\\1)(a)/.exec('cat').toString()", "'a,,,a'");
  /external/v8/test/webkit/
for-in-var-scope.js 41 shouldBe("i", "'start i'");
42 shouldBe("j", "'propName'");
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');
toString-recursion.js 29 shouldBe("var array = []; array[0] = array; array + ''", "''");
32 shouldBe("var regexp = /a/; regexp.source = regexp; regexp + ''", "'/a/'");
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"');
  /prebuilts/go/darwin-x86/test/
func.go 11 func assertequal(is, shouldbe int, msg string) {
12 if is != shouldbe {
if.go 11 func assertequal(is, shouldbe int, msg string) {
12 if is != shouldbe {
  /prebuilts/go/darwin-x86/test/ken/
robfunc.go 11 func assertequal(is, shouldbe int, msg string) {
12 if is != shouldbe {
  /prebuilts/go/linux-x86/test/
func.go 11 func assertequal(is, shouldbe int, msg string) {
12 if is != shouldbe {
if.go 11 func assertequal(is, shouldbe int, msg string) {
12 if is != shouldbe {
  /prebuilts/go/linux-x86/test/ken/
robfunc.go 11 func assertequal(is, shouldbe int, msg string) {
12 if is != shouldbe {
  /external/v8/test/webkit/fast/js/
Promise-static-race.js 92 shouldBe('result', 'undefined');
102 shouldBe('result', '42');
108 shouldBe('result', 'undefined');
Promise-catch.js 40 shouldBe('thisInOnFulfilled', 'undefined');
56 shouldBe('thisInInit', 'undefined');

Completed in 194 milliseconds

1 2 3 4 5 6 7 8 91011>>