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

Unified Diff: ppapi/tests/test_case.h

Issue 8931026: Reverting because I reverted the CL this depends on... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | ppapi/tests/test_websocket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_case.h
===================================================================
--- ppapi/tests/test_case.h (revision 114399)
+++ ppapi/tests/test_case.h (working copy)
@@ -153,20 +153,6 @@
instance_->LogTest(#name, Test##name()); \
}
-#define RUN_TEST_WITH_REFERENCE_CHECK(name, test_filter) \
- if (MatchesFilter(#name, test_filter)) { \
- force_async_ = false; \
- uint32_t objects = testing_interface_->GetLiveObjectsForInstance( \
- instance_->pp_instance()); \
- std::string error_message = Test##name(); \
- if (error_message.empty() && \
- testing_interface_->GetLiveObjectsForInstance( \
- instance_->pp_instance()) != objects) \
- error_message = MakeFailureMessage(__FILE__, __LINE__, \
- "reference leak check"); \
- instance_->LogTest(#name, error_message); \
- }
-
// Like RUN_TEST above but forces functions taking callbacks to complete
// asynchronously on success or error.
#define RUN_TEST_FORCEASYNC(name, test_filter) \
« no previous file with comments | « no previous file | ppapi/tests/test_websocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698