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

Unified Diff: media/test/run_all_unittests.cc

Issue 2426773005: media: Reorganize media unittests (Closed)
Patch Set: fix android Created 4 years, 2 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 | « media/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/run_all_unittests.cc
diff --git a/media/base/run_all_unittests.cc b/media/test/run_all_unittests.cc
similarity index 94%
rename from media/base/run_all_unittests.cc
rename to media/test/run_all_unittests.cc
index 85d6e0d6e7a13edb99f68453f6db6be6499333b6..9a1b132edf6883cac9b65831b020ea615d22b848 100644
--- a/media/base/run_all_unittests.cc
+++ b/media/test/run_all_unittests.cc
@@ -43,6 +43,7 @@ void TestSuiteNoAtExit::Initialize() {
JNIEnv* env = base::android::AttachCurrentThread();
// Needed for surface texture support.
ui::gl::android::RegisterJni(env);
+
media::RegisterJni(env);
if (media::MediaCodecUtil::IsMediaCodecAvailable())
@@ -61,6 +62,6 @@ int main(int argc, char** argv) {
TestSuiteNoAtExit test_suite(argc, argv);
return base::LaunchUnitTests(
- argc, argv, base::Bind(&TestSuiteNoAtExit::Run,
- base::Unretained(&test_suite)));
+ argc, argv,
+ base::Bind(&TestSuiteNoAtExit::Run, base::Unretained(&test_suite)));
}
« no previous file with comments | « media/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698