Added functionality for the dummy backend to make it behave more like a production backend for testability sake. Thanks to Travis Cline for the patch. Fixes issue #4.
author |
mcroydon |
date |
Tue, 20 Oct 2009 22:01:12 +0000 |
parents |
383b7c497164 |
children |
|
rev |
line source |
mcroydon@10
|
1 Copyright (c) 2008-2009 Matt Croydon, Daniel Lindsley
|
mcroydon@1
|
2
|
mcroydon@1
|
3 Permission is hereby granted, free of charge, to any person obtaining a copy
|
mcroydon@1
|
4 of this software and associated documentation files (the "Software"), to deal
|
mcroydon@1
|
5 in the Software without restriction, including without limitation the rights
|
mcroydon@1
|
6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
mcroydon@1
|
7 copies of the Software, and to permit persons to whom the Software is
|
mcroydon@1
|
8 furnished to do so, subject to the following conditions:
|
mcroydon@1
|
9
|
mcroydon@1
|
10 The above copyright notice and this permission notice shall be included in
|
mcroydon@1
|
11 all copies or substantial portions of the Software.
|
mcroydon@1
|
12
|
mcroydon@1
|
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
mcroydon@1
|
14 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
mcroydon@1
|
15 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
mcroydon@1
|
16 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
mcroydon@1
|
17 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
mcroydon@1
|
18 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
mcroydon@10
|
19 THE SOFTWARE.
|