diff options
author | Justin Clarke Casey | 2009-04-23 18:24:39 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-23 18:24:39 +0000 |
commit | ef9d140022b57b175f41602731ec73775bdf2d9c (patch) | |
tree | d7a561e3ce85b3064b3f84b06d2e3f2fb4f4301e /OpenSim/Tests/Common/Mock | |
parent | fix up contributors list to have 3 contributors sections (diff) | |
download | opensim-SC_OLD-ef9d140022b57b175f41602731ec73775bdf2d9c.zip opensim-SC_OLD-ef9d140022b57b175f41602731ec73775bdf2d9c.tar.gz opensim-SC_OLD-ef9d140022b57b175f41602731ec73775bdf2d9c.tar.bz2 opensim-SC_OLD-ef9d140022b57b175f41602731ec73775bdf2d9c.tar.xz |
* Add user data plugin to store temporary profiles (which are distinct from cached)
* Plugin not yet used
* Existing functionality should not be affected in any way
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs index 4ade40d..9d28fc7 100644 --- a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs +++ b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs | |||
@@ -55,19 +55,19 @@ namespace OpenSim.Tests.Common.Mock | |||
55 | 55 | ||
56 | public TestCommunicationsManager(NetworkServersInfo serversInfo) | 56 | public TestCommunicationsManager(NetworkServersInfo serversInfo) |
57 | : base(serversInfo, new BaseHttpServer(666), null, false, null) | 57 | : base(serversInfo, new BaseHttpServer(666), null, false, null) |
58 | { | 58 | { |
59 | m_userDataPlugin = new TestUserDataPlugin(); | ||
60 | m_inventoryDataPlugin = new TestInventoryDataPlugin(); | ||
61 | |||
62 | SQLAssetServer assetService = new SQLAssetServer(new TestAssetDataPlugin()); | 59 | SQLAssetServer assetService = new SQLAssetServer(new TestAssetDataPlugin()); |
63 | m_assetCache = new AssetCache(assetService); | 60 | m_assetCache = new AssetCache(assetService); |
64 | 61 | ||
65 | LocalInventoryService lis = new LocalInventoryService(); | 62 | LocalInventoryService lis = new LocalInventoryService(); |
63 | m_inventoryDataPlugin = new TestInventoryDataPlugin(); | ||
66 | lis.AddPlugin(m_inventoryDataPlugin); | 64 | lis.AddPlugin(m_inventoryDataPlugin); |
67 | m_interServiceInventoryService = lis; | 65 | m_interServiceInventoryService = lis; |
68 | AddInventoryService(lis); | 66 | AddInventoryService(lis); |
69 | 67 | ||
70 | LocalUserServices lus = new LocalUserServices(991, 992, this); | 68 | LocalUserServices lus = new LocalUserServices(991, 992, this); |
69 | lus.AddPlugin(new TemporaryUserProfilePlugin()); | ||
70 | m_userDataPlugin = new TestUserDataPlugin(); | ||
71 | lus.AddPlugin(m_userDataPlugin); | 71 | lus.AddPlugin(m_userDataPlugin); |
72 | m_userService = lus; | 72 | m_userService = lus; |
73 | m_userAdminService = lus; | 73 | m_userAdminService = lus; |