aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorSean Dague2009-05-07 19:07:08 +0000
committerSean Dague2009-05-07 19:07:08 +0000
commitce0a84cbc0e277dd5be08a20febf13364a985a3a (patch)
treed5fc2dda5eaf3674c67d82198efd04323f1ba7a5 /OpenSim/Tests
parentRemoteAdminPlugin was using a mixture of both "true"/"false" and 0/1 (diff)
downloadopensim-SC_OLD-ce0a84cbc0e277dd5be08a20febf13364a985a3a.zip
opensim-SC_OLD-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.gz
opensim-SC_OLD-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.bz2
opensim-SC_OLD-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.xz
instrument most of the tests with a new InMethod function that may help us figure
out where that pesky deadlock is during test runs.
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/TestHelper.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/TestHelper.cs b/OpenSim/Tests/Common/TestHelper.cs
index 6853e55..21c2875 100644
--- a/OpenSim/Tests/Common/TestHelper.cs
+++ b/OpenSim/Tests/Common/TestHelper.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Diagnostics;
29 30
30namespace OpenSim.Tests.Common 31namespace OpenSim.Tests.Common
31{ 32{
@@ -46,5 +47,12 @@ namespace OpenSim.Tests.Common
46 47
47 return false; 48 return false;
48 } 49 }
50
51 // A debugging method that can be used to print out which test method you are in
52 public static void InMethod()
53 {
54 StackTrace stackTrace = new StackTrace();
55 Console.WriteLine("In Test Method : {0}", stackTrace.GetFrame(1).GetMethod().Name);
56 }
49 } 57 }
50} 58}