aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-22FINALLY! Script compile errors now appear in the script error pane,Melanie1-2/+2
not in a funky debug window.
2009-06-09Formatting cleanup. Ignore some generated files.Jeff Ames1-3/+3
2009-06-07Skip lone ident statments or for-loop assignmentsMike Mazur1-0/+51
SL's LSL supports lone idents: integer x; x; as well as lone idents in for-loop assignments: for (x; x < 10; x++) { ... } while those are errors in C# (MONO at least). This patch skips lone idents in such places. Fixes Mantis #3042.
2009-06-07Allow empty assignment in for-loopMike Mazur1-0/+25
For loops with no assignment are no longer syntax errors. For example, this is now valid: for ( ; i < 10; i++) { ... } Corresponding changes to lsl.{lexer,parser} in r99 in opensim-libs. Fixes Mantis #2501. Fixes Mantis #2884.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-03-11Remove chained tests in BasicGridTest.cs.Mike Mazur1-1/+1
It's good practice to isolate unit tests so their outcome (pass/fail) does not depend on whether another test has been run/passed/failed. A method is used to populate the DB independently for each test, and a TearDown method cleans up the database after each test. Also adding extra comment in C-style comment test.
2009-02-25Allow /* C-style comments */ in LSL scripts.Mike Mazur1-0/+29
This fixes Mantis #3199. opensim-libs SVN r87 contains the corresponding changes.
2009-02-20Thanks DoranZemlja for a patch implementing non-shortcircuiting inMike Mazur1-8/+12
logical and and logical or in LSL. Fixes Mantis #3174.
2008-11-06* Fix test failure in CSCodeGeneratorTest.TestJumps()Justin Clarke Casey1-1/+1
* Need new NoOp(); generated part * Not Homer's fault - this test ain't running under Windows! (needs fixing!)
2008-10-07Adapt tests to new friendly errors and correct line numbersMelanie Thielker1-2/+2
2008-09-27Update unit testsMelanie Thielker1-13/+6
2008-09-23Refactor XEngine parser as per suggestions from mikemMelanie Thielker1-14/+14
2008-09-08changes to Test directory structure per opensim-dev conversationSean Dague1-0/+0
2008-09-08Use older ExpectedException attribute format. Previously tests were failing ↵Mike Mazur1-2/+2
on NUnit <2.2.8.
2008-09-08Remove trailing whitespace.Mike Mazur1-25/+25
2008-09-07Convert TestStringsWithEscapedQuotesAndComments to use concatenated expected ↵Mike Mazur1-20/+9
string.
2008-09-06more unit test cross-platform compatibility tweaksDahlia Trimble1-214/+195
2008-09-06more unit test tweaks in the name of cross-platform compatibilityDahlia Trimble1-143/+137
2008-09-06Revert changes to TestStringsWithEscapedQuotesAndComments() so it will work ↵Dahlia Trimble1-9/+21
in Bamboo instead of windows
2008-09-06reformatted some of unit test standards to allow them to work when OpenSim ↵Dahlia Trimble1-174/+159
is built in Visual Studio
2008-09-04complete rationalization of unit tests that we currently runSean Dague1-0/+0
2008-09-02Fix and reactivate the unit tests on the XEngineMelanie Thielker1-103/+102
2008-09-02Temporarily disable the unit tests for Shared/ until they can be updated.Melanie Thielker1-21/+21
2008-09-02First batch of the unit test changes for the new constants semanticsMelanie Thielker1-89/+89
in XEngine. This turned out to be a lot of work to catch up.
2008-08-07Minor formatting cleanup.Jeff Ames1-8/+8
2008-07-31Allow the list hack from issue 1863 to compile, however its behavior isMike Mazur1-0/+25
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for details.
2008-07-31Allow assignments in if/while/do-while control statements. Fix issue 1862.Mike Mazur1-0/+68
2008-07-31Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-whileMike Mazur1-0/+125
statements with no body.
2008-07-24Update svn properties. Minor formatting cleanup.Jeff Ames1-7/+7
2008-07-23First version of position mapping between LSL <-> C# implemented.Mike Mazur1-3/+3
2008-07-14Mantis#1728. Thank you kindly, Mikem for a patch that solves:Charles Krinke1-0/+35
The compiler was missing grammar rules for += etc. operators on vector.member variables, which the attached patch implements.
2008-07-12Patch #9142 (No mantis)Melanie Thielker1-68/+68
Add a config option to OpenSim.ini to select between script compilers in the XEngine without recompile. Set UseNewCompiler=true in OpenSim.ini and try it out. Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-11Thanks Mike for another LSL compiler patch which fixes a bug where 'vector ↵Johan Berntsson1-1/+59
v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
2008-07-10Patch from Mike: errors from the LSL/C# compilers are now reported to the ↵Johan Berntsson1-0/+31
user in-world
2008-07-08Patch from Mike: added unit tests for the LSL compilerJohan Berntsson1-0/+1303