diff options
author | Justin Clark-Casey (justincc) | 2014-06-18 22:46:54 +0100 |
---|---|---|
committer | Justin Clark-Casey | 2014-08-02 00:49:17 +0100 |
commit | 86630a901082c3c51e9d9eb6b081285c22b240af (patch) | |
tree | ffff4715fa902f2e954bf385d3158ec65087f076 | |
parent | Fix issue with LSL jumps screwing up the C# compiler error -> LSL code positi... (diff) | |
download | opensim-SC_OLD-86630a901082c3c51e9d9eb6b081285c22b240af.zip opensim-SC_OLD-86630a901082c3c51e9d9eb6b081285c22b240af.tar.gz opensim-SC_OLD-86630a901082c3c51e9d9eb6b081285c22b240af.tar.bz2 opensim-SC_OLD-86630a901082c3c51e9d9eb6b081285c22b240af.tar.xz |
In compiler regression tests, setup and teardown structures for each test to avoid any possibility of inter-test inter-ference
-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; |