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

Side by Side Diff: luci_config/server/cfgclient/naming_test.go

Issue 2580713002: Implement a server-side config service interface. (Closed)
Patch Set: Renamed, moved to luci_config package, fixes, split out backends. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « luci_config/server/cfgclient/naming.go ('k') | luci_config/server/cfgclient/resolver.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file.
4
5 package cfgclient
6
7 import (
8 "testing"
9
10 "github.com/luci/gae/impl/memory"
11
12 "golang.org/x/net/context"
13
14 . "github.com/smartystreets/goconvey/convey"
15 )
16
17 func TestServiceConfigSet(t *testing.T) {
18 t.Parallel()
19
20 Convey(`With a testing AppEngine context`, t, func() {
21 c := memory.Use(context.Background())
22
23 Convey(`Can get the current service config set.`, func() {
24 So(CurrentServiceConfigSet(c), ShouldEqual, "services/ap p")
25 })
26 })
27 }
OLDNEW
« no previous file with comments | « luci_config/server/cfgclient/naming.go ('k') | luci_config/server/cfgclient/resolver.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698