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