aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-06Fix TestSyntaxError() and TestSyntaxErrorDeclaringVariableInForLoop()Justin Clark-Casey (justincc)1-8/+14
They were all failing assertions but the exceptions these threw were caught as expected Exceptions. I don't think we can easily distinguish these from the Exceptions that we're expecting. So for now we'll do some messy manually checking with boolean setting instead. This patch also corrects the assertions themselves.
2012-03-06Get all test methods in OpenSim.Region.ScriptEngine.Tests.dll to report that ↵Justin Clark-Casey (justincc)2-1/+101
they're running
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 Ames2-2/+2
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 Dague2-0/+1758