diff options
author | Justin Clark-Casey (justincc) | 2011-10-22 00:58:56 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-22 00:58:56 +0100 |
commit | 30320505fa54640baf4ecaff8bb743f62ef01f86 (patch) | |
tree | 5721e027a330b55d23d6f4a04c85242460c4b7f1 /OpenSim/Tests/Common/Helpers/AssetHelpers.cs | |
parent | correct misleading method doc on CreateNotecardAsset() (diff) | |
download | opensim-SC-30320505fa54640baf4ecaff8bb743f62ef01f86.zip opensim-SC-30320505fa54640baf4ecaff8bb743f62ef01f86.tar.gz opensim-SC-30320505fa54640baf4ecaff8bb743f62ef01f86.tar.bz2 opensim-SC-30320505fa54640baf4ecaff8bb743f62ef01f86.tar.xz |
redirect UserInventoryHelpers to use a different CreateNotecardAsset() so we can comment out some inconsistency
Diffstat (limited to 'OpenSim/Tests/Common/Helpers/AssetHelpers.cs')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/AssetHelpers.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Tests/Common/Helpers/AssetHelpers.cs b/OpenSim/Tests/Common/Helpers/AssetHelpers.cs index f5db0f7..efeb973 100644 --- a/OpenSim/Tests/Common/Helpers/AssetHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/AssetHelpers.cs | |||
@@ -56,17 +56,17 @@ namespace OpenSim.Tests.Common | |||
56 | return CreateAsset(id, AssetType.Notecard, "hello", UUID.Random()); | 56 | return CreateAsset(id, AssetType.Notecard, "hello", UUID.Random()); |
57 | } | 57 | } |
58 | 58 | ||
59 | /// <summary> | 59 | // /// <summary> |
60 | /// Create and store a notecard asset with a random uuid and dummy text. | 60 | // /// Create and store a notecard asset with a random uuid and dummy text. |
61 | /// </summary> | 61 | // /// </summary> |
62 | /// <param name="creatorId">/param> | 62 | // /// <param name="creatorId">/param> |
63 | /// <returns></returns> | 63 | // /// <returns></returns> |
64 | public static AssetBase CreateNotecardAsset(Scene scene, UUID creatorId) | 64 | // public static AssetBase CreateNotecardAsset(Scene scene, UUID creatorId) |
65 | { | 65 | // { |
66 | AssetBase asset = CreateAsset(UUID.Random(), AssetType.Notecard, "hello", creatorId); | 66 | // AssetBase asset = CreateAsset(UUID.Random(), AssetType.Notecard, "hello", creatorId); |
67 | scene.AssetService.Store(asset); | 67 | // scene.AssetService.Store(asset); |
68 | return asset; | 68 | // return asset; |
69 | } | 69 | // } |
70 | 70 | ||
71 | /// <summary> | 71 | /// <summary> |
72 | /// Create an asset from the given object. | 72 | /// Create an asset from the given object. |