Lines Matching refs:Check

63   void Check(const char* source,
141 void DeclarationContext::Check(const char* source, in Check() function in DeclarationContext
237 context.Check("var x; x", in TEST()
243 context.Check("var x = 0; x", in TEST()
250 context.Check("function x() { }; x", in TEST()
258 context.Check("const x; x", in TEST()
264 context.Check("const x = 0; x", in TEST()
287 context.Check("var x; x", in TEST()
293 context.Check("var x = 0; x", in TEST()
300 context.Check("function x() { }; x", in TEST()
308 context.Check("const x; x", in TEST()
314 context.Check("const x = 0; x", in TEST()
320 context.Check("if (false) { var x = 0 }; x", in TEST()
369 context.Check("var x; x", in TEST()
375 context.Check("var x = 0; x", in TEST()
382 context.Check("function x() { }; x", in TEST()
390 context.Check("const x; x", in TEST()
396 context.Check("const x = 0; x", in TEST()
426 context.Check("this.x = 87; this.x", 0, 0, 1, EXPECT_RESULT, in TEST()
431 context.Check("var x; x", in TEST()
439 context.Check("var x = 0; x", in TEST()
447 context.Check("const x; x", in TEST()
455 context.Check("const x = 0; x", in TEST()
484 context.Check("if (false) { var x = 0; }; x", in TEST()
530 context.Check("var x; x", 0, 0, 0, EXPECT_RESULT, in TEST()
535 context.Check("var x = 0; x", 0, 0, 0, EXPECT_RESULT, in TEST()
540 context.Check("function x() { }; x", in TEST()
549 context.Check("const x; x", 0, 0, 0, EXPECT_RESULT, in TEST()
555 context.Check("const x = 0; x", 0, 0, 0, EXPECT_RESULT, in TEST()
574 void Check(const char* source, in Check() function in SimpleContext
613 context.Check("var x = 1; x", in TEST()
615 context.Check("var x = 2; x", in TEST()
617 context.Check("const x = 3; x", EXPECT_EXCEPTION); in TEST()
618 context.Check("const x = 4; x", EXPECT_EXCEPTION); in TEST()
619 context.Check("x = 5; x", in TEST()
621 context.Check("var x = 6; x", in TEST()
623 context.Check("this.x", in TEST()
625 context.Check("function x() { return 7 }; x()", in TEST()
630 context.Check("const x = 1; x", in TEST()
632 context.Check("var x = 2; x", // assignment ignored in TEST()
634 context.Check("const x = 3; x", EXPECT_EXCEPTION); in TEST()
635 context.Check("x = 4; x", // assignment ignored in TEST()
637 context.Check("var x = 5; x", // assignment ignored in TEST()
639 context.Check("this.x", in TEST()
641 context.Check("function x() { return 7 }; x", in TEST()
666 context.Check(decs[i], EXPECT_RESULT, Number::New(isolate, 1)); in TEST()
667 context.Check(decs[i+1], EXPECT_RESULT, Number::New(isolate, 1)); in TEST()
672 context.Check(decs[i+2], EXPECT_RESULT, Number::New(isolate, 1)); in TEST()
705 context.Check(firsts[i], EXPECT_RESULT, in TEST()
710 context.Check(seconds[j], in TEST()