From 22d4c52ffc374e167cb674e0e20815615d8a6927 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 24 Nov 2012 03:15:24 +0000 Subject: Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests --- OpenSim/Framework/Servers/Tests/OSHttpTests.cs | 3 ++- OpenSim/Framework/Servers/Tests/VersionInfoTests.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Servers') diff --git a/OpenSim/Framework/Servers/Tests/OSHttpTests.cs b/OpenSim/Framework/Servers/Tests/OSHttpTests.cs index dc4eb8f..3412e0f 100644 --- a/OpenSim/Framework/Servers/Tests/OSHttpTests.cs +++ b/OpenSim/Framework/Servers/Tests/OSHttpTests.cs @@ -35,11 +35,12 @@ using HttpServer; using HttpServer.FormDecoders; using NUnit.Framework; using OpenSim.Framework.Servers.HttpServer; +using OpenSim.Tests.Common; namespace OpenSim.Framework.Servers.Tests { [TestFixture] - public class OSHttpTests + public class OSHttpTests : OpenSimTestCase { // we need an IHttpClientContext for our tests public class TestHttpClientContext: IHttpClientContext diff --git a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs index 49e5061..480f2bb 100644 --- a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs +++ b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs @@ -29,11 +29,12 @@ using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; +using OpenSim.Tests.Common; namespace OpenSim.Framework.Servers.Tests { [TestFixture] - public class VersionInfoTests + public class VersionInfoTests : OpenSimTestCase { [Test] public void TestVersionLength() -- cgit v1.1