Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests

This commit is contained in:
Justin Clark-Casey (justincc)
2012-11-24 03:15:24 +00:00
parent e9be85442f
commit 22d4c52ffc
66 changed files with 83 additions and 68 deletions

View File

@@ -33,6 +33,7 @@ using NUnit.Framework;
using NUnit.Framework.Constraints;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Tests.Common;
using log4net;
using System.Data;
using System.Data.Common;
@@ -45,7 +46,7 @@ namespace OpenSim.Data.Tests
/// </summary>
/// <typeparam name="TConn"></typeparam>
/// <typeparam name="TService"></typeparam>
public class BasicDataServiceTest<TConn, TService>
public class BasicDataServiceTest<TConn, TService> : OpenSimTestCase
where TConn : DbConnection, new()
where TService : class, new()
{