Lines Matching refs:ExpectString
76 static void ExpectString(const char* code, const char* expected) {
1414 ExpectString("child.name", "Alice");
1416 ExpectString("child.name", "Bob");
1418 ExpectString("parent.name", "Alice");
3542 ExpectString("obj1.x", "x");
3548 ExpectString("obj1.x", "x");
3549 ExpectString("obj2.x", "x");
3557 ExpectString("obj1.x", "y");
3558 ExpectString("obj2.x", "x");
3563 ExpectString("obj1.x", "y");
3564 ExpectString("obj2.x", "y");
3574 ExpectString("obj1.x", "x");
3575 ExpectString("obj2.x", "x");
3589 ExpectString("obj1.x", "z");
3590 ExpectString("obj2.x", "z");
3597 ExpectString("obj1.x", "z");
3598 ExpectString("obj2.x", "z");
3619 ExpectString("obj1.x", "x");
3620 ExpectString("obj2.x", "x");
3675 ExpectString("obj1[239]", "239");
3676 ExpectString("obj2[239]", "239");
3677 ExpectString("obj1['239']", "239");
3678 ExpectString("obj2['239']", "239");
4012 ExpectString(fast_case_code, "0");
4018 ExpectString(slow_case_code, "1");
4041 ExpectString(code, "PASSED");
4065 ExpectString(code, "PASSED");
4095 ExpectString(code, "PASSED");
4118 ExpectString(code, "PASSED");
4157 ExpectString(code, "PASSED");
4186 ExpectString(code, "PASSED");
4216 ExpectString(code, "PASSED");
4246 ExpectString(code, "PASSED");
4270 ExpectString(code, "PASSED");
4371 ExpectString("undetectable.toString()", "[object Object]");
4372 ExpectString("typeof undetectable", "undefined");
4373 ExpectString("typeof(undetectable)", "undefined");
4429 ExpectString("(function() {"
4437 ExpectString("(function() {"
4488 ExpectString("undetectable", "foo");
4489 ExpectString("typeof undetectable", "undefined");
4490 ExpectString("typeof(undetectable)", "undefined");
4530 ExpectString(
6807 ExpectString("other.js_accessor_p", "getter");
6838 ExpectString("other.js_accessor_p", "getter");
6868 ExpectString("other[42]", "el_getter");
6893 ExpectString("other[42]", "el_getter");
14706 ExpectString(code, "PASSED");
14730 ExpectString(code, "PASSED");
14755 ExpectString(code, "PASSED");
14780 ExpectString(code, "PASSED");
14798 ExpectString(code, "PASSED");
14875 ExpectString("str2.substring(2, 10);", "elspenda");
14877 ExpectString("str2.substring(2, 20);", "elspendabelabelspe");
14879 ExpectString("str2.charAt(2);", "e");
15002 ExpectString("'hello'", "hello");
15004 ExpectString("'still working'", "still working");
15006 ExpectString("'still working 2'", "still working 2");
15012 ExpectString("'still working 3'", "still working 3");
15021 ExpectString("'run some V8'", "run some V8");
15101 ExpectString("function f() { return foo; }; f()", "isolate 1");
15116 ExpectString("function f() { return foo; }; f()", "isolate 2");
15123 ExpectString("function f() { return foo; }; f()", "isolate 1");
15154 ExpectString("function f() { return foo; }; f()", "isolate 2");
15160 ExpectString("function f() { return foo; }; f()", "isolate 1");
15374 ExpectString(code, "a");
15375 ExpectString(code, "a");
15384 ExpectString(code, "not a");
15397 ExpectString(code, "42");
15398 ExpectString(code, "42");
15407 ExpectString(code, "not 42");
15420 ExpectString(code, "true");
15421 ExpectString(code, "true");
15430 ExpectString(code, "");
15447 ExpectString("readCell()", "first");
15448 ExpectString("readCell()", "first");
15457 ExpectString("readCell()", "second");
15459 ExpectString("(function() {"
15469 ExpectString("readCell()", "new_second");
15470 ExpectString("readCell()", "new_second");
15486 ExpectString("readCell()", "value");
15487 ExpectString("readCell()", "value");
15492 ExpectString("(function() {"
15514 ExpectString("readCell()", "value");
15515 ExpectString("readCell()", "value");
15520 ExpectString("(function() {"