Added simple test for IM in Robust too.

Changed Inventory data to use the mock one in Common Tests. (but still not inventory tests)
This commit is contained in:
Diva Canto
2015-05-10 21:49:24 -07:00
parent 4b94fb8443
commit eb9b16d284
3 changed files with 30 additions and 68 deletions

View File

@@ -101,7 +101,14 @@ namespace OpenSim.Services.HypergridService
Object[] args = new Object[] { config };
m_GridService = ServerUtils.LoadPlugin<IGridService>(gridService, args);
m_PresenceService = ServerUtils.LoadPlugin<IPresenceService>(presenceService, args);
m_UserAgentService = ServerUtils.LoadPlugin<IUserAgentService>(userAgentService, args);
try
{
m_UserAgentService = ServerUtils.LoadPlugin<IUserAgentService>(userAgentService, args);
}
catch (Exception e)
{
m_log.WarnFormat("[HG IM SERVICE]: Unable to create User Agent Service. Missing config var in [HGInstantMessageService]?");
}
m_RegionCache = new ExpiringCache<UUID, GridRegion>();