aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicAssetTest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-05-23Unitests: Asset, Estate, Region (the "legacy" one), InventoryAlexRa1-166/+0
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-20Series of patches to include creator ID in assets.AlexRa1-4/+35
Contains a migration. SQLite: May contain nuts. The SQLite migration copies the entire asset table. Be prepared for quite a wait. Don't interrupt it. Back up your assets db. BasicAssetTest checks CreatorID storage, new test for weird CreatorID (now also checks that non-GUID or empty CreatorID gets stored correctly) Signed-off-by: Melanie <melanie@t-data.com>
2010-05-19Scrambled asset type in BasicAssetTest.cs!AlexRa1-9/+10
The asset type wasn't in the list of "DontScramble" fields, so the test assets were stored with randomized type, which caused exception on reading them. Also the scrambler was moved from local var to the class level, so it could be used in the new tests I've added (see the next commit).
2010-03-02Fixed SQL tests.Diva Canto1-4/+1
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-3/+3
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-3/+3
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-21MySQL tests pass, except T016_RandomSogWithSceneParts. Total mystery as to ↵Diva Canto1-0/+6
why that test doesn't show in panda.
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-3/+3
unknown asset type, and log an error if it ever does happen
2009-08-19* Switching IAssetData to follow the new naming schema, removing the ↵Kunnis1-12/+12
separate insert and update methods.
2009-08-16* Added Expression based ignores to the PropertyScrambler, which makes a lot ↵Kunnis1-20/+14
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 ↵Kunnis1-5/+30
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-16Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis1-7/+12
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-6/+6
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-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-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-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-10/+10
- trim trailing whitespace
2008-09-26* minor: remove warningsJustin Clarke Casey1-1/+1
2008-09-24let the asset tests run on MySQL. Interesting difference here, theSean Dague1-3/+10
sqlite driver can handle .Data = Null, the mysql driver can not. We should decide which is the right behavior and adjust code for it.
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-12because UUID supports equality, we can do a straight equals instead ofSean Dague1-3/+3
convert to string and match.
2008-09-12move the actual [Test] methods for databases to OpenSim.Data.TestsSean Dague1-30/+15
classes. This did mean loosing 1 unit test that was actually testing an sqlite function directly instead of the interface.
2008-09-11add a few more SQLite Asset tests.Sean Dague1-3/+31
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)
2008-01-21* Make object persistence more granular by separating prim and prim ↵Justin Clarke Casey1-1/+6
inventory persistence
2007-12-27* Optimized usingslbsa711-2/+3
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-27Prim inventory persistence phase 1: Creation of preliminary table in sqlite.Justin Clarke Casey1-1/+1
No user functionality yet. This code is not turned on, so there is no possibility of disruption to existing databases.
2007-12-18*Parcels and their access lists now store over multiple sessions when the ↵mingchen1-1/+1
datastore is sqlite
2007-12-17*Land has now been linked to the StorageManager. Next step is to fill in the ↵mingchen1-4/+4
functions for the different datastore interfaces for Land Objects.
2007-11-15*** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM ↵lbsa711-1/+1
OpenSim.ini.example ** * Now moved region storage from region to application, so we have one storage per application, instead of one per region. * Changed so that the region store providers use connectionstrings, not filenames * Removed various unfit fields and properties (call me Darwin)
2007-10-30* Optimized usingslbsa711-15/+4
* Shortened type references * Removed redundant 'this' qualifier
2007-10-22* Return of R2162. /Take that SVN!/Adam Frisby1-2/+2