aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/InventoryTests.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)1-13/+13
2011-03-14Add current method output to all persistence level tests so that we can ↵Justin Clark-Casey (justincc)1-0/+27
track where we are in the test suite
2011-03-12minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)1-12/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2010-11-26Another attempt at fixing failing test for creator info.Marck1-2/+2
2010-11-23Attempt at fixing failing test.Diva Canto1-2/+4
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-05-23Various minor changes in the data testsAlexRa1-3/+5
2010-05-23Unitests: Asset, Estate, Region (the "legacy" one), InventoryAlexRa1-1/+28
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-23All data tests made DBMS-independentAlexRa1-43/+51
2009-08-16* Added Expression based ignores to the PropertyScrambler, which makes a lot ↵Kunnis1-27/+17
of the tests clearer because I'm not constantly resetting properties.
2009-08-16* Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra ↵Kunnis1-7/+49
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 ↵Kunnis1-0/+1
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-11/+26
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-41/+41
2009-04-08* Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey1-1/+1
as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
2009-02-25* minor: Remove most mono compiler warningsJustin Clarke Casey1-1/+1
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-0/+3
* 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-12* optimized usings.lbsa711-5/+3
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-1/+1
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-03- move OpenSim/Framework/IInventoryData.cs toMike Mazur1-10/+10
OpenSim/Data/IInventoryData.cs - trim trailing whitespace
2008-09-26* minor: remove warningsJustin Clarke Casey1-1/+1
2008-09-23couple of minor test cleanups to see if this gets us past the bamboo humpSean Dague1-1/+1
2008-09-19add in bits to attempt to enable log4net on these tests to help when debuggingSean Dague1-0/+9
2008-09-16add an inventory change test.Sean Dague1-0/+19
2008-09-132 more InventoryItem tests, plus see if I can leave the log4netSean Dague1-0/+24
configure in there to help me get debug messages while developing.
2008-09-12add first round of folder testsSean Dague1-44/+98
2008-09-12move the actual [Test] methods for databases to OpenSim.Data.TestsSean Dague1-0/+0
classes. This did mean loosing 1 unit test that was actually testing an sqlite function directly instead of the interface.
2008-09-12change order in prebuild.xml so this works in nant on a cleanSean Dague1-1/+1
checkout.
2008-09-12be more clever and move the bulk of the db tests for inventory intoSean Dague1-19/+5
OpenSim.Data.Tests, then subclass with custom init bits for sqlite. As I've only been testing the plugin interfaces anyway, this should make it very easy to write only a little bit of code to use these tests for other databases. It will also give us the framework for definining the datastore behavior and making sure that all the databases do the same thing.
2008-09-11more inventory folder testsSean Dague1-10/+55
2008-09-11add some folder create and list testsSean Dague1-1/+40
2008-09-11added simple add / exists folder checkSean Dague1-0/+41
2008-09-10added very basic stubs for User and Inventory db creates and emptySean Dague1-23/+5
calls to make sure they worked
2008-09-10fix typo in name of test dbSean Dague1-1/+1
2008-09-10add basic sniff tests for SQLite Asset store. Initializes a db,Sean Dague1-51/+43
stores an asset, fetches that asset, make sure it has the name we gave it. All simple stuff, but should catch the more egregious breaks.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-10/+10
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-07-18Introduce a separate connection string for estates, which defaults to the one giMelanie Thielker1-1/+1
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
2008-07-18Patch #9151Melanie Thielker1-16/+0
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-06-29patch and files from mantis #1630, Thanks MelanieMW1-0/+9
2008-06-26Apply patch from bug #1606 -- Documentation for Data/Null, Data/Base. ↵Jeff Ames1-0/+3
Thanks kerunix_Flan!
2008-06-21* Adds Region ban capability to Regions. You access this by going to ↵Teravus Ovares1-0/+16
World->Region/Estate. Then on the Estate tab, at the lower right hand corner, clicking the 'Add' button and picking an avatar. * It only persists across reboots for the mySQL datastore currently. * Currently have stubs in the other datastores.
2008-05-16Formatting cleanup.Jeff Ames1-2/+2
2008-04-03move NullStorage => OpenSim.Data.Null to be consistant withSean Dague1-1/+1
where other data storage assemblies are.
2008-03-22*Moved LandManagement into its own region module (spiffy!)mingchen1-2/+1
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-01-21* Scripts edited within a prim will now be persisted correctlyJustin Clarke Casey1-1/+1
* On restart the latest save will be restored rather than the very first dragged in scripts * Also add previously missed out database commits to separate prim inventory commit path (sigh)