aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-02-21MySQL tests pass, except T016_RandomSogWithSceneParts. Total mystery as to ↵Diva Canto1-0/+6
why that test doesn't show in panda.
2010-02-21Deleted obsolete files in the Data layer. Compiles.Diva Canto2-876/+0
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-12-06Getting rid of the dead field RootInventoryFolderId on UserProfileData, It's ↵Kunnis1-7/+2
not even stored in mysql. Signed-off-by: Melanie <melanie@t-data.com>
2009-11-27Apply patch that fixes the failing T013_eStateSettingsRandomStorage testJustin Clark-Casey (justincc)1-3/+4
See http://opensimulator.org/mantis/view.php?id=3993 Thanks Kunnis
2009-11-12minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman3-12/+11
unknown asset type, and log an error if it ever does happen
2009-10-19* Removed OpenSim.Data.NHibernateJohn Hurliman2-2/+1
* 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 Ames2-29/+29
2009-09-16SceneObjectGroup cleanup. Removes the default constructor and unnecessary ↵John Hurliman1-4/+2
null checks on m_rootPart
2009-09-07oops, disable T012_EstateSettingsRandomStorage() again since it does appear ↵Justin Clark-Casey (justincc)1-1/+2
to fail occasionally
2009-09-06T012_EstateSettingsRandomStorage() which wasn't being run because the method ↵Justin Clark-Casey (justincc)1-2/+1
was private test appears to work, so method made public to run in tests
2009-08-19Fixing a spot I missed in assets. Switching Grid to the new naming schema ↵Kunnis1-4/+4
with Store/Get
2009-08-19* Switching IAssetData to follow the new naming schema, removing the ↵Kunnis1-12/+12
separate insert and update methods.
2009-08-17Add copyright headers. Formatting cleanup. Fix a compiler warning.Jeff Ames3-6/+33
2009-08-16* Added Expression based ignores to the PropertyScrambler, which makes a lot ↵Kunnis8-224/+210
of the tests clearer because I'm not constantly resetting properties.
2009-08-16* More improvements to BasicAssetTest.csKunnis1-26/+12
2009-08-16* Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra ↵Kunnis3-27/+92
parameter from MySQL/MySQLInventoryData.cs * Fixed a bug in SQLite/SQLiteAssetData.cs that was causing a NRE when updating an asset. * Improved the BasicAssetTest.cs to do full create/update/get testing * Improved the BasicInventoryTest.cs to do full create/update/get of both a folder and an item * Moved the null ref tests to the start of the PropertyCompareConstraint.cs, so that it doesn't throw when passing in a null item
2009-08-16* Modified SQLite/SQLiteInventoryStore.cs to not throw if the inventory row ↵Kunnis4-46/+140
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.Kunnis6-90/+140
2009-08-16Add copyright headers. Formatting cleanup.Jeff Ames2-3/+57
2009-08-14minor formatting adjustmentsJustin Clark-Casey (justincc)1-2/+10
2009-08-14Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis2-0/+400
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames6-6/+6
LICENSE.txt.
2009-04-13make the asserts spit out messages about their test namesSean Dague5-378/+378
2009-04-09* Moved the DatabaseTestAttribute to Test.Common, and thus included ref to ↵lbsa711-17/+0
that in all db tests. *phew*
2009-04-09* Added custom DatabaseTestAttribute to help separating unit tests from ↵lbsa711-0/+17
component tests.
2009-04-08* Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey2-3/+3
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-03-11Remove chained tests in BasicGridTest.cs.Mike Mazur1-118/+88
It's good practice to isolate unit tests so their outcome (pass/fail) does not depend on whether another test has been run/passed/failed. A method is used to populate the DB independently for each test, and a TearDown method cleans up the database after each test. Also adding extra comment in C-style comment test.
2009-02-25* minor: Remove most mono compiler warningsJustin Clarke Casey5-5/+5
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke6-2/+20
* 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-21* Applied a patch that: Added estate ban table to migration scripts and ↵lbsa711-4/+4
nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate. * Added estate ban table to migration scripts of all supported databases. * Added nhibernate mapping for EstateBans property of EstateSettings * Refactored property accessors for EstateBan object. * Added comments for EstateBan properties. * Ensured that NHibernate tests pass with NUnitGUI. * Ensured that nant test target passes. This fixes mantis #3210. Thank you, tlaukkan!
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-20Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames1-4/+29
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-18Fix estate ban list persistence in MySQL and reenable testsMelanie Thielker1-15/+0
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