diff options
author | Justin Clark-Casey (justincc) | 2011-07-04 21:35:15 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-04 21:35:15 +0100 |
commit | 46f5893d559f87982e510d02a37856951eb1e088 (patch) | |
tree | 5a16d3f569b7ad740db59d6b2a497f0bda8a5573 /OpenSim/Tests/Common/Helpers | |
parent | If a user has the rights to edit a parcel's properties, then also allow them ... (diff) | |
download | opensim-SC-46f5893d559f87982e510d02a37856951eb1e088.zip opensim-SC-46f5893d559f87982e510d02a37856951eb1e088.tar.gz opensim-SC-46f5893d559f87982e510d02a37856951eb1e088.tar.bz2 opensim-SC-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 'OpenSim/Tests/Common/Helpers')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/AssetHelpers.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Helpers/AssetHelpers.cs b/OpenSim/Tests/Common/Helpers/AssetHelpers.cs index aa55bcd..9b68331 100644 --- a/OpenSim/Tests/Common/Helpers/AssetHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/AssetHelpers.cs | |||
@@ -37,6 +37,15 @@ namespace OpenSim.Tests.Common | |||
37 | public class AssetHelpers | 37 | public class AssetHelpers |
38 | { | 38 | { |
39 | /// <summary> | 39 | /// <summary> |
40 | /// Create a notecard asset with a random uuids and dummy text. | ||
41 | /// </summary> | ||
42 | /// <returns></returns> | ||
43 | public static AssetBase CreateAsset() | ||
44 | { | ||
45 | return CreateAsset(UUID.Random(), AssetType.Notecard, "hello", UUID.Random()); | ||
46 | } | ||
47 | |||
48 | /// <summary> | ||
40 | /// Create a notecard asset with a random uuid and dummy text. | 49 | /// Create a notecard asset with a random uuid and dummy text. |
41 | /// </summary> | 50 | /// </summary> |
42 | /// <param name="creatorId">/param> | 51 | /// <param name="creatorId">/param> |