mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* 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
This commit is contained in:
@@ -55,19 +55,19 @@ namespace OpenSim.Tests.Common.Mock
|
||||
|
||||
public TestCommunicationsManager(NetworkServersInfo serversInfo)
|
||||
: base(serversInfo, new BaseHttpServer(666), null, false, null)
|
||||
{
|
||||
m_userDataPlugin = new TestUserDataPlugin();
|
||||
m_inventoryDataPlugin = new TestInventoryDataPlugin();
|
||||
|
||||
{
|
||||
SQLAssetServer assetService = new SQLAssetServer(new TestAssetDataPlugin());
|
||||
m_assetCache = new AssetCache(assetService);
|
||||
|
||||
LocalInventoryService lis = new LocalInventoryService();
|
||||
m_inventoryDataPlugin = new TestInventoryDataPlugin();
|
||||
lis.AddPlugin(m_inventoryDataPlugin);
|
||||
m_interServiceInventoryService = lis;
|
||||
AddInventoryService(lis);
|
||||
|
||||
LocalUserServices lus = new LocalUserServices(991, 992, this);
|
||||
lus.AddPlugin(new TemporaryUserProfilePlugin());
|
||||
m_userDataPlugin = new TestUserDataPlugin();
|
||||
lus.AddPlugin(m_userDataPlugin);
|
||||
m_userService = lus;
|
||||
m_userAdminService = lus;
|
||||
|
||||
Reference in New Issue
Block a user