aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/RegionTests.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Port Avination's collision fixes to core.Melanie2012-05-151-1/+0
|
* Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)2012-03-311-4/+4
| | | | | | ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
* refactor: change RezScriptFromAgentInventory(), RezNewScript() and ↵Justin Clark-Casey (justincc)2012-01-261-6/+6
| | | | | | AddInventoryItem() to accept an agent id rather than a full IClientAPI. This stops some code having to make spurious client == null checks and reduces regression test complexity.
* Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake2011-11-021-5/+0
| | | | | | | | | | | | | | | | | UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
* refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-271-4/+2
| | | | pointless duplication of identical values
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-20/+20
|
* Fix a bug in T015_LargeSceneObjects() where the large scene object was ↵Justin Clark-Casey (justincc)2011-03-141-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+
* when retrieving a sog in database tests, don't bother adding the scene since ↵Justin Clark-Casey (justincc)2011-03-141-14/+1
| | | | this isn't used
* Add method doc to T015_LargeSceneObjects() and slightly clean up formatting.Justin Clark-Casey (justincc)2011-03-141-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.
* Add current method output to all persistence level tests so that we can ↵Justin Clark-Casey (justincc)2011-03-141-11/+48
| | | | track where we are in the test suite
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-091-11/+0
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman2010-09-161-7/+7
| | | | MapAndArray collection
* Fixed the naming mess around data connectors for simulation dataJohn Hurliman2010-09-111-6/+6
|
* Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2010-08-241-4/+0
| | | | | | goes to the correct directory Also removes some mono compiler warnings
* refactor: Use SOP.Flags rather than SOP.ObjectFlagsJustin Clark-Casey (justincc)2010-08-131-4/+4
|
* comment out obsolete assert that 'item has been passed to another user since ↵Justin Clark-Casey (justincc)2010-07-141-1/+1
| | | | it was last set' perms flag was set when a prim item was added to a scene object
* Revamp the permissions propagation. This MAY mess up. Please test.Melanie2010-07-131-1/+1
| | | | | | | Change the slam bit from 3 to 4. Assume the old slam bit is always set. The new slam bit is a "changed owner" bit, correcting a bug where an item passed from the creator to another with less than full perms, then back (sale test) would arrive back full perm. Lots of in-code docs.
* Various minor changes in the data testsAlexRa2010-05-231-2/+2
|
* Unitests: Asset, Estate, Region (the "legacy" one), InventoryAlexRa2010-05-231-1/+26
| | | | | | | | The tests have been modified to work under NUnit 2.4.6 (the one currently used in the project). They will also work with NUnit 2.5+ as is, but will look better if you #define NUNIT25 for them.
* Bugfix in tests (must clear db before migrations, not after)AlexRa2010-05-231-1/+1
|
* Corrections in RegionTests.cs. It now fully works!AlexRa2010-05-231-48/+75
| | | | | | | | | The problem was that some tests relied on prior tests to leave the DB in a particular state, but the test class cleared the DB every time. The affected tests have been merged into one to remove the dependencies. tested on all 3 Dbs, all tests green.
* All data tests made DBMS-independentAlexRa2010-05-231-0/+1082