aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMike Mazur2008-09-08 01:42:47 +0000
committerMike Mazur2008-09-08 01:42:47 +0000
commit993384d348b911a3eb36f1e9d064d9d8e05d1da9 (patch)
tree714fb4eed5a2900884d6410d4826ec01595e6593 /OpenSim
parentAdd Adam's llGroundSlope, llGroundNormal and (diff)
downloadopensim-SC_OLD-993384d348b911a3eb36f1e9d064d9d8e05d1da9.zip
opensim-SC_OLD-993384d348b911a3eb36f1e9d064d9d8e05d1da9.tar.gz
opensim-SC_OLD-993384d348b911a3eb36f1e9d064d9d8e05d1da9.tar.bz2
opensim-SC_OLD-993384d348b911a3eb36f1e9d064d9d8e05d1da9.tar.xz
Remove trailing whitespace.
Diffstat (limited to '')
-rw-r--r--OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs50
1 files changed, 25 insertions, 25 deletions
diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs b/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs
index 4417819..f9e14fd 100644
--- a/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs
+++ b/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs
@@ -50,7 +50,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests
50 } 50 }
51} 51}
52"; 52";
53 string expected = 53 string expected =
54 "\n public void default_event_state_entry()" + 54 "\n public void default_event_state_entry()" +
55 "\n {" + 55 "\n {" +
56 "\n }\n"; 56 "\n }\n";
@@ -172,10 +172,10 @@ state another_state
172 } 172 }
173} 173}
174"; 174";
175 string expected = 175 string expected =
176 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)\n" + 176 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)\n" +
177 " {\n" + 177 " {\n" +
178 " LSL_Types.LSLInteger y = -new LSL_Types.LSLInteger(3);\n" + 178 " LSL_Types.LSLInteger y = -new LSL_Types.LSLInteger(3);\n" +
179 " LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(14) + new LSL_Types.LSLInteger(6);\n" + 179 " LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(14) + new LSL_Types.LSLInteger(6);\n" +
180 " y = new LSL_Types.LSLInteger(12) + new LSL_Types.LSLInteger(45) + new LSL_Types.LSLInteger(20) + x + new LSL_Types.LSLInteger(23) + new LSL_Types.LSLInteger(1) + x + y;\n" + 180 " y = new LSL_Types.LSLInteger(12) + new LSL_Types.LSLInteger(45) + new LSL_Types.LSLInteger(20) + x + new LSL_Types.LSLInteger(23) + new LSL_Types.LSLInteger(1) + x + y;\n" +
181 " y = new LSL_Types.LSLInteger(12) + -new LSL_Types.LSLInteger(45) + -new LSL_Types.LSLInteger(20) + x + new LSL_Types.LSLInteger(23) + -new LSL_Types.LSLInteger(1) + x + y;\n" + 181 " y = new LSL_Types.LSLInteger(12) + -new LSL_Types.LSLInteger(45) + -new LSL_Types.LSLInteger(20) + x + new LSL_Types.LSLInteger(23) + -new LSL_Types.LSLInteger(1) + x + y;\n" +
@@ -195,11 +195,11 @@ state another_state
195 { 195 {
196 llOwnerSay(""Testing, 1, 2, 3""); 196 llOwnerSay(""Testing, 1, 2, 3"");
197 llSay(0, ""I can hear you!""); 197 llSay(0, ""I can hear you!"");
198 some_custom_function(1, 2, 3 + x, 4, ""five"", ""arguments""); 198 some_custom_function(1, 2, 3 +x, 4, ""five"", ""arguments"");
199 } 199 }
200} 200}
201"; 201";
202 string expected = 202 string expected =
203 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 203 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
204 "\n {" + 204 "\n {" +
205 "\n llOwnerSay(new LSL_Types.LSLString(\"Testing, 1, 2, 3\"));" + 205 "\n llOwnerSay(new LSL_Types.LSLString(\"Testing, 1, 2, 3\"));" +
@@ -232,7 +232,7 @@ state another_state
232 } 232 }
233} 233}
234"; 234";
235 string expected = 235 string expected =
236 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 236 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
237 "\n {" + 237 "\n {" +
238 "\n LSL_Types.LSLInteger y = 0;" + 238 "\n LSL_Types.LSLInteger y = 0;" +
@@ -277,7 +277,7 @@ state another_state
277 } 277 }
278} 278}
279"; 279";
280 string expected = 280 string expected =
281 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 281 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
282 "\n {" + 282 "\n {" +
283 "\n LSL_Types.LSLFloat y = new LSL_Types.LSLFloat(1.1);" + 283 "\n LSL_Types.LSLFloat y = new LSL_Types.LSLFloat(1.1);" +
@@ -315,7 +315,7 @@ default
315 } 315 }
316} 316}
317"; 317";
318 string expected = 318 string expected =
319 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 319 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
320 "\n {" + 320 "\n {" +
321 "\n }\n"; 321 "\n }\n";
@@ -494,7 +494,7 @@ default
494 } 494 }
495} 495}
496"; 496";
497 string expected = 497 string expected =
498 "\n LSL_Types.LSLString globalString = \"\";" + 498 "\n LSL_Types.LSLString globalString = \"\";" +
499 "\n LSL_Types.LSLInteger globalInt = new LSL_Types.LSLInteger(14);" + 499 "\n LSL_Types.LSLInteger globalInt = new LSL_Types.LSLInteger(14);" +
500 "\n LSL_Types.LSLString onefunc(LSL_Types.LSLString addition)" + 500 "\n LSL_Types.LSLString onefunc(LSL_Types.LSLString addition)" +
@@ -531,7 +531,7 @@ default
531 } 531 }
532} 532}
533"; 533";
534 string expected = 534 string expected =
535 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 535 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
536 "\n {" + 536 "\n {" +
537 "\n LSL_Types.Vector3 y = new LSL_Types.Vector3(new LSL_Types.LSLFloat(1.2), llGetMeAFloat(), new LSL_Types.LSLFloat(4.4));" + 537 "\n LSL_Types.Vector3 y = new LSL_Types.Vector3(new LSL_Types.LSLFloat(1.2), llGetMeAFloat(), new LSL_Types.LSLFloat(4.4));" +
@@ -584,7 +584,7 @@ default
584 } 584 }
585} 585}
586"; 586";
587 string expected = 587 string expected =
588 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 588 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
589 "\n {" + 589 "\n {" +
590 "\n LSL_Types.LSLInteger y = -new LSL_Types.LSLInteger(3);" + 590 "\n LSL_Types.LSLInteger y = -new LSL_Types.LSLInteger(3);" +
@@ -614,7 +614,7 @@ default
614 } 614 }
615} 615}
616"; 616";
617 string expected = 617 string expected =
618 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 618 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
619 "\n {" + 619 "\n {" +
620 "\n LSL_Types.LSLInteger y = -new LSL_Types.LSLInteger(3);" + 620 "\n LSL_Types.LSLInteger y = -new LSL_Types.LSLInteger(3);" +
@@ -643,7 +643,7 @@ default
643 } 643 }
644} 644}
645"; 645";
646 string expected = 646 string expected =
647 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 647 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
648 "\n {" + 648 "\n {" +
649 "\n LSL_Types.list l = new LSL_Types.list();" + 649 "\n LSL_Types.list l = new LSL_Types.list();" +
@@ -701,7 +701,7 @@ default
701 } 701 }
702} 702}
703"; 703";
704 string expected = 704 string expected =
705 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 705 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
706 "\n {" + 706 "\n {" +
707 "\n LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(1);" + 707 "\n LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(1);" +
@@ -929,7 +929,7 @@ default
929 } 929 }
930} 930}
931"; 931";
932 string expected = 932 string expected =
933 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 933 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
934 "\n {" + 934 "\n {" +
935 "\n LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(1);" + 935 "\n LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(1);" +
@@ -973,7 +973,7 @@ default
973 } 973 }
974} 974}
975"; 975";
976 string expected = 976 string expected =
977 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 977 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
978 "\n {" + 978 "\n {" +
979 "\n LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(1);" + 979 "\n LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(1);" +
@@ -1150,7 +1150,7 @@ state statetwo
1150 } 1150 }
1151} 1151}
1152"; 1152";
1153 string expected = 1153 string expected =
1154 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 1154 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
1155 "\n {" + 1155 "\n {" +
1156 "\n llSay(new LSL_Types.LSLInteger(0), new LSL_Types.LSLString(\"Going to state 'statetwo'\"));" + 1156 "\n llSay(new LSL_Types.LSLInteger(0), new LSL_Types.LSLString(\"Going to state 'statetwo'\"));" +
@@ -1184,7 +1184,7 @@ default
1184 } 1184 }
1185} 1185}
1186"; 1186";
1187 string expected = 1187 string expected =
1188 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 1188 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
1189 "\n {" + 1189 "\n {" +
1190 "\n LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(0x23);" + 1190 "\n LSL_Types.LSLInteger x = new LSL_Types.LSLInteger(0x23);" +
@@ -1248,7 +1248,7 @@ default
1248 } 1248 }
1249} 1249}
1250"; 1250";
1251 string expected = 1251 string expected =
1252 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 1252 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
1253 "\n {" + 1253 "\n {" +
1254 "\n LSL_Types.LSLInteger i = 0;" + 1254 "\n LSL_Types.LSLInteger i = 0;" +
@@ -1289,7 +1289,7 @@ default
1289 } 1289 }
1290} 1290}
1291"; 1291";
1292 string expected = 1292 string expected =
1293 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" + 1293 "\n public void default_event_touch_start(LSL_Types.LSLInteger num_detected)" +
1294 "\n {" + 1294 "\n {" +
1295 "\n LSL_Types.LSLInteger x = 0;" + 1295 "\n LSL_Types.LSLInteger x = 0;" +
@@ -1317,7 +1317,7 @@ default
1317 } 1317 }
1318} 1318}
1319"; 1319";
1320 string expected = 1320 string expected =
1321 "\n public void default_event_state_entry()" + 1321 "\n public void default_event_state_entry()" +
1322 "\n {" + 1322 "\n {" +
1323 "\n LSL_Types.Vector3 v = new LSL_Types.Vector3(x, y, -new LSL_Types.LSLFloat(0.5));" + 1323 "\n LSL_Types.Vector3 v = new LSL_Types.Vector3(x, y, -new LSL_Types.LSLFloat(0.5));" +
@@ -1346,7 +1346,7 @@ default
1346 } 1346 }
1347} 1347}
1348"; 1348";
1349 string expected = 1349 string expected =
1350 "\n public void default_event_state_entry()" + 1350 "\n public void default_event_state_entry()" +
1351 "\n {" + 1351 "\n {" +
1352 "\n LSL_Types.Vector3 v = llGetPos();" + 1352 "\n LSL_Types.Vector3 v = llGetPos();" +
@@ -1421,7 +1421,7 @@ default
1421 } 1421 }
1422}"; 1422}";
1423 1423
1424 string expected = 1424 string expected =
1425 "\n public void default_event_state_entry()" + 1425 "\n public void default_event_state_entry()" +
1426 "\n {" + 1426 "\n {" +
1427 "\n if (new LSL_Types.LSLInteger(1) < new LSL_Types.LSLInteger(0))" + 1427 "\n if (new LSL_Types.LSLInteger(1) < new LSL_Types.LSLInteger(0))" +
@@ -1470,7 +1470,7 @@ default
1470 } 1470 }
1471}"; 1471}";
1472 1472
1473 string expected = 1473 string expected =
1474 "\n public void default_event_state_entry()" + 1474 "\n public void default_event_state_entry()" +
1475 "\n {" + 1475 "\n {" +
1476 "\n for (x = new LSL_Types.LSLInteger(4); new LSL_Types.LSLInteger(1) < new LSL_Types.LSLInteger(0); x += new LSL_Types.LSLInteger(2))" + 1476 "\n for (x = new LSL_Types.LSLInteger(4); new LSL_Types.LSLInteger(1) < new LSL_Types.LSLInteger(0); x += new LSL_Types.LSLInteger(2))" +