29 using System.Collections.Generic;
30 using NUnit.Framework;
31 using OpenSim.Framework;
32 using OpenSim.Tests.Common;
33 using OpenSim.Region.ScriptEngine.Shared;
34 using OpenSim.Region.Framework.Scenes;
36 using OpenSim.Region.ScriptEngine.Shared.Api;
37 using OpenSim.Region.ScriptEngine.Shared.Instance;
38 using OpenSim.Region.ScriptEngine.Shared.ScriptBase;
46 namespace OpenSim.
Region.ScriptEngine.Shared.Tests
58 IConfigSource initConfigSource =
new IniConfigSource();
59 IConfig config = initConfigSource.AddConfig(
"XEngine");
60 config.Set(
"Enabled",
"true");
66 engine.Initialise(initConfigSource);
67 engine.AddRegion(scene);
70 m_lslApi.Initialize(engine, part, null);
76 TestHelpers.InMethod();
83 Assert.That(result, Is.EqualTo(-1));
89 Assert.That(result, Is.EqualTo(1));
95 Assert.That(result, Is.EqualTo(0));
101 Assert.That(result, Is.EqualTo(1));
107 Assert.That(result, Is.EqualTo(-1));
113 Assert.That(result, Is.EqualTo(-1));
119 = m_lslApi.llListFindList(
121 Assert.That(result, Is.EqualTo(-1));
132 Assert.That(result, Is.EqualTo(1));
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString LSL_String
const int OS_NPC_LAND_AT_TARGET
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat LSL_Float
void TestllListFindList()
OpenSim.Region.ScriptEngine.Shared.LSL_Types.list LSL_List
Contains all LSL ll-functions. This class will be in Default AppDomain.
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger LSL_Integer
OpenSim.Region.ScriptEngine.Shared.LSL_Types.list LSL_List
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger LSL_Integer
Helpers for setting up scenes.
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger LSLInteger
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString LSL_String