aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorMelanie2011-10-25 03:19:10 +0100
committerMelanie2011-10-25 03:19:10 +0100
commit02f0aa592d665c7bd7526a077e97cf2637a259f6 (patch)
tree966d5bb4535a76bd422b5841d3b2c0fccc8495cb /OpenSim/Tests
parentMerge commit '30320505fa54640baf4ecaff8bb743f62ef01f86' into bigmerge (diff)
parentGet UUIDGatherer to scan notecards in the graph for asset uuids. (diff)
downloadopensim-SC-02f0aa592d665c7bd7526a077e97cf2637a259f6.zip
opensim-SC-02f0aa592d665c7bd7526a077e97cf2637a259f6.tar.gz
opensim-SC-02f0aa592d665c7bd7526a077e97cf2637a259f6.tar.bz2
opensim-SC-02f0aa592d665c7bd7526a077e97cf2637a259f6.tar.xz
Merge commit 'ffdf59a57c936189e3b161b79b4a76a3a9b260bb' into bigmerge
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/Helpers/AssetHelpers.cs17
1 files changed, 14 insertions, 3 deletions
diff --git a/OpenSim/Tests/Common/Helpers/AssetHelpers.cs b/OpenSim/Tests/Common/Helpers/AssetHelpers.cs
index efeb973..7af8bed 100644
--- a/OpenSim/Tests/Common/Helpers/AssetHelpers.cs
+++ b/OpenSim/Tests/Common/Helpers/AssetHelpers.cs
@@ -47,13 +47,24 @@ namespace OpenSim.Tests.Common
47 } 47 }
48 48
49 /// <summary> 49 /// <summary>
50 /// Create a notecard asset with a random uuid and dummy text. 50 /// Create a notecard asset with dummy text and a random owner.
51 /// </summary> 51 /// </summary>
52 /// <param name="assetId">/param> 52 /// <param name="assetId">/param>
53 /// <returns></returns> 53 /// <returns></returns>
54 public static AssetBase CreateNotecardAsset(UUID id) 54 public static AssetBase CreateNotecardAsset(UUID assetId)
55 { 55 {
56 return CreateAsset(id, AssetType.Notecard, "hello", UUID.Random()); 56 return CreateNotecardAsset(assetId, "hello");
57 }
58
59 /// <summary>
60 /// Create a notecard asset with a random owner.
61 /// </summary>
62 /// <param name="assetId">/param>
63 /// <param name="text"></param>
64 /// <returns></returns>
65 public static AssetBase CreateNotecardAsset(UUID assetId, string text)
66 {
67 return CreateAsset(assetId, AssetType.Notecard, text, UUID.Random());
57 } 68 }
58 69
59// /// <summary> 70// /// <summary>