OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
OpenSim.Tests.Common.AssetHelpers Class Reference

Static Public Member Functions

static AssetBase CreateNotecardAsset ()
 Create a notecard asset with a random uuids and dummy text. More...
 
static AssetBase CreateNotecardAsset (UUID assetId)
 Create a notecard asset with dummy text and a random owner. More...
 
static AssetBase CreateNotecardAsset (UUID assetId, string text)
 Create a notecard asset with a random owner. More...
 
static AssetBase CreateAsset (int assetUuidTail, SceneObjectGroup sog)
 Create an asset from the given object. More...
 
static AssetBase CreateAsset (UUID assetUuid, SceneObjectGroup sog)
 Create an asset from the given object. More...
 
static AssetBase CreateAsset (int assetUuidTail, CoalescedSceneObjects coa)
 Create an asset from the given scene object. More...
 
static AssetBase CreateAsset (UUID assetUuid, CoalescedSceneObjects coa)
 Create an asset from the given scene object. More...
 
static AssetBase CreateAsset (UUID assetUuid, AssetType assetType, string text, UUID creatorID)
 Create an asset from the given data. More...
 
static AssetBase CreateAsset (UUID assetUuid, AssetType assetType, byte[] data, UUID creatorID)
 Create an asset from the given data. More...
 
static string ReadAssetAsString (IAssetService assetService, UUID uuid)
 

Detailed Description

Definition at line 38 of file AssetHelpers.cs.

Member Function Documentation

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateAsset ( int  assetUuidTail,
SceneObjectGroup  sog 
)
inlinestatic

Create an asset from the given object.

Parameters
assetUuidTailThe hexadecimal last part of the UUID for the asset created. A UUID of the form "00000000-0000-0000-0000-{0:XD12}" will be used.
sog
Returns

Definition at line 91 of file AssetHelpers.cs.

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateAsset ( UUID  assetUuid,
SceneObjectGroup  sog 
)
inlinestatic

Create an asset from the given object.

Parameters
assetUuid
sog
Returns

Definition at line 102 of file AssetHelpers.cs.

Here is the call graph for this function:

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateAsset ( int  assetUuidTail,
CoalescedSceneObjects  coa 
)
inlinestatic

Create an asset from the given scene object.

Parameters
assetUuidTailThe hexadecimal last part of the UUID for the asset created. A UUID of the form "00000000-0000-0000-0000-{0:XD12}" will be used.
coa
Returns

Definition at line 120 of file AssetHelpers.cs.

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateAsset ( UUID  assetUuid,
CoalescedSceneObjects  coa 
)
inlinestatic

Create an asset from the given scene object.

Parameters
assetUuid
coa
Returns

Definition at line 131 of file AssetHelpers.cs.

Here is the call graph for this function:

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateAsset ( UUID  assetUuid,
AssetType  assetType,
string  text,
UUID  creatorID 
)
inlinestatic

Create an asset from the given data.

Definition at line 143 of file AssetHelpers.cs.

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateAsset ( UUID  assetUuid,
AssetType  assetType,
byte[]  data,
UUID  creatorID 
)
inlinestatic

Create an asset from the given data.

Definition at line 155 of file AssetHelpers.cs.

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateNotecardAsset ( )
inlinestatic

Create a notecard asset with a random uuids and dummy text.

Returns

Definition at line 44 of file AssetHelpers.cs.

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateNotecardAsset ( UUID  assetId)
inlinestatic

Create a notecard asset with dummy text and a random owner.

Parameters
assetId/param>
Returns

Definition at line 54 of file AssetHelpers.cs.

static AssetBase OpenSim.Tests.Common.AssetHelpers.CreateNotecardAsset ( UUID  assetId,
string  text 
)
inlinestatic

Create a notecard asset with a random owner.

Parameters
assetId/param>
Parameters
text
Returns

Definition at line 65 of file AssetHelpers.cs.

static string OpenSim.Tests.Common.AssetHelpers.ReadAssetAsString ( IAssetService  assetService,
UUID  uuid 
)
inlinestatic

Definition at line 162 of file AssetHelpers.cs.


The documentation for this class was generated from the following file: