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

Issue 1162763004: Provide dummy Android UI thread with looper for C++ unit tests (Closed)

Created:
5 years, 6 months ago by aberent
Modified:
5 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Provide dummy Android UI thread with looper for C++ unit tests This is is intended for C++ unit tests (e.g. the net unit tests) that don't run with the UI thread as their main looper, but test code that, on Android, uses Ui thread events, so need a running Ui thread. Committed: https://crrev.com/91ea3f95a19219abd7b1f309db084fddcc5a4ce2 Cr-Commit-Position: refs/heads/master@{#333734}

Patch Set 1 #

Patch Set 2 : Add BUILD.gn changes #

Total comments: 13

Patch Set 3 : Respond to nyquist@'s comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -0 lines) Patch
M base/base.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M base/test/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
A base/test/android/java/src/org/chromium/base/TestUiThread.java View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
A base/test/test_ui_thread_android.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A base/test/test_ui_thread_android.cc View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
aberent
nyquist@chromium.org: Please review all changes. phajdan.jr@chromium.org: OWNER review please for base/test This is motived the ...
5 years, 6 months ago (2015-06-08 13:56:18 UTC) #2
aberent
thestig@chromium.org: Please review changes, as OWNER, in base/base.gyp
5 years, 6 months ago (2015-06-08 14:28:09 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162763004/20001
5 years, 6 months ago (2015-06-08 14:28:56 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-08 16:42:36 UTC) #8
Lei Zhang
gyp / gn changes lgtm
5 years, 6 months ago (2015-06-08 21:15:56 UTC) #9
nyquist
https://codereview.chromium.org/1162763004/diff/20001/base/test/android/java/src/org/chromium/base/TestUiThread.java File base/test/android/java/src/org/chromium/base/TestUiThread.java (right): https://codereview.chromium.org/1162763004/diff/20001/base/test/android/java/src/org/chromium/base/TestUiThread.java#newcode14 base/test/android/java/src/org/chromium/base/TestUiThread.java:14: * code that, on Android, uses Ui thread events, ...
5 years, 6 months ago (2015-06-08 23:38:19 UTC) #10
aberent
https://codereview.chromium.org/1162763004/diff/20001/base/test/android/java/src/org/chromium/base/TestUiThread.java File base/test/android/java/src/org/chromium/base/TestUiThread.java (right): https://codereview.chromium.org/1162763004/diff/20001/base/test/android/java/src/org/chromium/base/TestUiThread.java#newcode14 base/test/android/java/src/org/chromium/base/TestUiThread.java:14: * code that, on Android, uses Ui thread events, ...
5 years, 6 months ago (2015-06-09 10:33:13 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162763004/40001
5 years, 6 months ago (2015-06-09 10:33:49 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-09 11:36:34 UTC) #16
nyquist
lgtm
5 years, 6 months ago (2015-06-09 14:08:46 UTC) #17
Paweł Hajdan Jr.
LGTM
5 years, 6 months ago (2015-06-10 10:29:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162763004/40001
5 years, 6 months ago (2015-06-10 13:12:49 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-10 15:03:42 UTC) #21
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 15:04:43 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/91ea3f95a19219abd7b1f309db084fddcc5a4ce2
Cr-Commit-Position: refs/heads/master@{#333734}

Powered by Google App Engine
This is Rietveld 408576698