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

Issue 1522783002: Add User Testing interface to impl/memory. (Closed)

Created:
5 years ago by iannucci
Modified:
5 years ago
Reviewers:
dnj, Vadim Sh., estaab
CC:
chromium-reviews, infra-reviews+luci-gae_chromium.org
Base URL:
https://github.com/luci/gae.git@logging_service
Target Ref:
refs/heads/master
Project:
luci-gae
Visibility:
Public.

Description

Add User Testing interface to impl/memory. R=dnj@chromium.org, estaab@chromium.org, vadimsh@chromium.org BUG=https://github.com/luci/gae/issues/24 Committed: https://github.com/luci/gae/commit/f45f7f7faae7017ece70eb35666ddfcbb33696c3

Patch Set 1 #

Patch Set 2 : add logout #

Total comments: 9

Patch Set 3 : fixes #

Total comments: 1

Patch Set 4 : oauth login #

Patch Set 5 : pass it in explicitly #

Patch Set 6 : add tests #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -1 line) Patch
M impl/dummy/dummy.go View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M impl/memory/context.go View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A impl/memory/user.go View 1 2 3 4 5 1 chunk +115 lines, -0 lines 0 comments Download
A impl/memory/user_test.go View 1 2 3 4 5 1 chunk +120 lines, -0 lines 0 comments Download
M impl/prod/user.go View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M service/user/interface.go View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A service/user/testable.go View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
iannucci
5 years ago (2015-12-13 19:51:35 UTC) #1
iannucci
On 2015/12/13 at 19:51:35, iannucci wrote: > No tests yet, put PTAL for general idea. ...
5 years ago (2015-12-13 19:54:17 UTC) #2
Vadim Sh.
https://codereview.chromium.org/1522783002/diff/20001/impl/memory/user.go File impl/memory/user.go (right): https://codereview.chromium.org/1522783002/diff/20001/impl/memory/user.go#newcode45 impl/memory/user.go:45: return u.data.user return nil if user.ClientID != "" (to ...
5 years ago (2015-12-13 21:20:48 UTC) #3
iannucci
better? https://codereview.chromium.org/1522783002/diff/20001/impl/memory/user.go File impl/memory/user.go (right): https://codereview.chromium.org/1522783002/diff/20001/impl/memory/user.go#newcode45 impl/memory/user.go:45: return u.data.user On 2015/12/13 at 21:20:48, Vadim Sh. ...
5 years ago (2015-12-14 08:49:01 UTC) #4
Vadim Sh.
https://codereview.chromium.org/1522783002/diff/40001/impl/memory/user.go File impl/memory/user.go (right): https://codereview.chromium.org/1522783002/diff/40001/impl/memory/user.go#newcode104 impl/memory/user.go:104: clientID := hex.EncodeToString(clientIDRaw[:]) but now you can't mock non-OAuth ...
5 years ago (2015-12-14 18:54:08 UTC) #5
iannucci
On 2015/12/14 at 18:54:08, vadimsh wrote: > https://codereview.chromium.org/1522783002/diff/40001/impl/memory/user.go > File impl/memory/user.go (right): > > https://codereview.chromium.org/1522783002/diff/40001/impl/memory/user.go#newcode104 ...
5 years ago (2015-12-14 19:40:48 UTC) #6
iannucci
Added tests, PTAL
5 years ago (2015-12-14 21:00:33 UTC) #7
Vadim Sh.
lgtm
5 years ago (2015-12-14 21:01:38 UTC) #8
commit-bot: I haz the power
This CL has an open dependency (Issue 1521823003 Patch 1). Please resolve the dependency and ...
5 years ago (2015-12-14 21:02:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1522783002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1522783002/120001
5 years ago (2015-12-14 21:02:50 UTC) #14
commit-bot: I haz the power
5 years ago (2015-12-14 21:07:36 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/luci/gae/commit/f45f7f7faae7017ece70eb35666ddfcbb33696c3

Powered by Google App Engine
This is Rietveld 408576698