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 dummy implementations of: |
6 // * gae.RawDatastore | 6 // * datastore.Interface |
7 // * gae.Memcache | 7 // * memcache.Interface |
8 // * gae.TaskQueue | 8 // * taskqueue.Interface |
9 // * gae.GlobalInfo | 9 // * info.Interface |
10 // * gae.DSQuery | |
11 // | 10 // |
12 // These dummy implementations panic with an appropriate error message when | 11 // These dummy implementations panic with an appropriate error message when |
13 // any of their methods are called. The message looks something like: | 12 // any of their methods are called. The message looks something like: |
14 // dummy: method Interface.Method is not implemented | 13 // dummy: method Interface.Method is not implemented |
15 // | 14 // |
16 // The dummy implementations are useful when implementing the interfaces | 15 // The dummy implementations are useful when implementing the interfaces |
17 // themselves, or when implementing filters, since it allows your stub | 16 // themselves, or when implementing filters, since it allows your stub |
18 // implementation to embed the dummy version and then just implement the methods | 17 // implementation to embed the dummy version and then just implement the methods |
19 // that you care about. | 18 // that you care about. |
20 package dummy | 19 package dummy |
OLD | NEW |