mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
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:
7
OpenSim/Data/Tests/Resources/TestDataConnections.ini
Normal file
7
OpenSim/Data/Tests/Resources/TestDataConnections.ini
Normal 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="..."
|
||||
Reference in New Issue
Block a user