aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock/TestAssetCache.cs
diff options
context:
space:
mode:
authorDiva Canto2009-08-10 06:41:03 -0700
committerDiva Canto2009-08-10 06:41:03 -0700
commita50904a68bdc215d4ccc312627d44c736a1bceb5 (patch)
tree961f463243694779b4dd8399a4deeade4fd77e4f /OpenSim/Tests/Common/Mock/TestAssetCache.cs
parentMerge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-a50904a68bdc215d4ccc312627d44c736a1bceb5.zip
opensim-SC_OLD-a50904a68bdc215d4ccc312627d44c736a1bceb5.tar.gz
opensim-SC_OLD-a50904a68bdc215d4ccc312627d44c736a1bceb5.tar.bz2
opensim-SC_OLD-a50904a68bdc215d4ccc312627d44c736a1bceb5.tar.xz
More clean up from asset cache legacy. None of these classes are used anymore.
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestAssetCache.cs')
-rw-r--r--OpenSim/Tests/Common/Mock/TestAssetCache.cs119
1 files changed, 0 insertions, 119 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestAssetCache.cs b/OpenSim/Tests/Common/Mock/TestAssetCache.cs
deleted file mode 100644
index ebbea75..0000000
--- a/OpenSim/Tests/Common/Mock/TestAssetCache.cs
+++ /dev/null
@@ -1,119 +0,0 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSimulator Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28using System;
29using System.Collections.Generic;
30using System.Text;
31using OpenMetaverse;
32using OpenMetaverse.Packets;
33using OpenSim.Framework;
34
35namespace OpenSim.Tests.Common.Mock
36{
37 public class TestAssetCache : BaseAssetRepository, IAssetCache
38 {
39 public void AssetReceived(AssetBase asset, bool IsTexture)
40 {
41 throw new NotImplementedException();
42 }
43
44 public void AssetNotFound(UUID assetID, bool IsTexture)
45 {
46 throw new NotImplementedException();
47 }
48
49 public void Dispose()
50 {
51 throw new NotImplementedException();
52 }
53
54 public string Version
55 {
56 get { throw new NotImplementedException(); }
57 }
58
59 public string Name
60 {
61 get { throw new NotImplementedException(); }
62 }
63
64 public void Initialise()
65 {
66 throw new NotImplementedException();
67 }
68
69 public IAssetServer AssetServer
70 {
71 get { throw new NotImplementedException(); }
72 }
73
74 public void Initialise(ConfigSettings cs, IAssetServer server)
75 {
76 throw new NotImplementedException();
77 }
78
79 public void ShowState()
80 {
81 throw new NotImplementedException();
82 }
83
84 public void Clear()
85 {
86 throw new NotImplementedException();
87 }
88
89 public bool TryGetCachedAsset(UUID assetID, out AssetBase asset)
90 {
91 throw new NotImplementedException();
92 }
93
94 public void GetAsset(UUID assetID, AssetRequestCallback callback, bool isTexture)
95 {
96 throw new NotImplementedException();
97 }
98
99 public AssetBase GetAsset(UUID assetID, bool isTexture)
100 {
101 return FetchAsset(assetID);
102 }
103
104 public void AddAsset(AssetBase asset)
105 {
106 CreateAsset(asset);
107 }
108
109 public void ExpireAsset(UUID assetID)
110 {
111 throw new NotImplementedException();
112 }
113
114 public void AddAssetRequest(IClientAPI userInfo, TransferRequestPacket transferRequest)
115 {
116 throw new NotImplementedException();
117 }
118 }
119}