aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestList.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-0/+2
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)1-1/+1
automatically turns off any logging enabled between tests
2012-03-06Get all test methods in OpenSim.Region.ScriptEngine.Tests.dll to report that ↵Justin Clark-Casey (justincc)1-5/+37
they're running
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2008-10-29minor: indentation correctionsJustin Clarke Casey1-45/+45
2008-09-08changes to Test directory structure per opensim-dev conversationSean Dague1-0/+0
2008-09-08Adapt the unit tests to the new list rules, change some casts toMelanie Thielker1-22/+22
new method for testing
2008-09-05Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:Charles Krinke1-0/+99
Types extracted from a LSL_Types.list have to be down-cast initially to the exact type of value type object that the Object actually is. This would make for very cumbersome, ugly code when extracting list parameter items in ll functions where a few implicit conversions should be applied such as key -> LSLString and LSLInteger -> LSLFloat (but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem member functions to the LLS_Type.list class, where XXX is the name of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take a single, int parameter that is the item number to be extracted.
2008-09-04complete rationalization of unit tests that we currently runSean Dague1-0/+0
2008-09-03Mantis #2112Melanie Thielker1-9/+70
Thannk you, ralphos, for a patch to clean up list item type handling and add a missing explicit cast in Shared/
2008-07-28-copy LSL_Types tests from Common/ to Shared/Mike Mazur1-2/+2
-fix some whitespace/formatting
2008-07-24Refactor some tests.Mike Mazur1-1/+1
2008-06-09Update svn properties. Formatting cleanup.Jeff Ames1-101/+101
2008-06-09Mantis#1469. Thank you kindly, Mikem for a patch that addresses:Charles Krinke1-0/+101
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life: list mylist = []; mylist += [1, 2, 3]; mylist += "four"; list newlist = mylist + 5.0; The problem is that the LSL_Types.list class does not have an operator for adding a string to a list. I am including a patch which implements adding a string, integer or float to a list. I am also including tests. The file LSL_TypesTestList.cs belongs in OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.