diff options
author | Justin Clark-Casey (justincc) | 2012-11-24 03:15:24 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-11-24 03:15:24 +0000 |
commit | 22d4c52ffc374e167cb674e0e20815615d8a6927 (patch) | |
tree | 15779982c870c359bb1de7f81af6d4cf586bbbbd /OpenSim/Data/Tests/BasicDataServiceTest.cs | |
parent | In ArchiverTests, use the local instantiated SceneManager rather than potenti... (diff) | |
download | opensim-SC_OLD-22d4c52ffc374e167cb674e0e20815615d8a6927.zip opensim-SC_OLD-22d4c52ffc374e167cb674e0e20815615d8a6927.tar.gz opensim-SC_OLD-22d4c52ffc374e167cb674e0e20815615d8a6927.tar.bz2 opensim-SC_OLD-22d4c52ffc374e167cb674e0e20815615d8a6927.tar.xz |
Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/BasicDataServiceTest.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/BasicDataServiceTest.cs b/OpenSim/Data/Tests/BasicDataServiceTest.cs index 7d85f0c..d8019ba 100644 --- a/OpenSim/Data/Tests/BasicDataServiceTest.cs +++ b/OpenSim/Data/Tests/BasicDataServiceTest.cs | |||
@@ -33,6 +33,7 @@ using NUnit.Framework; | |||
33 | using NUnit.Framework.Constraints; | 33 | using NUnit.Framework.Constraints; |
34 | using OpenMetaverse; | 34 | using OpenMetaverse; |
35 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
36 | using OpenSim.Tests.Common; | ||
36 | using log4net; | 37 | using log4net; |
37 | using System.Data; | 38 | using System.Data; |
38 | using System.Data.Common; | 39 | using System.Data.Common; |
@@ -45,7 +46,7 @@ namespace OpenSim.Data.Tests | |||
45 | /// </summary> | 46 | /// </summary> |
46 | /// <typeparam name="TConn"></typeparam> | 47 | /// <typeparam name="TConn"></typeparam> |
47 | /// <typeparam name="TService"></typeparam> | 48 | /// <typeparam name="TService"></typeparam> |
48 | public class BasicDataServiceTest<TConn, TService> | 49 | public class BasicDataServiceTest<TConn, TService> : OpenSimTestCase |
49 | where TConn : DbConnection, new() | 50 | where TConn : DbConnection, new() |
50 | where TService : class, new() | 51 | where TService : class, new() |
51 | { | 52 | { |