diff options
author | onefang | 2019-09-11 16:36:50 +1000 |
---|---|---|
committer | onefang | 2019-09-11 16:36:50 +1000 |
commit | 50cd1ffd32f69228e566f2b0b89f86ea0d9fe489 (patch) | |
tree | 52f2ab0c04f1a5d7d6ac5dc872981b4b156447e7 /OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs | |
parent | Renamed branch to SledjChisl. (diff) | |
parent | Bump to release flavour, build 0. (diff) | |
download | opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.zip opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.gz opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.bz2 opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.xz |
Merge branch 'SledjChisl'
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs index 9ab3115..a341311 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs | |||
@@ -76,7 +76,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
76 | 76 | ||
77 | string[] ncLines = { "One", "Twoè", "Three" }; | 77 | string[] ncLines = { "One", "Twoè", "Three" }; |
78 | 78 | ||
79 | TaskInventoryItem ncItem | 79 | TaskInventoryItem ncItem |
80 | = TaskInventoryHelpers.AddNotecard(m_scene.AssetService, m_so.RootPart, "nc", "1", "10", string.Join("\n", ncLines)); | 80 | = TaskInventoryHelpers.AddNotecard(m_scene.AssetService, m_so.RootPart, "nc", "1", "10", string.Join("\n", ncLines)); |
81 | 81 | ||
82 | AssertValidNotecardLine(ncItem.Name, 0, ncLines[0]); | 82 | AssertValidNotecardLine(ncItem.Name, 0, ncLines[0]); |
@@ -111,7 +111,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
111 | { | 111 | { |
112 | string key = m_lslApi.llGetNotecardLine(ncName, lineNumber); | 112 | string key = m_lslApi.llGetNotecardLine(ncName, lineNumber); |
113 | Assert.That(key, Is.Not.EqualTo(UUID.Zero.ToString())); | 113 | Assert.That(key, Is.Not.EqualTo(UUID.Zero.ToString())); |
114 | 114 | ||
115 | Assert.That(m_engine.PostedEvents.Count, Is.EqualTo(1)); | 115 | Assert.That(m_engine.PostedEvents.Count, Is.EqualTo(1)); |
116 | Assert.That(m_engine.PostedEvents.ContainsKey(m_scriptItem.ItemID)); | 116 | Assert.That(m_engine.PostedEvents.ContainsKey(m_scriptItem.ItemID)); |
117 | 117 | ||
@@ -223,8 +223,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
223 | // // Check that request to URL works. | 223 | // // Check that request to URL works. |
224 | // string testResponse = "Hello World"; | 224 | // string testResponse = "Hello World"; |
225 | // | 225 | // |
226 | // m_engine.ClearPostedEvents(); | 226 | // m_engine.ClearPostedEvents(); |
227 | // m_engine.PostEventHook | 227 | // m_engine.PostEventHook |
228 | // += (itemId, evp) => m_lslApi.llHTTPResponse(evp.Params[0].ToString(), 200, testResponse); | 228 | // += (itemId, evp) => m_lslApi.llHTTPResponse(evp.Params[0].ToString(), 200, testResponse); |
229 | // | 229 | // |
230 | //// Console.WriteLine("Trying {0}", returnedUri); | 230 | //// Console.WriteLine("Trying {0}", returnedUri); |