mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
* Iniital inventory archive test code. Doesn't actually do any testing yet
This commit is contained in:
@@ -59,6 +59,10 @@ namespace OpenSim.Tests.Common.Mock
|
||||
m_userDataPlugin = new TestUserDataPlugin();
|
||||
m_inventoryDataPlugin = new TestInventoryDataPlugin();
|
||||
|
||||
SQLAssetServer assetService = new SQLAssetServer(new TestAssetDataPlugin());
|
||||
IAssetCache ac = new AssetCache(assetService);
|
||||
m_assetCache = ac;
|
||||
|
||||
LocalInventoryService lis = new LocalInventoryService();
|
||||
lis.AddPlugin(m_inventoryDataPlugin);
|
||||
m_interServiceInventoryService = lis;
|
||||
|
||||
@@ -73,14 +73,11 @@ namespace OpenSim.Tests.Common.Setup
|
||||
AgentCircuitManager acm = new AgentCircuitManager();
|
||||
SceneCommunicationService scs = new SceneCommunicationService(cm);
|
||||
|
||||
SQLAssetServer assetService = new SQLAssetServer(new TestAssetDataPlugin());
|
||||
IAssetCache ac = (IAssetCache) new AssetCache(assetService);
|
||||
|
||||
StorageManager sm = new StorageManager("OpenSim.Data.Null.dll", "", "");
|
||||
IConfigSource configSource = new IniConfigSource();
|
||||
|
||||
TestScene testScene = new TestScene(
|
||||
regInfo, acm, cm, scs, ac, sm, null, false, false, false, configSource, null);
|
||||
regInfo, acm, cm, scs, cm.AssetCache, sm, null, false, false, false, configSource, null);
|
||||
|
||||
IRegionModule capsModule = new CapabilitiesModule();
|
||||
capsModule.Initialise(testScene, new IniConfigSource());
|
||||
|
||||
Reference in New Issue
Block a user