aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur1-6/+6
properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
2009-02-16line ending fixes and set native eol propertySean Dague1-62/+62
2009-02-14Mantis 3164. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2-87/+493
* Added tests for manager, user and group lists. * Added test for ban list. The test had to be left as ignored as native MySQL throws exception when ban is saved. * Added utility class to support parametrized unit tests for range checking.
2009-02-14Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-0/+3
* Created value object for EstateRegionLink for storing the estate region relationship. * Refactored slightly NHibernateManager and NHibernateXXXXData implementations for accesing nhibernate generated ID on insert. ** Changed NHibernateManager.Save method name to Insert as it does Insert. ** Changed NHibernateManager.Save return value object as ID can be both UUID and uint currently. ** Changed NHibernateManager.Load method Id parameter to object as it can be both UUID and uint. * Created NHibernateEstateData implementation. This is the actual estate storage. * Created NHibernate mapping files for both EstateSettings and EstateRegionLink * Created MigrationSyntaxDifferences.txt files to write notes about differences in migration scripts between different databases. * Created estate storage migration scripts for all four databases. * Created estate unit test classes for all four databases. * Updated one missing field to BasicEstateTest.cs * Tested NHibernate unit tests with NUnit GUI. Asset databases fail but that is not related to this patch. * Tested build with both Visual Studio and nant. * Executed build tests with nant succesfully.
2009-02-12* optimized usings.lbsa716-31/+20
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield1-1/+1
NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
2009-02-09Update svn properties, minor formatting cleanup.Jeff Ames1-154/+154
2009-02-09Thank you kindly, TLaukkan (Timmil) for a patch that:Charles Krinke1-0/+154
* Fixed and added athursv's BasicEstateTest * Added MySQLEstateTest * Added SQLiteEstateTest
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield5-6/+6
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-10/+10
- trim trailing whitespace
2009-02-03- move OpenSim/Framework/IInventoryData.cs toMike Mazur1-10/+10
OpenSim/Data/IInventoryData.cs - trim trailing whitespace
2009-01-14* Added MySQL Grid unit testsSean Dague1-0/+265
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-11Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke1-12/+36
Fixed all NHibernate unit tests by implementing missing persistency methods, tables, columns and fixing bugs in the existing implementation. Two minor changes to classes outside NHibernate module: Added Scene instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest as this was required by the NHibernate persistency. In the process added also mock constructor to Scene which only populates RegionInfo in the scene which is used by ScenePart.RegionUUID. NHibernate module is still in experimental state and has not been tested at opensim region or ugaim runtime configuration. Adding unit tests to build is not yet advisable nor using NHibernate module in any production setup.
2008-12-17* Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey1-1/+1
is in the Tools menu available when editing an object * This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed object.
2008-12-03* Minor test correction, comment removalSean Dague2-3/+1
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03Extends Avatar Appearance testsSean Dague1-1/+109
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-26Change the max value of the bytes in tests to 127. MySQL bytes are signedMelanie Thielker1-5/+5
by default
2008-11-26Yay for unit tests. Increased the type width of the prims and primshapesMelanie Thielker1-2/+2
tables, and changed the database modules to actually push these doubles down into the database layer.
2008-11-26Reduce the numerical range of text values to match what MySQL offersMelanie Thielker1-13/+13
2008-11-26Comment one more field that can't be tested that way anymoreMelanie Thielker1-1/+2
2008-11-26Fix 2 of the failed tests. Cause terrain queries to return null when noMelanie Thielker1-8/+0
terrain is found, rather than a default "0" terrain. Remove the "remove object wrong region" test. UUIDs either are unique or they're not. This test tested a bad behavior I have chosen not to duplicate.
2008-11-25* Make a step on removing direct access to TaskInventoryDictionary from ↵Justin Clarke Casey1-5/+5
other packages
2008-11-25* Remove direct access to Inventory.SerialJustin Clarke Casey1-2/+2
2008-11-21* refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey1-8/+8
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
2008-11-18Fixed MySQL and SQLite so they will save theSean Dague1-9/+139
variable sun vector, adding 3 new fields on both. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-18Extended Agent TestsSean Dague1-0/+46
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-15Update svn properties, minor formatting cleanup.Jeff Ames1-2/+2
2008-11-14Try to make the test pass againMelanie Thielker1-1/+1
2008-11-14Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker1-2/+4
inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
2008-11-14reverting #7295, as it still fails a test case (as pointed out veryDr Scofield1-4/+2
kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
2008-11-14From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield1-2/+4
This patch makes llAllowInventoryDrop work with the permissions module enabled. Changes include: - Enabled PropagatePermissions when permissions module serverside perms is on - change ownership of item when item is dropped into an object. Ownership changes to the owner of the object the item is dropped into - propagation of permissions if the permissions module enabled (eg next-owner mask applied) - CHANGED_ALLOWED_DROP is now passed to the change script event if an item was allowed to be dropped into the object only because llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being passed). - Sets object flags correctly when llAllowInventoryDrop is called so clients are notified immediately of the change in state. Am not sure that calling aggregateScriptEvents is the right way to do it, but it works and seems to be the only way without making further changes to update LocalFlags
2008-11-10* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵Justin Clarke Casey1-4/+2
RootPart and adding the part separately * Make RootPart read only
2008-11-06From: arthursv@linux.vnet.ibm.comSean Dague1-31/+141
Add more unit tests for user cases Persist more user fields into mysql that already had columns defined but weren't getting passed to the mysql manager.
2008-11-05add a test that ensures that databases work if email is null.Sean Dague1-0/+4
From: Sean Dague <sdague@gmail.com>
2008-11-04- Added stronger persistence tests for BasicUserTestsSean Dague2-13/+103
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-04- Stronger inventory testsSean Dague1-5/+119
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-04implement email field for MySQL and SQLiteSean Dague1-1/+5
From: Sean Dague <sdague@gmail.com>
2008-10-30* minor: remove mono warningJustin Clarke Casey1-1/+0
2008-10-30- Includes consistency test for new and updated objects, asSean Dague1-80/+106
some fixes in MySQL and SQLite From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-30Mid-work, trying to fix region part insertion and retrievalSean Dague1-9/+315
SQLite reports System NUll Reference, but works, inside LoadItems, on SQLiteRegionData.cs From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-17Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2008-10-16- Removed debug print methodSean Dague1-12/+1
2008-10-16more fun with rebasingSean Dague1-2/+12
2008-10-16resorting out this merge from arthur, sorry for so many commits here.Sean Dague1-8/+0
2008-10-16- Enforced no user or agent with UUID 0 on agent DB insertionSean Dague1-0/+5
2008-10-16- New attempt after merging problemSean Dague1-5/+0
2008-10-16- Enforced no user or agent with UUID 0 on agent DB insertionSean Dague1-0/+3
2008-10-16- Removed a Console.Writeline and added a Test that will be changedSean Dague1-2/+7
if the last commit is accepted
2008-10-16- Removed debug print methodSean Dague1-12/+1
2008-10-16- Enforced no user or agent with UUID 0 on agent DB insertionSean Dague1-8/+4