diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs index 6b2fdad..7701605 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs | |||
@@ -64,7 +64,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests | |||
64 | // Create the temporary directory for housing build artifacts. | 64 | // Create the temporary directory for housing build artifacts. |
65 | Directory.CreateDirectory(m_testDir); | 65 | Directory.CreateDirectory(m_testDir); |
66 | } | 66 | } |
67 | } | ||
67 | 68 | ||
69 | [SetUp] | ||
70 | public void SetUp() | ||
71 | { | ||
68 | // Create a CSCodeProvider and CompilerParameters. | 72 | // Create a CSCodeProvider and CompilerParameters. |
69 | m_CSCodeProvider = new CSharpCodeProvider(); | 73 | m_CSCodeProvider = new CSharpCodeProvider(); |
70 | m_compilerParameters = new CompilerParameters(); | 74 | m_compilerParameters = new CompilerParameters(); |
@@ -85,7 +89,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests | |||
85 | /// Removes the temporary build directory and any build artifacts | 89 | /// Removes the temporary build directory and any build artifacts |
86 | /// inside it. | 90 | /// inside it. |
87 | /// </summary> | 91 | /// </summary> |
88 | [TestFixtureTearDown] | 92 | [TearDown] |
89 | public void CleanUp() | 93 | public void CleanUp() |
90 | { | 94 | { |
91 | System.AppDomain.CurrentDomain.AssemblyResolve -= m_resolveEventHandler; | 95 | System.AppDomain.CurrentDomain.AssemblyResolve -= m_resolveEventHandler; |