diff options
author | lbsa71 | 2009-05-13 17:11:53 +0000 |
---|---|---|
committer | lbsa71 | 2009-05-13 17:11:53 +0000 |
commit | 40e95cab02b125a6c9ec7e90cab94c94b201f021 (patch) | |
tree | 6c77dce02a24ee061cf936f95faca13b41759fbe /OpenSim/Tests/Common/Mock/TestAssetCache.cs | |
parent | Disabling WebFetchInventoryDescendents CAPs for the time being as it (diff) | |
download | opensim-SC_OLD-40e95cab02b125a6c9ec7e90cab94c94b201f021.zip opensim-SC_OLD-40e95cab02b125a6c9ec7e90cab94c94b201f021.tar.gz opensim-SC_OLD-40e95cab02b125a6c9ec7e90cab94c94b201f021.tar.bz2 opensim-SC_OLD-40e95cab02b125a6c9ec7e90cab94c94b201f021.tar.xz |
* Added some more tests to the GetAssetStreamHandlers
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestAssetCache.cs')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestAssetCache.cs | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestAssetCache.cs b/OpenSim/Tests/Common/Mock/TestAssetCache.cs new file mode 100644 index 0000000..d621763 --- /dev/null +++ b/OpenSim/Tests/Common/Mock/TestAssetCache.cs | |||
@@ -0,0 +1,92 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenMetaverse; | ||
5 | using OpenMetaverse.Packets; | ||
6 | using OpenSim.Framework; | ||
7 | |||
8 | namespace OpenSim.Tests.Common.Mock | ||
9 | { | ||
10 | public class TestAssetCache : BaseAssetRepository, IAssetCache | ||
11 | { | ||
12 | public void AssetReceived(AssetBase asset, bool IsTexture) | ||
13 | { | ||
14 | throw new NotImplementedException(); | ||
15 | } | ||
16 | |||
17 | public void AssetNotFound(UUID assetID, bool IsTexture) | ||
18 | { | ||
19 | throw new NotImplementedException(); | ||
20 | } | ||
21 | |||
22 | public void Dispose() | ||
23 | { | ||
24 | throw new NotImplementedException(); | ||
25 | } | ||
26 | |||
27 | public string Version | ||
28 | { | ||
29 | get { throw new NotImplementedException(); } | ||
30 | } | ||
31 | |||
32 | public string Name | ||
33 | { | ||
34 | get { throw new NotImplementedException(); } | ||
35 | } | ||
36 | |||
37 | public void Initialise() | ||
38 | { | ||
39 | throw new NotImplementedException(); | ||
40 | } | ||
41 | |||
42 | public IAssetServer AssetServer | ||
43 | { | ||
44 | get { throw new NotImplementedException(); } | ||
45 | } | ||
46 | |||
47 | public void Initialise(ConfigSettings cs, IAssetServer server) | ||
48 | { | ||
49 | throw new NotImplementedException(); | ||
50 | } | ||
51 | |||
52 | public void ShowState() | ||
53 | { | ||
54 | throw new NotImplementedException(); | ||
55 | } | ||
56 | |||
57 | public void Clear() | ||
58 | { | ||
59 | throw new NotImplementedException(); | ||
60 | } | ||
61 | |||
62 | public bool TryGetCachedAsset(UUID assetID, out AssetBase asset) | ||
63 | { | ||
64 | throw new NotImplementedException(); | ||
65 | } | ||
66 | |||
67 | public void GetAsset(UUID assetID, AssetRequestCallback callback, bool isTexture) | ||
68 | { | ||
69 | throw new NotImplementedException(); | ||
70 | } | ||
71 | |||
72 | public AssetBase GetAsset(UUID assetID, bool isTexture) | ||
73 | { | ||
74 | return FetchAsset(assetID); | ||
75 | } | ||
76 | |||
77 | public void AddAsset(AssetBase asset) | ||
78 | { | ||
79 | CreateAsset( asset ); | ||
80 | } | ||
81 | |||
82 | public void ExpireAsset(UUID assetID) | ||
83 | { | ||
84 | throw new NotImplementedException(); | ||
85 | } | ||
86 | |||
87 | public void AddAssetRequest(IClientAPI userInfo, TransferRequestPacket transferRequest) | ||
88 | { | ||
89 | throw new NotImplementedException(); | ||
90 | } | ||
91 | } | ||
92 | } | ||