aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/TestHelper.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-04 21:35:15 +0100
committerJustin Clark-Casey (justincc)2011-07-04 21:35:15 +0100
commit46f5893d559f87982e510d02a37856951eb1e088 (patch)
tree5a16d3f569b7ad740db59d6b2a497f0bda8a5573 /OpenSim/Tests/Common/TestHelper.cs
parentIf a user has the rights to edit a parcel's properties, then also allow them ... (diff)
downloadopensim-SC_OLD-46f5893d559f87982e510d02a37856951eb1e088.zip
opensim-SC_OLD-46f5893d559f87982e510d02a37856951eb1e088.tar.gz
opensim-SC_OLD-46f5893d559f87982e510d02a37856951eb1e088.tar.bz2
opensim-SC_OLD-46f5893d559f87982e510d02a37856951eb1e088.tar.xz
Add basic flotsam asset cache test for retrieved cached asset.
Disabled temporarily since file system caching disrupts subsequent test runs
Diffstat (limited to '')
-rw-r--r--OpenSim/Tests/Common/TestHelper.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/TestHelper.cs b/OpenSim/Tests/Common/TestHelper.cs
index 1722e59..86bd107 100644
--- a/OpenSim/Tests/Common/TestHelper.cs
+++ b/OpenSim/Tests/Common/TestHelper.cs
@@ -28,6 +28,7 @@
28using System; 28using System;
29using System.Diagnostics; 29using System.Diagnostics;
30using NUnit.Framework; 30using NUnit.Framework;
31using OpenMetaverse;
31 32
32namespace OpenSim.Tests.Common 33namespace OpenSim.Tests.Common
33{ 34{
@@ -56,5 +57,15 @@ namespace OpenSim.Tests.Common
56 Console.WriteLine(); 57 Console.WriteLine();
57 Console.WriteLine("===> In Test Method : {0} <===", stackTrace.GetFrame(1).GetMethod().Name); 58 Console.WriteLine("===> In Test Method : {0} <===", stackTrace.GetFrame(1).GetMethod().Name);
58 } 59 }
60
61 /// <summary>
62 /// Parse tail section into full UUID.
63 /// </summary>
64 /// <param name="tail"></param>
65 /// <returns></returns>
66 public static UUID ParseTail(int tail)
67 {
68 return new UUID(string.Format("00000000-0000-0000-0000-{0:X12}", tail));
69 }
59 } 70 }
60} 71}