Sean Dague
f2eca571b8
- Removed a Console.Writeline and added a Test that will be changed
...
if the last commit is accepted
2008-10-15 18:15:45 +00:00
Sean Dague
fa8c0d7683
- Makes MySQL reject inserting UUID 0
...
- Makes SQLite mimick MySQL default behavior on first
and last name already on db: it does not insert the
new record.
- Added tests for UUID 0 and for new UUID with existing
first and last name.
2008-10-15 18:15:43 +00:00
Sean Dague
8e3c10234a
Removed some comments
2008-10-15 18:15:40 +00:00
Sean Dague
a27352010a
Merge commit 'arthur/master'
2008-10-14 19:00:43 +00:00
Justin Clarke Casey
8c55f3eaa6
* minor: remove warnings (the code cleaners strike again)
2008-10-03 14:18:17 +00:00
Sean Dague
9d7a9d3461
stick a TODO in here about land tests, which really can't be done in
...
the current state as the Land Object has all these live references back
to Scene.
2008-10-01 21:10:08 +00:00
Sean Dague
b7454b1a2b
enhance boundary tests for no terrain. Put in a null load
...
test for land.
2008-10-01 21:10:02 +00:00
Sean Dague
7b1e82a8aa
remove tests for inventory
2008-10-01 19:29:06 +00:00
Sean Dague
0f7f3b45cc
add basic store retrieve prim inventory test. the prim
...
inventory interfaces definitely need some rethinking.
2008-10-01 18:51:12 +00:00
Sean Dague
d009927194
add delete prim tests. Found and fixed bugs where region
...
is not respected by sqlite or mysql drivers so that deleting
and object in a region actually deletes that object from any
region.
2008-10-01 15:41:36 +00:00
Sean Dague
97107961e0
add a test for updating region settings and fix a bug in uuid
...
translation in sqlite uncovered by this test.
2008-09-29 21:55:59 +00:00
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