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

Unified Diff: media/base/run_all_unittests.cc

Issue 7587012: Remove mock_ffmpeg and update media unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments. Created 9 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
Index: media/base/run_all_unittests.cc
diff --git a/media/base/run_all_unittests.cc b/media/base/run_all_unittests.cc
index b715a328b99286174ddecba83883a432fc37ff9d..1ebea6b1099c430698e4dde9b2f8a9e2590ffa0a 100644
--- a/media/base/run_all_unittests.cc
+++ b/media/base/run_all_unittests.cc
@@ -3,7 +3,12 @@
// found in the LICENSE file.
#include "base/test/test_suite.h"
+#include "media/base/media.h"
int main(int argc, char** argv) {
- return base::TestSuite(argc, argv).Run();
+ base::TestSuite suite(argc, argv);
+
+ media::InitializeMediaLibraryForTesting();
+
+ return suite.Run();
}

Powered by Google App Engine
This is Rietveld 408576698