aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: windows does not have 1ms time resolutionUbitUmarov2019-10-161-3/+3
|
* fix some texts initUbitUmarov2019-10-164-0/+18
|
* oopsUbitUmarov2018-10-201-3/+0
|
* change ossl tests setupUbitUmarov2018-10-203-4/+19
|
* pesty warningUbitUmarov2018-01-181-1/+1
|
* fix mergeUbitUmarov2017-05-071-1/+1
|
* fix LSL_ApiHttpTestsUbitUmarov2017-05-021-5/+9
|
* fix test setupUbitUmarov2017-01-251-3/+10
|
* Massive tab and trailing space cleanupMelanie Thielker2017-01-0511-39/+39
|
* some types may already be native in MOD_Api ConvertFromLSLUbitUmarov2016-11-051-1/+1
|
* Regression, really ???UbitUmarov2016-11-051-0/+2
|
* work around some 'tests' errors: dont expect a particular http error responseUbitUmarov2015-11-181-2/+3
|
* work around some 'tests' errors: suspend ↵UbitUmarov2015-11-171-0/+2
| | | | TestllSetLinkPrimitiveParamsForAgent bc avatar sit math changed
* Change the IScriptApi back to it's original form, removing XEngineMelanie Thielker2015-08-1712-44/+44
| | | | | specific additions that should not have been there in the first place. Sleeping and time measurement are now completely internal to XEngine
* Revert "When scripts are sleeping, don't count that as execution time"Melanie Thielker2015-08-1712-33/+33
| | | | | | | The approach is good but the way it is written breaks the architecture. Rewrite follows. This reverts commit a568f06b7faea807149205d0e47454e4883e4836.
* When scripts are sleeping, don't count that as execution timeOren Hurvitz2015-08-1112-33/+33
| | | | Sleeping doesn't use the CPU.
* Allow setting hollow to 99% from scripts just like from viewer.Magnuz Binder2015-03-221-3/+3
|
* Reduce coupling in regression test task inventory creation methods to make ↵Justin Clark-Casey (justincc)2015-02-256-19/+19
| | | | them usable in tests with no scene present
* Fix compile error from previous 1d56029848e96016b5809f596619e32d0ebcc995Justin Clark-Casey (justincc)2014-11-251-1/+1
|
* Fix issue where llRemoteLoadScriptPin() would treat 0 (the default) as a ↵Justin Clark-Casey (justincc)2014-11-251-0/+47
| | | | | | valid set pin in a destination prim rather than the unset no pin state Adds regression test for this case.
* Add some more llGiveInventory() regression testsJustin Clark-Casey (justincc)2014-11-251-48/+1
|
* refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)2014-11-2511-12/+0
| | | | | | package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
* Fix issue where llRemoteLoadScriptPin() would treat 0 (the default) as a ↵Justin Clark-Casey2014-11-111-0/+48
| | | | | | valid set pin in a destination prim rather than the unset no pin state Adds regression test for this case.
* Add some more llGiveInventory() regression testsJustin Clark-Casey (justincc)2014-10-161-0/+71
|
* Actually add the llRequestAgentData() test class for commit 530c86Justin Clark-Casey (justincc)2014-04-111-0/+157
|
* Only allow llBreakAllLinks() to work if script has received ↵Justin Clark-Casey (justincc)2014-03-121-0/+42
| | | | | | | PERMISSION_CHANGE_LINKS As per http://wiki.secondlife.com/wiki/LlBreakAllLinks Same as existing llCreateLink() and llBreakLink()
* If an avatar is sitting, send out position updates to clients for any ↵Justin Clark-Casey (justincc)2014-03-051-1/+31
| | | | | | | | change, not just those outside the usual tolerances. This is to allow small adjustments of less than 0.05m in functions such as llSetPrimitiveLinkParams() to work This is another fix for http://opensimulator.org/mantis/view.php?id=7044 Extends regression test for this case.
* When positioning agent with PRIM_ROTATION in llSetLinkPrimitiveParams(), set ↵Justin Clark-Casey (justincc)2014-03-031-11/+25
| | | | | | | the global rotation rather than the local rotation Functionally the same as the patch in http://opensimulator.org/mantis/view.php?id=7044, thanks Aleric. This commit also extends the regression test
* Add some regression tests for previous commit 0e23374Justin Clark-Casey (justincc)2014-02-261-0/+115
|
* Extend TestLlGetNotecardLine() regression test to contain chars that are two ↵Justin Clark-Casey (justincc)2013-12-141-1/+1
| | | | bytes in utf8
* Fix bug where using PRIM_LINK_TARGET with only two remaining list items ↵Justin Clark-Casey (justincc)2013-09-161-0/+14
| | | | | | (e.g. link number then PRIM_ROTATION) would not return the parameter Extended regression test for this case
* Make llGetLinkPrimitiveParams() abort and return existing list of params ↵Justin Clark-Casey (justincc)2013-09-162-237/+386
| | | | | | | | | when it encounters an invalid link number, rather than throwing an exception Addresses http://opensimulator.org/mantis/view.php?id=6768 Thanks to talun for the patch on that commit - in the end I took a different approach that also deals with invalid PRIM_LINK_TARGET However, not yet generating the same warning on invalid PRIM_LINK_TARGET as seen on LL grid This commit also adds regression tests for some cases of llGetLinkPrimitiveParams()
* Fix NPC regression test failures.Justin Clark-Casey (justincc)2013-07-261-0/+1
| | | | | These were genuine failures caused by ScenePresence.CompleteMovement() waiting for an UpdateAgent from NPC introduction that would never come. Instead, we do not wait if the agent is an NPC.
* minor: Remove mono compiler warnings from LSL_ApiHttpTestsJustin Clark-Casey (justincc)2013-03-111-1/+0
|
* Add regression tests for llGetNotecardLine()Justin Clark-Casey (justincc)2013-02-283-3/+273
|
* minor: remove some mono compiler warnings in script regression testsJustin Clark-Casey (justincc)2013-02-271-1/+1
|
* Add regression test for llReleaseUrl() (and for llRequestUrl)Justin Clark-Casey (justincc)2013-02-271-0/+250
| | | | Forgot to add file for llRequestUrl() test in commit b8a7c8b
* Implement co-operative script termination if termination comes during a ↵Justin Clark-Casey (justincc)2013-01-167-26/+23
| | | | | | | | | | script wait event (llSleep(), etc.) This makes use of EventWaitHandles since various web references indicate that Thread.Interrupt() can also cause runtime instability. If co-op termination is enabled, then termination sets the wait handle instead of waiting for a timeout before possibly aborting the thread. This allows the script to cleanly terminate if it's in a llSleep/LL function delay or the next time it enters such a wait without any timeout period. Co-op termination is not yet testable since checking for termination request within loops that never trigger a wait is not yet implemented. This commit, unlike 1b5c41c, passes the wait handle as an extra parameter through IScript.Initialize() instead of passing IScriptInstance itself.
* Instead of passing separate engine, part and item components to script APIs, ↵Justin Clark-Casey (justincc)2013-01-157-24/+35
| | | | | | | | pass down IScriptInstance instead. This is to allow the future co-operative script thread terminate feature to detect and act upon termination requests. This splits the assembly and state loading out from the ScriptInstance() constructor to a separate Load() method in order to facilititate continued script logic regression testing.
* 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.