aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel2016-11-0312-261/+1417
|
* Remove some mono warnings in script tests, chiefly where SetUp() wasn't ↵Justin Clark-Casey (justincc)2012-12-055-7/+13
| | | | properly calling to OpenSimTestCase.SetUp()
* Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)2012-11-249-9/+9
| | | | automatically turns off any logging enabled between tests
* Get osNpcCreate() and osNpcLoadAppearance() to generate a script error if ↵Justin Clark-Casey (justincc)2012-10-251-6/+24
| | | | appearance notecard does not exist, rather than returning UUID.Zero or silently failing.
* Make osNpcCreate() return UUID.Zero instead of throwing an exception if ↵Justin Clark-Casey (justincc)2012-10-252-4/+56
| | | | notecard name is invalid. Make osNpcLoadAppearance() fail silently in same circumstance rather than throwing exception.
* Add TestOsNpcLoadAppearance()Justin Clark-Casey (justincc)2012-10-252-4/+45
|
* Move npc creation tests involving appearance from OSSL_ApiAppearanceTest to ↵Justin Clark-Casey (justincc)2012-10-252-70/+69
| | | | | | OSSL_ApiNpcTests This is a more intuitive location.
* Fix llListFindList() returning no match when there is a match with a script ↵Justin Clark-Casey (justincc)2012-09-221-0/+134
| | | | | | | | constant component in the source list. Adds regression test for this case. Based on http://opensimulator.org/mantis/view.php?id=6156 Thanks SignpostMarv.
* Disable logging in regression test in OSSL_ApiAttachmentTestsJustin Clark-Casey (justincc)2012-07-101-1/+1
|
* This script allows an object to be attached directly from prim inventory to ↵Justin Clark-Casey (justincc)2012-07-091-0/+53
| | | | | | | another avatar in the scene. Very useful in serious game/environment scenarios where its only allowed for trusted creators. Threat level Severe
* minor: remove some recent mono compiler warningsJustin Clark-Casey (justincc)2012-07-071-1/+1
|
* Remove redundant SetScene() function in Scene.AddSceneObject()Justin Clark-Casey (justincc)2012-07-072-10/+10
| | | | | This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks. There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions.
* Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)2012-07-054-5/+188
| | | | | | | This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high.
* Add automated TestllBreakLink()Justin Clark-Casey (justincc)2012-05-081-0/+27
|
* Add automated TestllCreateLink()Justin Clark-Casey (justincc)2012-05-081-0/+112
|
* refactor: Eliminate local id parameter from api initialize.Justin Clark-Casey (justincc)2012-05-084-13/+12
| | | | This is always available from m_host.LocalId
* Instead of constantly looking up unchanging self item in script code, pass ↵Justin Clark-Casey (justincc)2012-05-084-13/+13
| | | | in self item on initialization.
* Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2012-04-274-5/+5
| | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
* Fix llGiveInventory() so that it checks the destination part for ↵Justin Clark-Casey (justincc)2012-03-221-1/+58
| | | | | | | AllowInventoryDrop, not the source. This allows llAllowInventoryDrop() to work. Regression test added for this case.
* Add llGiveInventory() test from object to object where both objects are ↵Justin Clark-Casey (justincc)2012-03-221-0/+111
| | | | owned by the same user.
* Get all test methods in OpenSim.Region.ScriptEngine.Tests.dll to report that ↵Justin Clark-Casey (justincc)2012-03-066-25/+127
| | | | they're running
* Add missing assert to confirm owner delete succeeded to the end of ↵Justin Clark-Casey (justincc)2012-01-121-0/+2
| | | | TestOsNpcRemoveOwned()
* Add api level test for removing an owned npcJustin Clark-Casey (justincc)2012-01-121-2/+55
|
* Add ossl level test for removing an unowned npcJustin Clark-Casey (justincc)2012-01-121-0/+115
|
* Fixed llAngleBetween() to allow denormal rotationsJohn Cochran2012-01-061-15/+32
|
* Add script instruction count back to llRot2Euler. Other minor ↵Justin Clark-Casey (justincc)2012-01-061-14/+20
| | | | formatting/doc changes.
* Replaced llRot2Euler function.John Cochran2012-01-061-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.
* llSetPrimitiveParams Prim type params precision errorsMicheil Merlin2011-09-091-25/+33
|
* llSetPrimitiveParams correct prim hollow for cases where limit should be 70%.Micheil Merlin2011-08-251-11/+64
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* llGetPrimitiveParams fix prim hollow/hole shape valueMicheil Merlin2011-08-131-0/+175
|
* Allow the osNpcCreate() function to accept a notecard name or asset for ↵Justin Clark-Casey (justincc)2011-08-121-2/+2
| | | | initial appearance
* Implement osAgentSaveAppearance() to save the appearance of an avatar in the ↵Justin Clark-Casey (justincc)2011-08-111-0/+41
| | | | | | region to a notecard This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
* add regression test for osNpcCreate when cloning an in-region avatarJustin Clark-Casey (justincc)2011-08-111-7/+72
|
* Split out to-be-common setup stuff from TestOsOwnerSaveAppearance()Justin Clark-Casey (justincc)2011-08-111-15/+33
|
* Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not ↵Justin Clark-Casey (justincc)2011-08-091-0/+105
| | | | | | yet ready for user use. Adds regression test.
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-2/+2
|
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-211-1/+0
| | | | OpenSim.Tests.Common instead
* llVecNorm nant testMicheil Merlin2010-11-271-0/+24
|
* llRot2Euler TestsMicheil Merlin2010-09-031-0/+30
|
* * ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)2009-08-161-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.
* Give m_test* methods more reasonable namesMike Mazur2009-06-121-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*.
* Rename private TestllAngleBetween methodMike Mazur2009-06-071-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.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-016-6/+6
| | | | LICENSE.txt.
* Convert both script engines to new region module format. Add proper unloadMelanie Thielker2009-04-151-1/+2
| | | | | | handling to XEngine. Add needed stubs to DotNetEngine.
* * Tagged long running tests with LongRunningAttribute.lbsa712009-04-091-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.
* Correct unit test for llAngleBetween()Dahlia Trimble2009-04-081-5/+1
| | | | | Reinstate patch for Mantis #3007
* remove defective test criteria from unit test for llAngleBetweenDahlia Trimble2009-04-071-4/+4
|
* a last set of files that seem to have embedded ^M in themSean Dague2009-02-091-140/+140
|
* fixing warnings.Dr Scofield2009-02-091-12/+12
|
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-071-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.