| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package dummy | 5 package dummy |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "testing" | 8 "testing" |
| 9 | 9 |
| 10 dsS "github.com/luci/gae/service/datastore" | 10 dsS "github.com/luci/gae/service/datastore" |
| 11 infoS "github.com/luci/gae/service/info" | 11 infoS "github.com/luci/gae/service/info" |
| 12 mailS "github.com/luci/gae/service/mail" | 12 mailS "github.com/luci/gae/service/mail" |
| 13 mcS "github.com/luci/gae/service/memcache" | 13 mcS "github.com/luci/gae/service/memcache" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 Convey("Module", func() { | 96 Convey("Module", func() { |
| 97 c = modS.Set(c, Module()) | 97 c = modS.Set(c, Module()) |
| 98 So(modS.Get(c), ShouldNotBeNil) | 98 So(modS.Get(c), ShouldNotBeNil) |
| 99 So(func() { | 99 So(func() { |
| 100 defer p() | 100 defer p() |
| 101 modS.Get(c).List() | 101 modS.Get(c).List() |
| 102 }, ShouldPanicWith, "dummy: method Module.List is not im
plemented") | 102 }, ShouldPanicWith, "dummy: method Module.List is not im
plemented") |
| 103 }) | 103 }) |
| 104 }) | 104 }) |
| 105 } | 105 } |
| OLD | NEW |