aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix TestSyntaxError() and TestSyntaxErrorDeclaringVariableInForLoop()Justin Clark-Casey (justincc)2012-03-061-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.
* Get all test methods in OpenSim.Region.ScriptEngine.Tests.dll to report that ↵Justin Clark-Casey (justincc)2012-03-062-1/+101
| | | | they're running
* FINALLY! Script compile errors now appear in the script error pane,Melanie2009-12-221-2/+2
| | | | not in a funky debug window.
* Formatting cleanup. Ignore some generated files.Jeff Ames2009-06-091-3/+3
|
* Skip lone ident statments or for-loop assignmentsMike Mazur2009-06-071-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.
* Allow empty assignment in for-loopMike Mazur2009-06-071-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.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-012-2/+2
| | | | LICENSE.txt.
* Remove chained tests in BasicGridTest.cs.Mike Mazur2009-03-111-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.
* Allow /* C-style comments */ in LSL scripts.Mike Mazur2009-02-251-0/+29
| | | | | | This fixes Mantis #3199. opensim-libs SVN r87 contains the corresponding changes.
* Thanks DoranZemlja for a patch implementing non-shortcircuiting inMike Mazur2009-02-201-8/+12
| | | | | logical and and logical or in LSL. Fixes Mantis #3174.
* * Fix test failure in CSCodeGeneratorTest.TestJumps()Justin Clarke Casey2008-11-061-1/+1
| | | | | | | * Need new NoOp(); generated part * Not Homer's fault - this test ain't running under Windows! (needs fixing!)
* Adapt tests to new friendly errors and correct line numbersMelanie Thielker2008-10-071-2/+2
|
* Update unit testsMelanie Thielker2008-09-271-13/+6
|
* Refactor XEngine parser as per suggestions from mikemMelanie Thielker2008-09-231-14/+14
|
* changes to Test directory structure per opensim-dev conversationSean Dague2008-09-082-0/+1758