Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: test/cctest/test-decls.cc

Issue 2334733002: [runtime] Intercept function declarations. (Closed)
Patch Set: Fix test. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-api-interceptors.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-decls.cc
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc
index 298357965a5c60aeca7b2691884562137073f0a3..d7d71c23838b6978e05fa4098d2750bc0e00e40f 100644
--- a/test/cctest/test-decls.cc
+++ b/test/cctest/test-decls.cc
@@ -249,9 +249,7 @@ TEST(Unknown) {
{ DeclarationContext context;
context.Check("function x() { }; x",
1, // access
- 0,
- 0,
- EXPECT_RESULT);
+ 1, 1, EXPECT_RESULT);
}
}
@@ -285,9 +283,7 @@ TEST(Absent) {
{ AbsentPropertyContext context;
context.Check("function x() { }; x",
1, // access
- 0,
- 0,
- EXPECT_RESULT);
+ 1, 1, EXPECT_RESULT);
}
{ AbsentPropertyContext context;
@@ -355,9 +351,7 @@ TEST(Appearing) {
{ AppearingPropertyContext context;
context.Check("function x() { }; x",
1, // access
- 0,
- 0,
- EXPECT_RESULT);
+ 1, 1, EXPECT_RESULT);
}
}
@@ -486,11 +480,7 @@ TEST(ExistsInHiddenPrototype) {
}
{ ExistsInHiddenPrototypeContext context;
- context.Check("function x() { }; x",
- 0,
- 0,
- 0,
- EXPECT_RESULT);
+ context.Check("function x() { }; x", 0, 1, 1, EXPECT_RESULT);
}
}
« no previous file with comments | « test/cctest/test-api-interceptors.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698