Added generic base classes for testing database services

These are some generic classes that simplify writing tests
for any of the data connectors and databases. Among other
things, configuring the connection strings is done once,
in a separate resource file.

Tests based on the new BasicDataServiceTest class require
NUnit 2.5 or better.
This commit is contained in:
AlexRa
2010-05-17 12:37:49 +03:00
parent b2197e3b94
commit 91ad1f4ee7
3 changed files with 241 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
; The default connections to the test databases. Used by tests based on BasicDataServiceTest.cs.
; Read by code in DefaultTestConns.cs
[TestConnections]
MySqlConnection="Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;"
;SqlConnection="..."
;SqliteConnection="..."