aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the reading of estate_settings.xml and the associated processing ofMelanie2010-03-221-12/+12
| | | | | defaults. Adding code to facilitate estate creation / managemment as part of first time start up
* Fixed SQL tests.Diva Canto2010-03-021-4/+1
|
* Changed asset CreatorID to a stringJohn Hurliman2010-02-223-11/+11
|
* Merge branch 'presence-refactor' of ssh://opensimulator.org/var/git/opensim ↵John Hurliman2010-02-224-877/+7
|\ | | | | | | into presence-refactor
| * Merge branch 'master' into presence-refactorMelanie2010-02-221-1/+1
| |\ | | | | | | | | | This brings presence-refactor up to master again
| | * Disable Data.BasicRegioNTest.T016_RandomSogWithSceneParts() temporarily ↵Justin Clark-Casey (justincc)2010-02-161-1/+1
| | | | | | | | | | | | since it's making the tests fail but the cause is not obvious (wrapped up in layers of reflection)
| * | MySQL tests pass, except T016_RandomSogWithSceneParts. Total mystery as to ↵Diva Canto2010-02-211-0/+6
| | | | | | | | | | | | why that test doesn't show in panda.
| * | Deleted obsolete files in the Data layer. Compiles.Diva Canto2010-02-212-876/+0
| |/
* | * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-223-11/+11
|/ | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* Put PassCollision on the ignore list for testing, since we don't save thatMelanie2009-12-311-0/+1
| | | | yet.
* Getting rid of the dead field RootInventoryFolderId on UserProfileData, It's ↵Kunnis2009-12-061-7/+2
| | | | | | not even stored in mysql. Signed-off-by: Melanie <melanie@t-data.com>
* Apply patch that fixes the failing T013_eStateSettingsRandomStorage testJustin Clark-Casey (justincc)2009-11-271-3/+4
| | | | | See http://opensimulator.org/mantis/view.php?id=3993 Thanks Kunnis
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2009-11-121-1/+1
|
* Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-053-12/+11
| | | | unknown asset type, and log an error if it ever does happen
* * Removed OpenSim.Data.NHibernateJohn Hurliman2009-10-192-2/+1
| | | | * Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
* Formatting cleanup.Jeff Ames2009-10-011-1/+1
|
* Formatting cleanup.Jeff Ames2009-10-012-29/+29
|
* SceneObjectGroup cleanup. Removes the default constructor and unnecessary ↵John Hurliman2009-09-161-4/+2
| | | | null checks on m_rootPart
* oops, disable T012_EstateSettingsRandomStorage() again since it does appear ↵Justin Clark-Casey (justincc)2009-09-071-1/+2
| | | | to fail occasionally
* T012_EstateSettingsRandomStorage() which wasn't being run because the method ↵Justin Clark-Casey (justincc)2009-09-061-2/+1
| | | | | | was private test appears to work, so method made public to run in tests
* Fixing a spot I missed in assets. Switching Grid to the new naming schema ↵Kunnis2009-08-191-4/+4
| | | | with Store/Get
* * Switching IAssetData to follow the new naming schema, removing the ↵Kunnis2009-08-191-12/+12
| | | | separate insert and update methods.
* Add copyright headers. Formatting cleanup. Fix a compiler warning.Jeff Ames2009-08-173-6/+33
|
* * Added Expression based ignores to the PropertyScrambler, which makes a lot ↵Kunnis2009-08-168-224/+210
| | | | of the tests clearer because I'm not constantly resetting properties.
* * More improvements to BasicAssetTest.csKunnis2009-08-161-26/+12
|
* * Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra ↵Kunnis2009-08-163-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
* * Modified SQLite/SQLiteInventoryStore.cs to not throw if the inventory row ↵Kunnis2009-08-164-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.
* Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis2009-08-166-90/+140
|
* Add copyright headers. Formatting cleanup.Jeff Ames2009-08-162-3/+57
|
* minor formatting adjustmentsJustin Clark-Casey (justincc)2009-08-141-2/+10
|
* Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis2009-08-142-0/+400
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-016-6/+6
| | | | LICENSE.txt.
* make the asserts spit out messages about their test namesSean Dague2009-04-135-378/+378
|
* * Moved the DatabaseTestAttribute to Test.Common, and thus included ref to ↵lbsa712009-04-091-17/+0
| | | | that in all db tests. *phew*
* * Added custom DatabaseTestAttribute to help separating unit tests from ↵lbsa712009-04-091-0/+17
| | | | component tests.
* * Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey2009-04-082-3/+3
| | | | | | | | | as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
* * Removes some hard-coded magic numbers relating to RegionSize. We now use ↵Adam Frisby2009-04-011-5/+5
| | | | | | | Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m) * Adds minor functionality to MRM Scripting.
* Remove chained tests in BasicGridTest.cs.Mike Mazur2009-03-111-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.
* * minor: Remove most mono compiler warningsJustin Clarke Casey2009-02-255-5/+5
|
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-226-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.
* * Applied a patch that: Added estate ban table to migration scripts and ↵lbsa712009-02-211-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!
* * Apply http://opensimulator.org/mantis/view.php?id=3185idb2009-02-201-2/+3
| | | | | | * Fixes NHibernate problem where prim contents show as textures * Thanks Tommil!
* Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames2009-02-201-4/+29
|
* * Apply http://opensimulator.org/mantis/view.php?id=3151Justin Clarke Casey2009-02-191-0/+12
| | | | | | | * Fixes NHibernate overflow exception when saving some objects (under at least PostgreSQL 8.3) * Thanks Tommil!
* Fix estate ban list persistence in MySQL and reenable testsMelanie Thielker2009-02-181-15/+0
|
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-171-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
* line ending fixes and set native eol propertySean Dague2009-02-161-62/+62
|
* Mantis 3164. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-142-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.
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-141-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.
* * optimized usings.lbsa712009-02-126-31/+20
|