diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs index c977285..477059f 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs | |||
@@ -126,11 +126,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine.Tests | |||
126 | OSChatMessage messageReceived = null; | 126 | OSChatMessage messageReceived = null; |
127 | sceneA.EventManager.OnChatFromWorld += (s, m) => { messageReceived = m; chatEvent.Set(); }; | 127 | sceneA.EventManager.OnChatFromWorld += (s, m) => { messageReceived = m; chatEvent.Set(); }; |
128 | 128 | ||
129 | sceneA.RezNewScript(userId, scriptItemSceneA, | 129 | sceneA.RezNewScript(userId, scriptItemSceneA, |
130 | @"integer c = 0; | 130 | @"integer c = 0; |
131 | 131 | ||
132 | default | 132 | default |
133 | { | 133 | { |
134 | state_entry() | 134 | state_entry() |
135 | { | 135 | { |
136 | llSay(0, ""Script running""); | 136 | llSay(0, ""Script running""); |
@@ -143,7 +143,7 @@ default | |||
143 | 143 | ||
144 | touch_start(integer n) | 144 | touch_start(integer n) |
145 | { | 145 | { |
146 | c = c + 1; | 146 | c = c + 1; |
147 | llSay(0, (string)c); | 147 | llSay(0, (string)c); |
148 | } | 148 | } |
149 | }"); | 149 | }"); |
@@ -151,7 +151,7 @@ default | |||
151 | chatEvent.WaitOne(60000); | 151 | chatEvent.WaitOne(60000); |
152 | 152 | ||
153 | Assert.That(messageReceived, Is.Not.Null, "No chat message received."); | 153 | Assert.That(messageReceived, Is.Not.Null, "No chat message received."); |
154 | Assert.That(messageReceived.Message, Is.EqualTo("Script running")); | 154 | Assert.That(messageReceived.Message, Is.EqualTo("Script running")); |
155 | 155 | ||
156 | { | 156 | { |
157 | // XXX: Should not be doing this so directly. Should call some variant of EventManager.touch() instead. | 157 | // XXX: Should not be doing this so directly. Should call some variant of EventManager.touch() instead. |
@@ -167,7 +167,7 @@ default | |||
167 | xEngineA.PostObjectEvent(soSceneA.LocalId, ep); | 167 | xEngineA.PostObjectEvent(soSceneA.LocalId, ep); |
168 | chatEvent.WaitOne(60000); | 168 | chatEvent.WaitOne(60000); |
169 | 169 | ||
170 | Assert.That(messageReceived.Message, Is.EqualTo("1")); | 170 | Assert.That(messageReceived.Message, Is.EqualTo("1")); |
171 | } | 171 | } |
172 | 172 | ||
173 | AutoResetEvent chatEventB = new AutoResetEvent(false); | 173 | AutoResetEvent chatEventB = new AutoResetEvent(false); |
@@ -181,7 +181,7 @@ default | |||
181 | chatEventB.WaitOne(60000); | 181 | chatEventB.WaitOne(60000); |
182 | Assert.That(messageReceived, Is.Not.Null, "No Changed message received."); | 182 | Assert.That(messageReceived, Is.Not.Null, "No Changed message received."); |
183 | Assert.That(messageReceived.Message, Is.Not.Null, "Changed message without content"); | 183 | Assert.That(messageReceived.Message, Is.Not.Null, "Changed message without content"); |
184 | Assert.That(messageReceived.Message, Is.EqualTo("Changed")); | 184 | Assert.That(messageReceived.Message, Is.EqualTo("Changed")); |
185 | 185 | ||
186 | // TEST sending event to moved prim and output | 186 | // TEST sending event to moved prim and output |
187 | { | 187 | { |
@@ -202,7 +202,7 @@ default | |||
202 | xEngineB.PostObjectEvent(soSceneB.LocalId, ep); | 202 | xEngineB.PostObjectEvent(soSceneB.LocalId, ep); |
203 | chatEventB.WaitOne(60000); | 203 | chatEventB.WaitOne(60000); |
204 | 204 | ||
205 | Assert.That(messageReceived.Message, Is.EqualTo("2")); | 205 | Assert.That(messageReceived.Message, Is.EqualTo("2")); |
206 | } | 206 | } |
207 | } | 207 | } |
208 | } | 208 | } |