aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicAssetTest.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Series of patches to include creator ID in assets.AlexRa2010-05-201-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>
* Scrambled asset type in BasicAssetTest.cs!AlexRa2010-05-191-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).
* Fixed SQL tests.Diva Canto2010-03-021-4/+1
|
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-3/+3
|
* Merge branch 'presence-refactor' of ssh://opensimulator.org/var/git/opensim ↵John Hurliman2010-02-221-0/+6
|\ | | | | | | into presence-refactor
| * MySQL tests pass, except T016_RandomSogWithSceneParts. Total mystery as to ↵Diva Canto2010-02-211-0/+6
| | | | | | | | why that test doesn't show in panda.
* | * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-3/+3
|/ | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-051-3/+3
| | | | unknown asset type, and log an error if it ever does happen
* * Switching IAssetData to follow the new naming schema, removing the ↵Kunnis2009-08-191-12/+12
| | | | separate insert and update methods.
* * Added Expression based ignores to the PropertyScrambler, which makes a lot ↵Kunnis2009-08-161-20/+14
| | | | 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-161-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
* Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis2009-08-161-7/+12
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* make the asserts spit out messages about their test namesSean Dague2009-04-131-6/+6
|
* * minor: Remove most mono compiler warningsJustin Clarke Casey2009-02-251-1/+1
|
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-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.
* - 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
* * optimized usings.lbsa712009-02-121-5/+3
|
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-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!
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-10/+10
| | | | | - trim trailing whitespace
* * minor: remove warningsJustin Clarke Casey2008-09-261-1/+1
|
* let the asset tests run on MySQL. Interesting difference here, theSean Dague2008-09-241-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.
* couple of minor test cleanups to see if this gets us past the bamboo humpSean Dague2008-09-231-1/+1
|
* add in bits to attempt to enable log4net on these tests to help when debuggingSean Dague2008-09-191-0/+9
|
* because UUID supports equality, we can do a straight equals instead ofSean Dague2008-09-121-3/+3
| | | | | | convert to string and match.
* move the actual [Test] methods for databases to OpenSim.Data.TestsSean Dague2008-09-121-0/+104
classes. This did mean loosing 1 unit test that was actually testing an sqlite function directly instead of the interface.