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

Issue 10808115: Run media_unittests on android test bots. (Closed)

Created:
8 years, 5 months ago by nilesh
Modified:
8 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, Xianzhu
Visibility:
Public.

Description

Run media_unittests on android test bots. BUG=137131 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148493

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Override TestSuite::Initialize to do additional initialization. #

Patch Set 4 : Remove duplicate code to init logging. #

Total comments: 8

Patch Set 5 : Addressed nits, removed some unused header inclusion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -20 lines) Patch
M build/all_android.gyp View 1 chunk +3 lines, -2 lines 0 comments Download
A build/android/gtest_filter/media_unittests_disabled View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M build/android/run_tests.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/base/run_all_unittests.cc View 1 2 3 4 1 chunk +10 lines, -18 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
nilesh
Ami: Please look at media/ Yaron: Everything else.
8 years, 5 months ago (2012-07-24 23:27:31 UTC) #1
Yaron
lgtm https://chromiumcodereview.appspot.com/10808115/diff/1/build/android/gtest_filter/media_unittests_disabled File build/android/gtest_filter/media_unittests_disabled (right): https://chromiumcodereview.appspot.com/10808115/diff/1/build/android/gtest_filter/media_unittests_disabled#newcode4 build/android/gtest_filter/media_unittests_disabled:4: # b/6336635 Switch to crbug.com (obsolte these and ...
8 years, 5 months ago (2012-07-24 23:29:42 UTC) #2
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10808115/diff/1/build/android/gtest_filter/media_unittests_disabled File build/android/gtest_filter/media_unittests_disabled (right): https://chromiumcodereview.appspot.com/10808115/diff/1/build/android/gtest_filter/media_unittests_disabled#newcode2 build/android/gtest_filter/media_unittests_disabled:2: # This file was automatically generated by build/android/run_tests.py run_tests.py ...
8 years, 5 months ago (2012-07-24 23:37:35 UTC) #3
nilesh
PTAL. https://chromiumcodereview.appspot.com/10808115/diff/1/build/android/gtest_filter/media_unittests_disabled File build/android/gtest_filter/media_unittests_disabled (right): https://chromiumcodereview.appspot.com/10808115/diff/1/build/android/gtest_filter/media_unittests_disabled#newcode2 build/android/gtest_filter/media_unittests_disabled:2: # This file was automatically generated by build/android/run_tests.py ...
8 years, 5 months ago (2012-07-25 00:19:44 UTC) #4
nilesh
https://chromiumcodereview.appspot.com/10808115/diff/1/media/base/run_all_unittests.cc File media/base/run_all_unittests.cc (right): https://chromiumcodereview.appspot.com/10808115/diff/1/media/base/run_all_unittests.cc#newcode31 media/base/run_all_unittests.cc:31: // testing/android/native_test_wrapper.cc before main() is called. On 2012/07/25 00:19:45, ...
8 years, 5 months ago (2012-07-25 00:23:11 UTC) #5
nilesh
On 2012/07/25 00:23:11, nileshagrawal1 wrote: > https://chromiumcodereview.appspot.com/10808115/diff/1/media/base/run_all_unittests.cc > File media/base/run_all_unittests.cc (right): > > https://chromiumcodereview.appspot.com/10808115/diff/1/media/base/run_all_unittests.cc#newcode31 > ...
8 years, 5 months ago (2012-07-25 00:28:47 UTC) #6
nilesh
8 years, 5 months ago (2012-07-25 00:29:55 UTC) #7
Ami GONE FROM CHROMIUM
I feel bad holding your CL up, but I feel like I'm actually being asked ...
8 years, 5 months ago (2012-07-25 17:09:59 UTC) #8
nilesh
I appreciate your effort to get things fixed the right way. Your comments are most ...
8 years, 5 months ago (2012-07-25 21:56:32 UTC) #9
Ami GONE FROM CHROMIUM
LGTM % nits thanks for the cleanup! http://codereview.chromium.org/10808115/diff/7004/media/base/run_all_unittests.cc File media/base/run_all_unittests.cc (right): http://codereview.chromium.org/10808115/diff/7004/media/base/run_all_unittests.cc#newcode13 media/base/run_all_unittests.cc:13: TestSuiteNoAtExit(int argc, ...
8 years, 5 months ago (2012-07-25 23:06:01 UTC) #10
nilesh
Thanks for the detailed review. http://codereview.chromium.org/10808115/diff/7004/media/base/run_all_unittests.cc File media/base/run_all_unittests.cc (right): http://codereview.chromium.org/10808115/diff/7004/media/base/run_all_unittests.cc#newcode13 media/base/run_all_unittests.cc:13: TestSuiteNoAtExit(int argc, char** argv) ...
8 years, 5 months ago (2012-07-26 00:54:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/10808115/15007
8 years, 5 months ago (2012-07-26 00:59:32 UTC) #12
commit-bot: I haz the power
Change committed as 148493
8 years, 5 months ago (2012-07-26 02:35:59 UTC) #13
Ami GONE FROM CHROMIUM
8 years, 5 months ago (2012-07-26 04:01:11 UTC) #14
http://codereview.chromium.org/10808115/diff/7004/media/base/run_all_unittest...
File media/base/run_all_unittests.cc (right):

http://codereview.chromium.org/10808115/diff/7004/media/base/run_all_unittest...
media/base/run_all_unittests.cc:22: media::InitializeMediaLibraryForTesting();
On 2012/07/26 00:54:02, nileshagrawal1 wrote:
> On 2012/07/25 23:06:01, Ami Fischman wrote:
> > It's strange-looking that this will be called multiple times, but luckily
it's
> a
> > no-op after the first time.
> 
> Maybe I am missing something, but Initialize is called only once and hence
> media::InitializeMediaLibraryForTesting() will also be called only once ?

I was thinking of gtest's SetUp method, which is called for each test case, but
that's not what this is.  Never mind.

Powered by Google App Engine
This is Rietveld 408576698