From e3cbb13899ee824978151bee4e855794b7c2a40f Mon Sep 17 00:00:00 2001 From: eeichinger Date: Fri, 7 Jan 2011 20:40:56 +0000 Subject: [PATCH] cleanup ContextRegistry after each ContextHandler test --- .../Context/Support/ContextLocatorHandlerTests.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/Spring/Spring.Core.Tests/Context/Support/ContextLocatorHandlerTests.cs b/test/Spring/Spring.Core.Tests/Context/Support/ContextLocatorHandlerTests.cs index 1e009280..f5f248df 100644 --- a/test/Spring/Spring.Core.Tests/Context/Support/ContextLocatorHandlerTests.cs +++ b/test/Spring/Spring.Core.Tests/Context/Support/ContextLocatorHandlerTests.cs @@ -50,6 +50,12 @@ namespace Spring.Context.Support ContextRegistry.Clear(); } + [TearDown] + public void TearDown() + { + ContextRegistry.Clear(); + } + [Test] public void CreateContextSuccessful() {