| Commit message (Collapse) | Author | Files | Lines |
|
|
|
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion.
This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart).
However, DeRezObjects() deleted to user inventory, which is not required by llDie() or direct region module unlink and deletion.
Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path.
Uncommented TestDelinkPersistence() since this now passes.
Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
|
|
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion.
This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart).
However, DeRezObjects() deleted to user inventory, which is required by llDie() or direct region module unlink and deletion.
Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path.
Uncommented TestDelinkPersistence() since this now passes.
Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
|
|
Added a MockRegionDataPlugin to do in-memory persistence for tests since adding this to OpenSim.Data.Null.NullDataStore doesn't seem appropriate
NullDataStore can do nothing because OpenSim only ever retrieve region objects from the database on startup. Adding an in-memory store here would be unecessary overhead.
|
|
|
|
goes to the correct directory
Also removes some mono compiler warnings
|
|
|
|
add various helper functions for simplifying test readability
|
|
easily configured for test purposes
|
|
OpenSim.Data.Null.UserAuthenticationData plugin
additional tweaks to get this working properly
|
|
didn't get the authentication server to work and my brain is about to fizzle out my ears
|
|
work with the new UserAccountService/InventoryService
|
|
handles user command parsing and another which actually does the work
|
|
improve test to retrieve object by known uuid rather than dynamically assigned local id
|
|
|
|
|
|
reference
* Added a MockConsole that doesn't require a handle to System.Console
|
|
config-include settings to a separate file for standalone
Update information in StandaloneCommon.ini.example to reflect this
Remove ISharedRegionModule interfaces from all SimianGrid connector classes temporarily since this stopped standalone from working (due to absence of AssetURI settings, etc.).
Solution here may be to create separate region module connectors as done by local/grid/hypergrid so that loading can be controlled via include files
Or otherwise work out how to stop these modules from being loaded for all OpenSim invocations
|
|
Adds MockUserAccountService and connects it up
Stops services being carried over between tests since this leads to hard to find bugs
Improves information and error reporting when loading plugins
|
|
|
|
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
|
|
|
|
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
|
|
Signed-off-by: Melanie <melanie@t-data.com>
|
|
|
|
|
|
|
|
* HG is seriously broken here
* Compiles. Untested.
|
|
|
|
can now determine if a connection is from login, teleport or crossing.
Needed for a meaningful banlines implementation
|
|
|
|
|
|
remove mono compiler warning
|
|
remove duplicate mock inventory service
|
|
|
|
does the real LandChannel), percolating to SceneSetupHelpers.
|
|
- adding LandDataSerializer to OAR mechanics
|
|
|
|
|
|
and that needs to be reflected in all other services setups. But the teleport test still doesn't work. Commenting it for now.
|
|
find it in the cache.
Commented out the Standalone teleport test because it's failing, and the scene setup is very confusing. I suspect it may be wrong -- the connectors-as-ISharedRegionModules are being instantiated several times when there are several scenes.
|
|
for the old, removed asset handlers
|
|
correct bug associated with this
|
|
|
|
IConfigSource causing grief to region modules expecting it to be
non-empty (which a number of them do).
|
|
randomly occurs.
* LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
|
|
inventory code can be written with the async inventory fetch
|
|
panda)
|
|
inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality.
* SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize.
* With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
|
|
SceneSetupHelpers.SetupScene()
|