aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make osNpcCreate() return UUID.Zero instead of throwing an exception if ↵Justin Clark-Casey (justincc)2012-10-251-0/+54
| | | | notecard name is invalid. Make osNpcLoadAppearance() fail silently in same circumstance rather than throwing exception.
* Add TestOsNpcLoadAppearance()Justin Clark-Casey (justincc)2012-10-251-2/+41
|
* Move npc creation tests involving appearance from OSSL_ApiAppearanceTest to ↵Justin Clark-Casey (justincc)2012-10-251-0/+69
| | | | | | OSSL_ApiNpcTests This is a more intuitive location.
* Remove redundant SetScene() function in Scene.AddSceneObject()Justin Clark-Casey (justincc)2012-07-071-3/+3
| | | | | 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-051-2/+4
| | | | | | | 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.
* refactor: Eliminate local id parameter from api initialize.Justin Clark-Casey (justincc)2012-05-081-3/+3
| | | | 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-081-3/+3
| | | | in self item on initialization.
* Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2012-04-271-1/+1
| | | | | | | | 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.
* 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