aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-02seems to compile ( tests comented out)UbitUmarov1-0/+2
2015-02-25Reduce coupling in regression test task inventory creation methods to make ↵Justin Clark-Casey (justincc)1-1/+1
them usable in tests with no scene present
2015-01-16For scripts in attachments, don't save .state files apart from the initial ↵Justin Clark-Casey (justincc)1-0/+152
one as these are ignored since .state is saved in the attachment's asset. This eliminates pointless work and exceptions when an appdomain is unloaded whilst an attachment script state is persisted. Adds test for this case. Relates to http://opensimulator.org/mantis/view.php?id=7407
2014-12-10Fix a regression where objects crossing regions in the same simulator (on ↵Justin Clark-Casey (justincc)2-2/+197
their own or as attachments) with AppDomainLoading = false would create the new state in the source region area rather than the dest. This was beause the code was finding the script DLL compiled for the source region as everything is in the same appdomain and using this as the location for the destination script state, etc. This resolves the regression by passing the proper destination separately from the DLL retrieved. Probably a regression since commit d7b92604 (11 July 2014). Added regression test for this case. At least partly addresses http://opensimulator.org/mantis/view.php?id=7278
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)1-1/+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
2014-07-11If [XEngine] ScriptStopStrategy is changed between abort and co-op, for the ↵Justin Clark-Casey (justincc)1-1/+1
existing session use the previous strategy for that script rather than not starting the script at all. We have to do this since we can't unload existing DLLs if they're all in the same AppDomain. But we can still update the underlying DLL which will be used in the next simulator session.
2013-01-22refactor: rename XEngineTest to more descriptive XEngineBasicTestsJustin Clark-Casey (justincc)1-0/+0
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-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-8/+2
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-10-31Make "show object part" command correctly display script status.Justin Clark-Casey (justincc)1-2/+8
Uses new IEntityInventory.TryGetScriptInstanceRunning() Makes it clearer that TaskInventoryItem.ScriptRunning cannot be used as it is temporary and not updated.
2012-07-11Allow XEngine StartDelay to be configured in the [XEngine] config section.Justin Clark-Casey (justincc)1-0/+1
This is only currently meant for use by regression tests that don't have any issues if XEngine is started up quickly, since no other operations will be occuring simultaneously. Therefore, this is not yet documented externally.
2012-07-11Remove WorldComm module from the regression TestCompileAndStartScript() ↵Justin Clark-Casey (justincc)1-4/+1
since the infrastructure no longer fails if this module isn't present, at least on the tested codepaths
2012-04-27Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)1-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.
2012-02-07Add a regression test to compile and start a script. Remove ↵Justin Clark-Casey (justincc)1-20/+76
Path.GetDirectoryName when getting assembly loading path in Compiler.CompileFromDotNetText(). The Path.GetDirectoryName call in Compiler.CompileFromDotNetText is unnecessary since AppDomain.CurrentDomain.BaseDirectory is always a directory. Later path concatenation is already done by Path.Combine() which handles any trailing slash. Removing Path.GetDirectoryName() will not affect the runtime but allows NUnit to work since it doesn't add a trailing slash to AppDomain.CurrentDomain.BaseDirectory.
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
2009-08-15* whoops, missing a /Teravus Ovares (Dan Olivares)1-1/+1
2009-08-15* Comment out XEngineTest that doesn't appear to test anything. It just ↵Teravus Ovares (Dan Olivares)1-0/+3
creates a scene named 'My Test' which just happens to be the last scene displayed in the nunit log before it goes boom.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-04-15Convert both script engines to new region module format. Add proper unloadMelanie Thielker1-2/+2
handling to XEngine. Add needed stubs to DotNetEngine.
2009-02-13Fix some compiler warnings. Minor formatting cleanup.Jeff Ames1-2/+2
2009-02-12* Added XEngine tests and gathered other ScriptEngineSean Dague1-0/+68
Tests together From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>