diff options
author | Dan Lake | 2011-07-11 12:23:20 -0700 |
---|---|---|
committer | Dan Lake | 2011-07-11 12:23:20 -0700 |
commit | b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a (patch) | |
tree | 8fd2fa4567e2882e7f5dafdb8cf1de571917f23a /OpenSim/Tests/Common/Helpers | |
parent | Checkin 32 bit bulletsim shared library for Linux. (diff) | |
parent | minor Tack the prim name on the end of the "experimental mesh proxy generatio... (diff) | |
download | opensim-SC-b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a.zip opensim-SC-b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a.tar.gz opensim-SC-b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a.tar.bz2 opensim-SC-b9cbe92f30c97d6b402be73c8c6fd8e6894ef05a.tar.xz |
Merge branch 'master' into bulletsim
Diffstat (limited to 'OpenSim/Tests/Common/Helpers')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/AssetHelpers.cs | 9 | ||||
-rw-r--r-- | OpenSim/Tests/Common/Helpers/SceneSetupHelpers.cs | 6 |
2 files changed, 12 insertions, 3 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> |
diff --git a/OpenSim/Tests/Common/Helpers/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneSetupHelpers.cs index bef0481..70621d5 100644 --- a/OpenSim/Tests/Common/Helpers/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/SceneSetupHelpers.cs | |||
@@ -341,9 +341,9 @@ namespace OpenSim.Tests.Common | |||
341 | /// <param name="scene"></param> | 341 | /// <param name="scene"></param> |
342 | /// <param name="agentId"></param> | 342 | /// <param name="agentId"></param> |
343 | /// <returns></returns> | 343 | /// <returns></returns> |
344 | public static TestClient AddRootAgent(Scene scene, UUID agentId) | 344 | public static TestClient AddClient(Scene scene, UUID agentId) |
345 | { | 345 | { |
346 | return AddRootAgent(scene, GenerateAgentData(agentId)); | 346 | return AddClient(scene, GenerateAgentData(agentId)); |
347 | } | 347 | } |
348 | 348 | ||
349 | /// <summary> | 349 | /// <summary> |
@@ -364,7 +364,7 @@ namespace OpenSim.Tests.Common | |||
364 | /// <param name="scene"></param> | 364 | /// <param name="scene"></param> |
365 | /// <param name="agentData"></param> | 365 | /// <param name="agentData"></param> |
366 | /// <returns></returns> | 366 | /// <returns></returns> |
367 | public static TestClient AddRootAgent(Scene scene, AgentCircuitData agentData) | 367 | public static TestClient AddClient(Scene scene, AgentCircuitData agentData) |
368 | { | 368 | { |
369 | string reason; | 369 | string reason; |
370 | 370 | ||