aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools
diff options
context:
space:
mode:
authorMike Mazur2009-03-11 00:33:34 +0000
committerMike Mazur2009-03-11 00:33:34 +0000
commit8606d7d126ea8fa2b7a1baae7acfc0836c6c16c5 (patch)
tree32a5eb7c149d2c2fcda3a27893fdffc6f41684f8 /OpenSim/Region/ScriptEngine/Shared/CodeTools
parent* Cleanup and CCC (Code Convention Conformance) (diff)
downloadopensim-SC_OLD-8606d7d126ea8fa2b7a1baae7acfc0836c6c16c5.zip
opensim-SC_OLD-8606d7d126ea8fa2b7a1baae7acfc0836c6c16c5.tar.gz
opensim-SC_OLD-8606d7d126ea8fa2b7a1baae7acfc0836c6c16c5.tar.bz2
opensim-SC_OLD-8606d7d126ea8fa2b7a1baae7acfc0836c6c16c5.tar.xz
Remove chained tests in BasicGridTest.cs.
It's good practice to isolate unit tests so their outcome (pass/fail) does not depend on whether another test has been run/passed/failed. A method is used to populate the DB independently for each test, and a TearDown method cleans up the database after each test. Also adding extra comment in C-style comment test.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs
index e00acc9..aac769b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs
@@ -376,7 +376,7 @@ default
376*/ 376*/
377default 377default
378{ 378{
379 touch_start(integer num_detected) /* this should be stripped */ 379 touch_start(integer /* you can't see me! */ num_detected) /* this should be stripped */
380 { 380 {
381 /* 381 /*
382 * fill 382 * fill