aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-12Add missing assert to confirm owner delete succeeded to the end of ↵Justin Clark-Casey (justincc)1-0/+2
TestOsNpcRemoveOwned()
2012-01-12Add api level test for removing an owned npcJustin Clark-Casey (justincc)1-2/+55
2012-01-12Add ossl level test for removing an unowned npcJustin Clark-Casey (justincc)1-0/+115
2012-01-06Fixed llAngleBetween() to allow denormal rotationsJohn Cochran1-15/+32
2012-01-06Add script instruction count back to llRot2Euler. Other minor ↵Justin Clark-Casey (justincc)1-14/+20
formatting/doc changes.
2012-01-06Replaced llRot2Euler function.John Cochran1-18/+79
The original function suffered from unexpected results due to rounding errors. An error of only 1 or 2 ulps would cause the code to not detect a singularity at Y rotation +/- PI/2 and take the non-singularity code path. The replacement code does not suffer from wildly inaccurate results at the +/- PI/2 singularity. The check in the code for the singularity isn't strictly needed, but gives more consistent results At the singularity, the X and Z rotations add. The if check simply forces the X rotation to be zero so the entirety of the X+Z rotation is carried by Z. Additionally, the test code has been updated to include test cases that caused the old code to fail. The test algorithm is also updated to perform a more meaningful test. The original code checked if the values against expected values. This could fail at +/- PI rotations since a rotation around an axis by PI causes the identical effect as a rotation by -PI. The new test code checks that the returned angles can be used to recreate a quaternion that causes the same rotation.
2011-09-09llSetPrimitiveParams Prim type params precision errorsMicheil Merlin1-25/+33
2011-08-25llSetPrimitiveParams correct prim hollow for cases where limit should be 70%.Micheil Merlin1-11/+64
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-08-13llGetPrimitiveParams fix prim hollow/hole shape valueMicheil Merlin1-0/+175
2011-08-12Allow the osNpcCreate() function to accept a notecard name or asset for ↵Justin Clark-Casey (justincc)1-2/+2
initial appearance
2011-08-11Implement osAgentSaveAppearance() to save the appearance of an avatar in the ↵Justin Clark-Casey (justincc)1-0/+41
region to a notecard This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
2011-08-11add regression test for osNpcCreate when cloning an in-region avatarJustin Clark-Casey (justincc)1-7/+72
2011-08-11Split out to-be-common setup stuff from TestOsOwnerSaveAppearance()Justin Clark-Casey (justincc)1-15/+33
2011-08-09Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not ↵Justin Clark-Casey (justincc)1-0/+105
yet ready for user use. Adds regression test.
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)1-2/+2
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)1-1/+0
OpenSim.Tests.Common instead
2010-11-27llVecNorm nant testMicheil Merlin1-0/+24
2010-09-03llRot2Euler TestsMicheil Merlin1-0/+30
2009-08-16* ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)1-1/+2
randomly occurs. * LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
2009-06-12Give m_test* methods more reasonable namesMike Mazur1-13/+13
Changing the names of these methods because they were being picked up by nunit as tests even though they were marked private. Naming them Check* after the original Test*.
2009-06-07Rename private TestllAngleBetween methodMike Mazur1-13/+13
It seems overloading the method TestllAngleBetween confused nunit a bit and caused it to try running the private TestllAngleBetween method. The method's access modified prevented that from happening, and nunit complained.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames6-6/+6
LICENSE.txt.
2009-04-15Convert both script engines to new region module format. Add proper unloadMelanie Thielker1-1/+2
handling to XEngine. Add needed stubs to DotNetEngine.
2009-04-09* Tagged long running tests with LongRunningAttribute.lbsa711-5/+5
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever. * Feel free to run the unit tests as you code, and the rest before commit.
2009-04-08Correct unit test for llAngleBetween()Dahlia Trimble1-5/+1
Reinstate patch for Mantis #3007
2009-04-07remove defective test criteria from unit test for llAngleBetweenDahlia Trimble1-4/+4
2009-02-09a last set of files that seem to have embedded ^M in themSean Dague1-140/+140
2009-02-09fixing warnings.Dr Scofield1-12/+12
2009-02-07Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-0/+140
Created nunit test for LSL API and example test for llAngleBetween which was marked untested in wiki. Run new test succesfully with NUnitGUI and nant build.
2008-12-12Made the casting of stings to floats more robust and work more like SL.idb1-1/+11
Added some more tests that casts previously failed on. Fixes Mantis #2789
2008-10-29minor: indentation correctionsJustin Clarke Casey1-45/+45
2008-09-28Mantis #1922Melanie Thielker1-0/+1
Thank you, idb, for a patch that addresses hex digits erroneously being recognized as valid and parsed in a decimal number
2008-09-21Mantis #2232Melanie Thielker1-0/+8
Thank you, idb, for a patch that fixes an overflow issue in casting string -> int for both engines, and adds tests!
2008-09-08changes to Test directory structure per opensim-dev conversationSean Dague5-0/+1195