diff options
author | Tom Grimshaw | 2010-06-28 04:02:33 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-06-28 04:02:33 -0700 |
commit | a5a1df68c29b2d78279bcff60ce66fe97772d0c6 (patch) | |
tree | 587ac4ad0a775552c6276d795fec02f268faa01d /OpenSim/Tests | |
parent | Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff) | |
download | opensim-SC-a5a1df68c29b2d78279bcff60ce66fe97772d0c6.zip opensim-SC-a5a1df68c29b2d78279bcff60ce66fe97772d0c6.tar.gz opensim-SC-a5a1df68c29b2d78279bcff60ce66fe97772d0c6.tar.bz2 opensim-SC-a5a1df68c29b2d78279bcff60ce66fe97772d0c6.tar.xz |
Provide the interface for StoreAsset to report success or failure
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r-- | OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs b/OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs index 4a15cf2..5bab62c 100644 --- a/OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs +++ b/OpenSim/Tests/Common/Mock/MockAssetDataPlugin.cs | |||
@@ -54,9 +54,10 @@ namespace OpenSim.Tests.Common.Mock | |||
54 | return assets.Find(x=>x.FullID == uuid); | 54 | return assets.Find(x=>x.FullID == uuid); |
55 | } | 55 | } |
56 | 56 | ||
57 | public void StoreAsset(AssetBase asset) | 57 | public bool StoreAsset(AssetBase asset) |
58 | { | 58 | { |
59 | assets.Add(asset); | 59 | assets.Add(asset); |
60 | return true; | ||
60 | } | 61 | } |
61 | 62 | ||
62 | public List<AssetMetadata> FetchAssetMetadataSet(int start, int count) { return new List<AssetMetadata>(count); } | 63 | public List<AssetMetadata> FetchAssetMetadataSet(int start, int count) { return new List<AssetMetadata>(count); } |