diff options
author | AlexRa | 2010-05-17 12:37:49 +0300 |
---|---|---|
committer | AlexRa | 2010-05-23 11:47:36 +0300 |
commit | 91ad1f4ee71dc8e945e9be7b85f7d4e0ddcf4156 (patch) | |
tree | 20c64a9e438bbc476b77f10e4628ed419689e030 /OpenSim/Data/Tests/Resources | |
parent | Apply http://opensimulator.org/mantis/view.php?id=4632 (diff) | |
download | opensim-SC_OLD-91ad1f4ee71dc8e945e9be7b85f7d4e0ddcf4156.zip opensim-SC_OLD-91ad1f4ee71dc8e945e9be7b85f7d4e0ddcf4156.tar.gz opensim-SC_OLD-91ad1f4ee71dc8e945e9be7b85f7d4e0ddcf4156.tar.bz2 opensim-SC_OLD-91ad1f4ee71dc8e945e9be7b85f7d4e0ddcf4156.tar.xz |
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.
Diffstat (limited to 'OpenSim/Data/Tests/Resources')
-rw-r--r-- | OpenSim/Data/Tests/Resources/TestDataConnections.ini | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/Resources/TestDataConnections.ini b/OpenSim/Data/Tests/Resources/TestDataConnections.ini new file mode 100644 index 0000000..d149744 --- /dev/null +++ b/OpenSim/Data/Tests/Resources/TestDataConnections.ini | |||
@@ -0,0 +1,7 @@ | |||
1 | ; The default connections to the test databases. Used by tests based on BasicDataServiceTest.cs. | ||
2 | ; Read by code in DefaultTestConns.cs | ||
3 | |||
4 | [TestConnections] | ||
5 | MySqlConnection="Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;" | ||
6 | ;SqlConnection="..." | ||
7 | ;SqliteConnection="..." \ No newline at end of file | ||