aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)16-154/+89
counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
2011-03-25Add ILandObject.IPrimCounts for the new prim count module.Justin Clark-Casey (justincc)5-31/+52
Not functional yet, but tests now act against this object rather than interrogating the module directly
2011-03-23factor out common test setup code in PCM testsJustin Clark-Casey (justincc)1-57/+53
2011-03-23extend TestAddOwnerObject() to add a second objectJustin Clark-Casey (justincc)1-4/+14
2011-03-23Add PrimCountModuleTests.TestRemoveOwnerObject().Justin Clark-Casey (justincc)2-6/+60
Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs
2011-03-23refactor common sop setup parts into a single methodJustin Clark-Casey (justincc)1-17/+23
2011-03-23refactor: simplify part of AddSceneObject() test setup by moving sog ↵Justin Clark-Casey (justincc)2-10/+33
construction into SceneSetupHelpers.CreateSceneObject()
2011-03-23use a 3 part object for the pcm test rather than a 1 part, for improved test ↵Justin Clark-Casey (justincc)1-10/+14
coverage
2011-03-23user a non UUID.Zero user in pcm test to avoid any special treatment of ↵Justin Clark-Casey (justincc)1-4/+5
UUID.Zero
2011-03-23Extend simple PCM add object test to check all countsJustin Clark-Casey (justincc)1-0/+11
2011-03-23Add method doc to the Get*() methods on PrimCountModuleJustin Clark-Casey (justincc)1-0/+27
2011-03-23remove a rogue Console.WriteLine() from the last commit.Justin Clark-Casey (justincc)1-1/+0
2011-03-23Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)5-5/+59
listen for that rather than EventManager.OnParcelPrimCountAdd OnParcelPrimCountAdd had the wrong semantics for the PrimCountModule - it was invoked for every entity in the scene, not just new ones, which would screw up the untainted count. Extend automated test for this scenario.
2011-03-22Add an initial confidence-building TestAddObject() for prim counts.Justin Clark-Casey (justincc)4-25/+115
2011-03-21On initial setup, include estate and regions names in questions to make it ↵Justin Clark-Casey (justincc)2-5/+7
clearer what they relate to.
2011-03-21In initial setup, stop a user being able to create a new estate with the ↵Justin Clark-Casey (justincc)1-14/+31
same name as an existing estate.
2011-03-21On initial opensim setup, don't ask the user whether they want to join an ↵Justin Clark-Casey (justincc)1-39/+63
existing opensim estate when there aren't any. Proceed directly to estate setup instead.
2011-03-21refactor: use EstateDataService property directly instead of loading it into ↵Justin Clark-Casey (justincc)1-12/+7
a local variable
2011-03-21minor: slightly adjust previous method doc.Justin Clark-Casey (justincc)2-2/+2
2011-03-21add method doc to IEstateDataService and IEstateDataStore interfacesJustin Clark-Casey (justincc)2-2/+90
2011-03-21On initial region registration, if the user chooses the option to make the ↵Justin Clark-Casey (justincc)8-1/+172
region part of an existing estate, then list the existing region names.
2011-03-17Thanks Kevin Cozens for a patch that:BlueWall5-10/+10
Fixes several spelling mistakes
2011-03-16minor: bring comment into line with code realityJustin Clark-Casey (justincc)1-1/+1
2011-03-14Fix a bug in T015_LargeSceneObjects() where the large scene object was ↵Justin Clark-Casey (justincc)1-2/+3
stored 31 times (1 time for each added part) instead of once at the end, even though only the largest 31 prim scene object was retrieved and tested. This considerably speeds up the test, when on sqlite it now only takes 2 seconds rather than 30+
2011-03-14when retrieving a sog in database tests, don't bother adding the scene since ↵Justin Clark-Casey (justincc)1-14/+1
this isn't used
2011-03-14Add method doc to T015_LargeSceneObjects() and slightly clean up formatting.Justin Clark-Casey (justincc)1-3/+6
This test takes a considerable time on SQLite but should remain since it's testing storage and retrieval of a scene object with 31 parts.
2011-03-14Add current method output to all persistence level tests so that we can ↵Justin Clark-Casey (justincc)4-11/+99
track where we are in the test suite
2011-03-14When setting media on a prim values, use generic object permissions instead ↵Justin Clark-Casey (justincc)1-2/+2
of media permissions. Media permissions are just meant to be checked when we want to know if a user should be shown the navigation bar or allowed to navigate. It should not be checked when we're setting the media up. This bug was preventing a user from ever setting any more values if they had unchecked the owner settings.
2011-03-14Up the timeout on slow requests to 3000 to stop console spam. Make sureMelanie1-5/+21
request method and target are reported correctly and drop the txn id as it's empty 99% of the time.
2011-03-12minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-03-12factor inventory file loading into its own methodJustin Clark-Casey (justincc)1-57/+80
2011-03-12factor out iar asset load code into its own methodJustin Clark-Casey (justincc)1-29/+40
2011-03-12refactor: make boolean load indicators on load iars instance fieldsJustin Clark-Casey (justincc)1-8/+11
2011-03-12introduce iar load checks which make sure archive.xml comes first, then ↵Justin Clark-Casey (justincc)1-1/+32
inventory nodes, then assets this is necessary for correct loading. "save iar" always saves in this order so there shouldn't be any problems - these checks are to give better feedback to other systems that may construct IARs.
2011-03-10Change how map blocks are encoded to make map searchMic Bowman1-2/+4
work with viewer 2.
2011-03-10Add test for simple case where creator account with appropriate uuid exists ↵Justin Clark-Casey (justincc)1-0/+32
on the target system for an iar load
2011-03-10refactor: rename test user account fieldsJustin Clark-Casey (justincc)3-35/+35
2011-03-10factor out common scene setup code in InventoryArchiveTestCaseJustin Clark-Casey (justincc)2-41/+33
2011-03-10extend TestLoadIarV0_1AbsentCreator() to check serialized object CreatorId ↵Justin Clark-Casey (justincc)1-0/+6
as well
2011-03-10re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)2-5/+6
2011-03-10For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)3-10/+48
OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour.
2011-03-10in AssetHelpers.CreateAsset(), create objects using the 'original' xml ↵Justin Clark-Casey (justincc)1-1/+1
format rather than 'xml2'
2011-03-10When setting up default iar for testing, use iar archiving code rather than ↵Justin Clark-Casey (justincc)3-13/+17
constructing the tar manually
2011-03-10Change existing users load iar test so that it fulfills it's original ↵Justin Clark-Casey (justincc)2-11/+15
intention (i.e. OSPA resolution, which is still active). Will need to write a separate test for the simplest case where creator accounts with appropriate uuids exist on iar load.
2011-03-10Split the inventory path testing parts of TestLoadIarV0_1ExistingUsers() ↵Justin Clark-Casey (justincc)2-23/+46
into a new test TestLoadIarToInventoryPaths()
2011-03-09Make the item created in the default test iar an object rather than a scriptJustin Clark-Casey (justincc)1-2/+27
2011-03-09minor: change the order of some default iar setup in test caseJustin Clark-Casey (justincc)1-5/+7
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)34-86/+5
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-03-09Add log messages on teleport failure to better pin down the cause.Justin Clark-Casey (justincc)3-6/+19
2011-03-09Split out path tests from InventoryArchiveTests. Factor common code into ↵Justin Clark-Casey (justincc)3-531/+562
test case parent