diff options
author | Justin Clark-Casey (justincc) | 2009-11-12 18:44:03 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-11-12 18:44:03 +0000 |
commit | 2f092d271e80dbc7af47671fbb946de75b6110a9 (patch) | |
tree | b9add763319af6a907863139506892b150009792 /OpenSim/Tests/Common/Mock | |
parent | minor: for now stop iar tests spewing log messages when running testsuite (diff) | |
download | opensim-SC-2f092d271e80dbc7af47671fbb946de75b6110a9.zip opensim-SC-2f092d271e80dbc7af47671fbb946de75b6110a9.tar.gz opensim-SC-2f092d271e80dbc7af47671fbb946de75b6110a9.tar.bz2 opensim-SC-2f092d271e80dbc7af47671fbb946de75b6110a9.tar.xz |
Rename test services to mock services, since this is a more accurate description
remove duplicate mock inventory service
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/MockAssetService.cs (renamed from OpenSim/Tests/Common/Mock/TestAssetService.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Tests/Common/Mock/MockInventoryService.cs (renamed from OpenSim/Tests/Common/Mock/TestInventoryService.cs) | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestAssetService.cs b/OpenSim/Tests/Common/Mock/MockAssetService.cs index a537b97..cb38043 100644 --- a/OpenSim/Tests/Common/Mock/TestAssetService.cs +++ b/OpenSim/Tests/Common/Mock/MockAssetService.cs | |||
@@ -37,20 +37,20 @@ using Nini.Config; | |||
37 | 37 | ||
38 | namespace OpenSim.Tests.Common.Mock | 38 | namespace OpenSim.Tests.Common.Mock |
39 | { | 39 | { |
40 | public class TestAssetService : IAssetService | 40 | public class MockAssetService : IAssetService |
41 | { | 41 | { |
42 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 42 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
43 | 43 | ||
44 | private readonly Dictionary<string, AssetBase> Assets = new Dictionary<string, AssetBase>(); | 44 | private readonly Dictionary<string, AssetBase> Assets = new Dictionary<string, AssetBase>(); |
45 | 45 | ||
46 | public TestAssetService() {} | 46 | public MockAssetService() {} |
47 | 47 | ||
48 | /// <summary> | 48 | /// <summary> |
49 | /// This constructor is required if the asset service is being created reflectively (which is the case in some | 49 | /// This constructor is required if the asset service is being created reflectively (which is the case in some |
50 | /// tests). | 50 | /// tests). |
51 | /// </summary> | 51 | /// </summary> |
52 | /// <param name="config"></param> | 52 | /// <param name="config"></param> |
53 | public TestAssetService(IConfigSource config) {} | 53 | public MockAssetService(IConfigSource config) {} |
54 | 54 | ||
55 | public AssetBase Get(string id) | 55 | public AssetBase Get(string id) |
56 | { | 56 | { |
diff --git a/OpenSim/Tests/Common/Mock/TestInventoryService.cs b/OpenSim/Tests/Common/Mock/MockInventoryService.cs index 5a0ee7c..1ea4bc1 100644 --- a/OpenSim/Tests/Common/Mock/TestInventoryService.cs +++ b/OpenSim/Tests/Common/Mock/MockInventoryService.cs | |||
@@ -35,13 +35,13 @@ using Nini.Config; | |||
35 | 35 | ||
36 | namespace OpenSim.Tests.Common.Mock | 36 | namespace OpenSim.Tests.Common.Mock |
37 | { | 37 | { |
38 | public class TestInventoryService : IInventoryService | 38 | public class MockInventoryService : IInventoryService |
39 | { | 39 | { |
40 | public TestInventoryService() | 40 | public MockInventoryService() |
41 | { | 41 | { |
42 | } | 42 | } |
43 | 43 | ||
44 | public TestInventoryService(IConfigSource config) | 44 | public MockInventoryService(IConfigSource config) |
45 | { | 45 | { |
46 | } | 46 | } |
47 | 47 | ||