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

Unified Diff: talk/media/base/videoengine_unittest.h

Issue 1272163002: Tiny cleanups. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | talk/media/webrtc/webrtcmediaengine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/videoengine_unittest.h
diff --git a/talk/media/base/videoengine_unittest.h b/talk/media/base/videoengine_unittest.h
index e4d2829e88a259652e73a3bf7e73f87771301ab3..8fc3729d87ddd318dd35751b43f5b06d3bc37dd7 100644
--- a/talk/media/base/videoengine_unittest.h
+++ b/talk/media/base/videoengine_unittest.h
@@ -127,20 +127,6 @@ class VideoEngineOverride : public T {
}
};
-// Macroes that declare test functions for a given test class, before and after
-// Init().
-// To use, define a test function called FooBody and pass Foo to the macro.
-#define TEST_PRE_VIDEOENGINE_INIT(TestClass, func) \
- TEST_F(TestClass, func##PreInit) { \
- func##Body(); \
- }
-#define TEST_POST_VIDEOENGINE_INIT(TestClass, func) \
- TEST_F(TestClass, func##PostInit) { \
- EXPECT_TRUE(engine_.Init(rtc::Thread::Current())); \
- func##Body(); \
- engine_.Terminate(); \
- }
-
template<class E>
class VideoEngineTest : public testing::Test {
protected:
« no previous file with comments | « no previous file | talk/media/webrtc/webrtcmediaengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698