aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-06-18 22:46:54 +0100
committerJustin Clark-Casey (justincc)2014-06-18 22:46:54 +0100
commit7b2f125fb664795b53f121409bf1db8c49405958 (patch)
tree45749b55392777c202bf39994b4033a3c98622d1 /OpenSim/Region/ScriptEngine/Shared/CodeTools
parentFix issue with LSL jumps screwing up the C# compiler error -> LSL code positi... (diff)
downloadopensim-SC-7b2f125fb664795b53f121409bf1db8c49405958.zip
opensim-SC-7b2f125fb664795b53f121409bf1db8c49405958.tar.gz
opensim-SC-7b2f125fb664795b53f121409bf1db8c49405958.tar.bz2
opensim-SC-7b2f125fb664795b53f121409bf1db8c49405958.tar.xz
In compiler regression tests, setup and teardown structures for each test to avoid any possibility of inter-test inter-ference
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs6
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;