aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/RegionTests.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-76/+76
2015-11-16 work around some 'tests' errorsUbitUmarov1-2/+9
2014-11-28Remove unmaintained MSSQL support.Justin Clark-Casey (justincc)1-8/+0
This has not been maintained for more than 2 years, is unimplemented for newer features (e.g. built-in groups) and has no core developers using it. If somebody fixes these issues then it could be reinstated.
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-4/+4
Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-4/+4
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-4/+4
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2012-07-07minor: remove some recent mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2012-07-07Remove redundant SetScene() function in Scene.AddSceneObject()Justin Clark-Casey (justincc)1-1/+1
This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks. There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions.
2012-05-15Port Avination's collision fixes to core.Melanie1-1/+0
2012-05-14Completely revamp collision handling. Now works as it is supposed to.Melanie1-1/+0
2012-03-31Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)1-4/+4
ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
2012-01-26refactor: change RezScriptFromAgentInventory(), RezNewScript() and ↵Justin Clark-Casey (justincc)1-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.
2011-11-02Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake1-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.
2011-08-27refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)1-4/+2
pointless duplication of identical values
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)1-20/+20
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)1-11/+48
track where we are in the test suite
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)1-11/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-7/+7
MapAndArray collection
2010-09-11Fixed the naming mess around data connectors for simulation dataJohn Hurliman1-6/+6
2010-08-24Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)1-4/+0
goes to the correct directory Also removes some mono compiler warnings
2010-08-13refactor: Use SOP.Flags rather than SOP.ObjectFlagsJustin Clark-Casey (justincc)1-4/+4
2010-07-14comment out obsolete assert that 'item has been passed to another user since ↵Justin Clark-Casey (justincc)1-1/+1
it was last set' perms flag was set when a prim item was added to a scene object
2010-07-13Revamp the permissions propagation. This MAY mess up. Please test.Melanie1-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.
2010-07-13Revamp the permissions propagation. This MAY mess up. Please test.Melanie Thielker1-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.
2010-05-23Various minor changes in the data testsAlexRa1-2/+2
2010-05-23Unitests: Asset, Estate, Region (the "legacy" one), InventoryAlexRa1-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.
2010-05-23Bugfix in tests (must clear db before migrations, not after)AlexRa1-1/+1
2010-05-23Corrections in RegionTests.cs. It now fully works!AlexRa1-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.
2010-05-23All data tests made DBMS-independentAlexRa1-40/+61
2010-02-16Disable Data.BasicRegioNTest.T016_RandomSogWithSceneParts() temporarily ↵Justin Clark-Casey (justincc)1-1/+1
since it's making the tests fail but the cause is not obvious (wrapped up in layers of reflection)
2009-12-31Put PassCollision on the ignore list for testing, since we don't save thatMelanie1-0/+1
yet.
2009-11-12minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2009-10-19* Removed OpenSim.Data.NHibernateJohn Hurliman1-1/+0
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-10-01Formatting cleanup.Jeff Ames1-18/+18
2009-09-16SceneObjectGroup cleanup. Removes the default constructor and unnecessary ↵John Hurliman1-4/+2
null checks on m_rootPart
2009-08-16* Added Expression based ignores to the PropertyScrambler, which makes a lot ↵Kunnis1-12/+12
of the tests clearer because I'm not constantly resetting properties.
2009-08-16* Modified SQLite/SQLiteInventoryStore.cs to not throw if the inventory row ↵Kunnis1-1/+3
does not exist, to match the mysql behavior. * Modified SQLite/SQLiteRegionData.cs to only persist temporary items following the same rules mysql uses. * Added another ignore to the inventory test that was missing. * Added a few more ignores to the RegionTest that the first version of my test were missing. * Added ignoring the root Folder ID, which is set by the inventory system. * Added several improvements to the PropertyCompareConstraint: Protection against infinite loops, added IComparable<T> (for UUID) and moved IComparable before the property matching. * Fixed a bug where I was saving the inside of the ignore expression instead of the outside of it.
2009-08-16Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis1-0/+47
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-04-13make the asserts spit out messages about their test namesSean Dague1-166/+166
2009-04-08* Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey1-2/+2
as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
2009-04-01* Removes some hard-coded magic numbers relating to RegionSize. We now use ↵Adam Frisby1-5/+5
Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m) * Adds minor functionality to MRM Scripting.
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-2/+5
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-20* Apply http://opensimulator.org/mantis/view.php?id=3185idb1-2/+3
* Fixes NHibernate problem where prim contents show as textures * Thanks Tommil!
2009-02-19* Apply http://opensimulator.org/mantis/view.php?id=3151Justin Clarke Casey1-0/+12
* Fixes NHibernate overflow exception when saving some objects (under at least PostgreSQL 8.3) * Thanks Tommil!
2009-02-12* optimized usings.lbsa711-7/+6