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

Issue 122173004: Add test for ServiceManager (Closed)

Created:
6 years, 11 months ago by DaveMoore
Modified:
6 years, 11 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Add test for ServiceManager I also separated out the dynamic service loader from the ServiceManager file, to remove the dependency of the ServiceManager on the shell's context. This made testing cleaner. BUG=None R=viettrungluu@chromium.org, viettrungluu Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242952

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : Fix compile error #

Total comments: 26

Patch Set 4 : Review changes #

Patch Set 5 : Review changes #

Patch Set 6 : Change ivars to scoped_ptrs #

Patch Set 7 : Update new copyrights #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -140 lines) Patch
M mojo/mojo.gyp View 3 chunks +19 lines, -0 lines 0 comments Download
M mojo/shell/android/mojo_main.cc View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/shell/context.h View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M mojo/shell/context.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
A mojo/shell/dynamic_service_loader.h View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A mojo/shell/dynamic_service_loader.cc View 1 2 3 4 5 6 1 chunk +127 lines, -0 lines 0 comments Download
M mojo/shell/service_manager.h View 1 2 3 4 5 2 chunks +12 lines, -7 lines 0 comments Download
M mojo/shell/service_manager.cc View 1 2 4 chunks +10 lines, -129 lines 0 comments Download
A mojo/shell/service_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +125 lines, -0 lines 0 comments Download
A mojo/shell/test.mojom View 1 1 chunk +17 lines, -0 lines 0 comments Download
M mojo/tools/mojob.sh View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
DaveMoore
cleanup
6 years, 11 months ago (2014-01-03 00:02:08 UTC) #1
DaveMoore
6 years, 11 months ago (2014-01-03 00:03:32 UTC) #2
DaveMoore
Fix compile error
6 years, 11 months ago (2014-01-03 16:52:12 UTC) #3
viettrungluu
https://codereview.chromium.org/122173004/diff/90001/mojo/mojo.gyp File mojo/mojo.gyp (right): https://codereview.chromium.org/122173004/diff/90001/mojo/mojo.gyp#newcode325 mojo/mojo.gyp:325: 'target_name': 'mojo_shell_unittests', Could you add this to the list ...
6 years, 11 months ago (2014-01-03 17:44:49 UTC) #4
DaveMoore
Review changes
6 years, 11 months ago (2014-01-03 18:05:19 UTC) #5
DaveMoore
https://codereview.chromium.org/122173004/diff/90001/mojo/mojo.gyp File mojo/mojo.gyp (right): https://codereview.chromium.org/122173004/diff/90001/mojo/mojo.gyp#newcode325 mojo/mojo.gyp:325: 'target_name': 'mojo_shell_unittests', On 2014/01/03 17:44:49, viettrungluu wrote: > Could ...
6 years, 11 months ago (2014-01-03 18:05:49 UTC) #6
DaveMoore
Review changes
6 years, 11 months ago (2014-01-03 18:08:15 UTC) #7
viettrungluu
LGTM w/added comment and probably change to scoped_ptrs. https://codereview.chromium.org/122173004/diff/90001/mojo/shell/service_manager.h File mojo/shell/service_manager.h (right): https://codereview.chromium.org/122173004/diff/90001/mojo/shell/service_manager.h#newcode34 mojo/shell/service_manager.h:34: void ...
6 years, 11 months ago (2014-01-03 18:23:14 UTC) #8
DaveMoore
Change ivars to scoped_ptrs
6 years, 11 months ago (2014-01-03 18:32:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davemoore@chromium.org/122173004/320001
6 years, 11 months ago (2014-01-03 18:32:39 UTC) #10
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=43195
6 years, 11 months ago (2014-01-03 18:48:29 UTC) #11
DaveMoore
Update new copyrights
6 years, 11 months ago (2014-01-03 19:31:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davemoore@chromium.org/122173004/460001
6 years, 11 months ago (2014-01-03 19:31:42 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 11 months ago (2014-01-03 20:43:01 UTC) #14
DaveMoore
6 years, 11 months ago (2014-01-03 22:50:42 UTC) #15
Message was sent while issue was closed.
Committed patchset #7 manually as r242952 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698