Home | History | Annotate | Download | only in cctest

Lines Matching refs:Check

63   void Check(const char* source,
139 void DeclarationContext::Check(const char* source,
152 CHECK(script.IsEmpty());
155 CHECK(!script.IsEmpty());
161 CHECK(!catcher.HasCaught());
166 CHECK(expectations == EXPECT_EXCEPTION);
167 CHECK(catcher.HasCaught());
232 context.Check("var x; x",
240 context.Check("var x = 0; x",
248 context.Check("function x() { }; x",
256 context.Check("const x; x",
264 context.Check("const x = 0; x",
287 context.Check("var x; x",
295 context.Check("var x = 0; x",
303 context.Check("function x() { }; x",
311 context.Check("const x; x",
319 context.Check("const x = 0; x",
341 context.Check("var x; x",
349 context.Check("var x = 0; x",
357 context.Check("function x() { }; x",
365 context.Check("const x; x",
373 context.Check("const x = 0; x",
381 context.Check("if (false) { var x = 0 }; x",
415 CHECK(state_ == UNKNOWN);
431 context.Check("var x; x",
439 context.Check("var x = 0; x",
447 context.Check("function x() { }; x",
455 context.Check("const x; x",
463 context.Check("const x = 0; x",
507 CHECK(state_ == UNKNOWN);
523 context.Check("const x; var x = 0",
551 // Sanity check to make sure that the holder of the interceptor
554 context.Check("this.x = 87; this.x",
562 context.Check("var x; x",
570 context.Check("var x = 0; x",
578 context.Check("const x; x",
586 context.Check("const x = 0; x",
615 context.Check("if (false) { var x = 0; }; x",
662 context.Check("var x; x",
670 context.Check("var x = 0; x",
678 context.Check("function x() { }; x",
687 context.Check("const x; x",
696 context.Check("const x = 0; x",
718 void Check(const char* source,
726 CHECK(script.IsEmpty());
729 CHECK(!script.IsEmpty());
732 CHECK(!catcher.HasCaught());
737 CHECK(expectations == EXPECT_EXCEPTION);
738 CHECK(catcher.HasCaught());
755 context.Check("var x = 1; x",
757 context.Check("var x = 2; x",
759 context.Check("const x = 3; x",
761 context.Check("const x = 4; x",
763 context.Check("x = 5; x",
765 context.Check("var x = 6; x",
767 context.Check("this.x",
769 context.Check("function x() { return 7 }; x()",
774 context.Check("const x = 1; x",
776 context.Check("var x = 2; x", // assignment ignored
778 context.Check("const x = 3; x",
780 context.Check("x = 4; x", // assignment ignored
782 context.Check("var x = 5; x", // assignment ignored
784 context.Check("this.x",
786 context.Check("function x() { return 7 }; x",
810 context.Check(decs[i], EXPECT_RESULT, Number::New(1));
811 context.Check(decs[i+1], EXPECT_RESULT, Number::New(1));
815 if (i/3 < 2) context.Check(decs[i+2], EXPECT_RESULT, Number::New(1));
847 context.Check(firsts[i], EXPECT_RESULT, Number::New(1));
851 context.Check(seconds[j],