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

Unified Diff: test/cctest/test-profile-generator.cc

Issue 1084009: Add a few tests to ProfilerEventsProcessor. (Closed)
Patch Set: Created 10 years, 9 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-cpu-profiler.cc ('k') | tools/visual_studio/v8_cctest.vcproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-profile-generator.cc
diff --git a/test/cctest/test-profile-generator.cc b/test/cctest/test-profile-generator.cc
index fc4d603e61020cae6cb437521744ca5626a951c3..b63dd1267871c4a955b9670f324332466150e459 100644
--- a/test/cctest/test-profile-generator.cc
+++ b/test/cctest/test-profile-generator.cc
@@ -412,9 +412,9 @@ TEST(RecordTickSample) {
ProfileNode* node2 = top_down_test_helper.Walk(entry1, entry1);
CHECK_NE(NULL, node2);
CHECK_EQ(entry1, node2->entry());
- // ProfileNode* node3 = top_down_test_helper.Walk(entry1, entry2, entry3);
- // CHECK_NE(NULL, node3);
- // CHECK_EQ(entry2, node3->entry());
+ ProfileNode* node3 = top_down_test_helper.Walk(entry1, entry2, entry3);
+ CHECK_NE(NULL, node3);
+ CHECK_EQ(entry3, node3->entry());
ProfileNode* node4 = top_down_test_helper.Walk(entry1, entry3, entry1);
CHECK_NE(NULL, node4);
CHECK_EQ(entry1, node4->entry());
« no previous file with comments | « test/cctest/test-cpu-profiler.cc ('k') | tools/visual_studio/v8_cctest.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698