diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/DefaultTestConns.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/Tests/DefaultTestConns.cs b/OpenSim/Data/Tests/DefaultTestConns.cs index 7c47bdd..5ad238b 100644 --- a/OpenSim/Data/Tests/DefaultTestConns.cs +++ b/OpenSim/Data/Tests/DefaultTestConns.cs | |||
@@ -39,16 +39,16 @@ namespace OpenSim.Data.Tests | |||
39 | /// a connection string for testing one of the supported databases. | 39 | /// a connection string for testing one of the supported databases. |
40 | /// The connections must be in the section [TestConnections] with names matching the connection class | 40 | /// The connections must be in the section [TestConnections] with names matching the connection class |
41 | /// name for the specific database, e.g.: | 41 | /// name for the specific database, e.g.: |
42 | /// | 42 | /// |
43 | /// [TestConnections] | 43 | /// [TestConnections] |
44 | /// MySqlConnection="..." | 44 | /// MySqlConnection="..." |
45 | /// SqlConnection="..." | 45 | /// SqlConnection="..." |
46 | /// SqliteConnection="..." | 46 | /// SqliteConnection="..." |
47 | /// | 47 | /// |
48 | /// Note that the conn string may also be set explicitly in the [TestCase()] attribute of test classes | 48 | /// Note that the conn string may also be set explicitly in the [TestCase()] attribute of test classes |
49 | /// based on BasicDataServiceTest.cs. | 49 | /// based on BasicDataServiceTest.cs. |
50 | /// </summary> | 50 | /// </summary> |
51 | 51 | ||
52 | static class DefaultTestConns | 52 | static class DefaultTestConns |
53 | { | 53 | { |
54 | private static Dictionary<Type, string> conns = new Dictionary<Type, string>(); | 54 | private static Dictionary<Type, string> conns = new Dictionary<Type, string>(); |
@@ -63,8 +63,8 @@ namespace OpenSim.Data.Tests | |||
63 | Assembly asm = Assembly.GetExecutingAssembly(); | 63 | Assembly asm = Assembly.GetExecutingAssembly(); |
64 | string sType = connType.Name; | 64 | string sType = connType.Name; |
65 | 65 | ||
66 | // Note: when running from NUnit, the DLL is located in some temp dir, so how do we get | 66 | // Note: when running from NUnit, the DLL is located in some temp dir, so how do we get |
67 | // to the INI file? Ok, so put it into the resources! | 67 | // to the INI file? Ok, so put it into the resources! |
68 | // string iniName = Path.Combine(Path.GetDirectoryName(asm.Location), "TestDataConnections.ini"); | 68 | // string iniName = Path.Combine(Path.GetDirectoryName(asm.Location), "TestDataConnections.ini"); |
69 | 69 | ||
70 | string[] allres = asm.GetManifestResourceNames(); | 70 | string[] allres = asm.GetManifestResourceNames(); |