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

Issue 2597983003: Add tests for how LocalStorageContextMojo interacts with file/leveldb services. (Closed)

Created:
3 years, 12 months ago by Marijn Kruisselbrink
Modified:
3 years, 11 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tests for how LocalStorageContextMojo interacts with file/leveldb services. Also fixes bugs exposed by those tests: - when database does not exists it needs to be created. - when database can't be opened null is passed to LevelDBWrapper. BUG=586194 Committed: https://crrev.com/38d9efa1374c0cb319450f965d09f4ac83dc4a09 Cr-Commit-Position: refs/heads/master@{#440886}

Patch Set 1 #

Patch Set 2 : make gn happy #

Patch Set 3 : fix invalid path test #

Patch Set 4 : add init_edk parameter to ServiceTest constructor #

Patch Set 5 : rebase #

Patch Set 6 : disable tests on android #

Patch Set 7 : rebase #

Patch Set 8 : reapply change that got lost during rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -9 lines) Patch
M content/browser/dom_storage/local_storage_context_mojo.cc View 1 2 3 4 5 6 1 chunk +7 lines, -4 lines 0 comments Download
M content/browser/dom_storage/local_storage_context_mojo_unittest.cc View 1 2 3 4 5 6 7 4 chunks +219 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 1 4 chunks +15 lines, -0 lines 0 comments Download
A content/test/unittests_manifest.json View 1 chunk +16 lines, -0 lines 0 comments Download
M services/service_manager/public/cpp/lib/service_test.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M services/service_manager/public/cpp/service_test.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 60 (48 generated)
Marijn Kruisselbrink
This is my attempt to add some unit tests that test how LocalStorageContextMojo behaves when ...
3 years, 12 months ago (2016-12-22 23:52:08 UTC) #10
jam
On 2016/12/22 23:52:08, Marijn Kruisselbrink wrote: > This is my attempt to add some unit ...
3 years, 12 months ago (2016-12-27 18:23:37 UTC) #15
Ken Rockot(use gerrit already)
On 2016/12/27 at 18:23:37, jam wrote: > On 2016/12/22 23:52:08, Marijn Kruisselbrink wrote: > > ...
3 years, 12 months ago (2016-12-27 18:25:36 UTC) #16
Ken Rockot(use gerrit already)
Otherwise ServiceTest usage LG
3 years, 12 months ago (2016-12-27 18:44:25 UTC) #17
Marijn Kruisselbrink
On 2016/12/27 at 18:25:36, rockot wrote: > On 2016/12/27 at 18:23:37, jam wrote: > > ...
3 years, 12 months ago (2016-12-27 18:49:29 UTC) #21
Marijn Kruisselbrink
and when https://codereview.chromium.org/2604843002 and https://codereview.chromium.org/2600153003 (or similar fixes for those issues) land, I believe this ...
3 years, 11 months ago (2016-12-27 23:01:52 UTC) #30
jam
lgtm
3 years, 11 months ago (2016-12-28 05:47:54 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2597983003/100001
3 years, 11 months ago (2016-12-28 17:18:37 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2597983003/160001
3 years, 11 months ago (2016-12-28 17:50:25 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2597983003/180001
3 years, 11 months ago (2016-12-28 20:06:01 UTC) #55
commit-bot: I haz the power
Committed patchset #8 (id:180001)
3 years, 11 months ago (2016-12-28 20:22:04 UTC) #58
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:50:06 UTC) #60
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/38d9efa1374c0cb319450f965d09f4ac83dc4a09
Cr-Commit-Position: refs/heads/master@{#440886}

Powered by Google App Engine
This is Rietveld 408576698