aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs
index ad4ccf0..12ba4de 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs
@@ -81,7 +81,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests
81 m_resolveEventHandler = new ResolveEventHandler(AssemblyResolver.OnAssemblyResolve); 81 m_resolveEventHandler = new ResolveEventHandler(AssemblyResolver.OnAssemblyResolve);
82 82
83 System.AppDomain.CurrentDomain.AssemblyResolve += m_resolveEventHandler; 83 System.AppDomain.CurrentDomain.AssemblyResolve += m_resolveEventHandler;
84 84
85 m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Shared.dll")); 85 m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Shared.dll"));
86 m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Shared.Api.Runtime.dll")); 86 m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Shared.Api.Runtime.dll"));
87 m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenMetaverseTypes.dll")); 87 m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenMetaverseTypes.dll"));
@@ -112,7 +112,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests
112 CSCodeGenerator cg = new CSCodeGenerator(); 112 CSCodeGenerator cg = new CSCodeGenerator();
113 string output = cg.Convert(input); 113 string output = cg.Convert(input);
114 114
115 output = Compiler.CreateCSCompilerScript(output, "script1", typeof(ScriptBaseClass).FullName, null); 115 output = Compiler.CreateCSCompilerScript(output, "script1", typeof(ScriptBaseClass).FullName, null);
116 // System.Console.WriteLine(output); 116 // System.Console.WriteLine(output);
117 117
118 positionMap = cg.PositionMap; 118 positionMap = cg.PositionMap;
@@ -154,7 +154,7 @@ erros position is better tested on viewers
154 @l; 154 @l;
155 i = 1; 155 i = 1;
156 } 156 }
157}", out positionMap); 157}", out positionMap);
158 158
159 Assert.AreEqual( 159 Assert.AreEqual(
160 new KeyValuePair<int, int>(7, 9), 160 new KeyValuePair<int, int>(7, 9),