Commit Graph

168 Commits

Author SHA1 Message Date
Justin Clarke Casey
97323345ee * minor: remove warnings 2008-09-26 15:28:14 +00:00
Sean Dague
6392671335 let the asset tests run on MySQL. Interesting difference here, the
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-24 20:43:32 +00:00
Sean Dague
1aab81e235 couple of minor test cleanups to see if this gets us past the bamboo hump 2008-09-23 21:56:38 +00:00
Justin Clarke Casey
451bd5a0ca * minor: warnings removal 2008-09-21 20:56:39 +00:00
Sean Dague
6dd2841ed8 add in bits to attempt to enable log4net on these tests to help when debugging 2008-09-19 20:53:42 +00:00
Sean Dague
858d8416b4 add a region settings test 2008-09-19 20:00:09 +00:00
Teravus Ovares
e6f3181d3a * Updates the SQLite region database to support the same properties that the MySQL version does for the table, prims.
* If this causes any unit tests to fail, the tests need to be updated.
2008-09-18 17:47:29 +00:00
Sean Dague
232d1af663 add some comments and some try blocks around object storage
in the hopes this will help debug why this is failing for some people.
2008-09-18 15:39:22 +00:00
Sean Dague
ad379ed136 Added some terrain tests, and found a fun race condition in the sqlite
terrain driver in the process, which is now fixed.  yay for unit tests!
2008-09-16 19:51:14 +00:00
Sean Dague
fe7a1af2bd we can use equals on strings because they are comparible, and
this is the prefered way of doing these tests.
2008-09-16 19:48:21 +00:00
Sean Dague
2ff91dac41 add an inventory change test. 2008-09-16 18:33:49 +00:00
Sean Dague
fcc716104b 2 more InventoryItem tests, plus see if I can leave the log4net
configure in there to help me get debug messages while developing.
2008-09-13 02:06:23 +00:00
Sean Dague
ecc2a0f866 add first round of folder tests 2008-09-12 21:00:40 +00:00
Sean Dague
4b7e287ab2 because UUID supports equality, we can do a straight equals instead of
convert to string and match.
2008-09-12 18:46:55 +00:00
Sean Dague
d312f10420 use new style asserts. They are much easier to read. 2008-09-12 18:46:44 +00:00
Sean Dague
9349cf3149 move the actual [Test] methods for databases to OpenSim.Data.Tests
classes.  This did mean loosing 1 unit test that was actually testing
an sqlite function directly instead of the interface.
2008-09-12 18:13:43 +00:00
Sean Dague
1f42c89480 change order in prebuild.xml so this works in nant on a clean
checkout.
2008-09-12 17:45:02 +00:00
Sean Dague
96c720b04a be more clever and move the bulk of the db tests for inventory into
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-12 16:05:06 +00:00