OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium 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 by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Package dummy comtains dummy implementations of: | 5 // Package dummy comtains panicing dummy implementations of all service |
estaab
2015/07/23 04:43:11
panicking
iannucci
2015/07/23 05:55:10
Done.
| |
6 // Interfaces. | |
7 // | |
8 // In particular, this includes: | |
6 // * datastore.Interface | 9 // * datastore.Interface |
7 // * memcache.Interface | 10 // * memcache.Interface |
8 // * taskqueue.Interface | 11 // * taskqueue.Interface |
9 // * info.Interface | 12 // * info.Interface |
10 // | 13 // |
11 // These dummy implementations panic with an appropriate error message when | 14 // These dummy implementations panic with an appropriate error message when |
12 // any of their methods are called. The message looks something like: | 15 // any of their methods are called. The message looks something like: |
13 // dummy: method Interface.Method is not implemented | 16 // dummy: method Interface.Method is not implemented |
14 // | 17 // |
15 // The dummy implementations are useful when implementing the interfaces | 18 // The dummy implementations are useful when implementing the interfaces |
16 // themselves, or when implementing filters, since it allows your stub | 19 // themselves, or when implementing filters, since it allows your stub |
17 // implementation to embed the dummy version and then just implement the methods | 20 // implementation to embed the dummy version and then just implement the methods |
18 // that you care about. | 21 // that you care about. |
19 package dummy | 22 package dummy |
OLD | NEW |