diff options
author | Melanie | 2010-05-26 10:38:46 +0100 |
---|---|---|
committer | Melanie | 2010-05-26 10:56:24 +0100 |
commit | 1c7f60ab493dffe44ab0517e4a6101fe5d909e28 (patch) | |
tree | 72b6a478d32d968ad7f5f3d6d11955bee9662926 /OpenSim/Data/Tests/Resources | |
parent | Change the way alpha is interpreted on prim text. Manris #4723 (diff) | |
parent | Minor correction to AssetTests.cs (diff) | |
download | opensim-SC-1c7f60ab493dffe44ab0517e4a6101fe5d909e28.zip opensim-SC-1c7f60ab493dffe44ab0517e4a6101fe5d909e28.tar.gz opensim-SC-1c7f60ab493dffe44ab0517e4a6101fe5d909e28.tar.bz2 opensim-SC-1c7f60ab493dffe44ab0517e4a6101fe5d909e28.tar.xz |
Merge branch 'unitests'
Signed-off-by: Melanie <melanie@t-data.com>
Diffstat (limited to 'OpenSim/Data/Tests/Resources')
-rw-r--r-- | OpenSim/Data/Tests/Resources/TestDataConnections.ini | 24 |
1 files changed, 24 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..5e68ab0 --- /dev/null +++ b/OpenSim/Data/Tests/Resources/TestDataConnections.ini | |||
@@ -0,0 +1,24 @@ | |||
1 | ; The default connections to the test databases. Used by all data tests based on BasicDataServiceTest.cs. | ||
2 | ; This is read by code in DefaultTestConns.cs. | ||
3 | |||
4 | ; NOTE that this INI file is currently loaded as a embedded RESOURCE, which is weird and has a | ||
5 | ; disadvantage of having to rebuild the Tests whenever the conn strings are changed. | ||
6 | ; The only reason is that I couldn't figure out a reliable way to put this INI into the correct | ||
7 | ; dir at runtime. If somebody can do it, that would be cool. | ||
8 | |||
9 | ; I'm using a local MSDE server for testing. Obviously, you'll have to modify | ||
10 | ; the conn string to whatever MS SQL server is available to you. | ||
11 | |||
12 | ; If any of the conn strings is commented out, emty or not valid on your system, | ||
13 | ; the relevant tests will be ignored, rather than fail. | ||
14 | |||
15 | ; As to SQLite, if the conn string here is empty, it will work anyway using a temporary | ||
16 | ; file for the DB. If you want the resulting DB to persist (e.g. for performance testing, | ||
17 | ; when filling up the tables can take a long time), explicitly specify a conn string like this: | ||
18 | |||
19 | ; SqliteConnection="URI=file:<path_to_your_file>,version=3" | ||
20 | |||
21 | [TestConnections] | ||
22 | MySqlConnection="Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;" | ||
23 | SqlConnection="Server=.\SQL2008;Database=opensim-nunit;Trusted_Connection=True;" | ||
24 | SqliteConnection="" \ No newline at end of file | ||