aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
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>