OpenSim
|
Tests the LSL compiler. Among other things, test that error messages generated by the C# compiler can be mapped to prper lines/columns in the LSL source. More...
Public Member Functions | |
void | Init () |
Creates a temporary directory where build artifacts are stored. More... | |
override void | SetUp () |
void | CleanUp () |
Removes the temporary build directory and any build artifacts inside it. More... | |
void | TestJumpAndSyntaxError () |
Test that line number errors are resolved as expected when preceding code contains a jump. More... | |
void | TestUseUndeclaredVariable () |
Test the C# compiler error message can be mapped to the correct line/column in the LSL source when an undeclared variable is used. More... | |
void | TestCastAndConcatString () |
Test that a string can be cast to string and another string concatenated. More... | |
Tests the LSL compiler. Among other things, test that error messages generated by the C# compiler can be mapped to prper lines/columns in the LSL source.
Definition at line 46 of file CompilerTest.cs.
|
inline |
Removes the temporary build directory and any build artifacts inside it.
Definition at line 95 of file CompilerTest.cs.
|
inline |
Creates a temporary directory where build artifacts are stored.
Definition at line 58 of file CompilerTest.cs.
|
inlinevirtual |
Reimplemented from OpenSim.Tests.Common.OpenSimTestCase.
Definition at line 70 of file CompilerTest.cs.
|
inline |
Test that a string can be cast to string and another string concatenated.
Definition at line 192 of file CompilerTest.cs.
|
inline |
Test that line number errors are resolved as expected when preceding code contains a jump.
Definition at line 140 of file CompilerTest.cs.
|
inline |
Test the C# compiler error message can be mapped to the correct line/column in the LSL source when an undeclared variable is used.
Definition at line 167 of file CompilerTest.cs.