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

In memory asset data plugin for test purposes. Could be another dll when properly filled out and when the mono addin plugin system starts co-operating with the unit test system. Currently no locking since unit tests are single threaded. More...

Inheritance diagram for OpenSim.Tests.Common.MockAssetDataPlugin:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Tests.Common.MockAssetDataPlugin:
Collaboration graph
[legend]

Public Member Functions

void Initialise ()
 Default-initialises the plugin More...
 
void Initialise (string connect)
 
void Dispose ()
 
AssetBase GetAsset (UUID uuid)
 
bool StoreAsset (AssetBase asset)
 
List< AssetMetadataFetchAssetMetadataSet (int start, int count)
 
bool Delete (string id)
 
- Public Member Functions inherited from OpenSim.Tests.Common.BaseAssetRepository
AssetBase FetchAsset (UUID uuid)
 
void CreateAsset (AssetBase asset)
 
void UpdateAsset (AssetBase asset)
 
bool[] AssetsExist (UUID[] uuids)
 
- Public Member Functions inherited from OpenSim.Data.IAssetDataPlugin
bool[] AssetsExist (UUID[] uuids)
 

Properties

string Version [get]
 
string Name [get]
 
- Properties inherited from OpenSim.Framework.IPlugin
string Version [get]
 Returns the plugin version More...
 
string Name [get]
 Returns the plugin name More...
 

Additional Inherited Members

- Protected Attributes inherited from OpenSim.Tests.Common.BaseAssetRepository
Dictionary< UUID, AssetBaseAssets = new Dictionary<UUID, AssetBase>()
 

Detailed Description

In memory asset data plugin for test purposes. Could be another dll when properly filled out and when the mono addin plugin system starts co-operating with the unit test system. Currently no locking since unit tests are single threaded.

Definition at line 41 of file MockAssetDataPlugin.cs.

Member Function Documentation

bool OpenSim.Tests.Common.MockAssetDataPlugin.Delete ( string  id)
inline

Implements OpenSim.Data.IAssetDataPlugin.

Definition at line 65 of file MockAssetDataPlugin.cs.

void OpenSim.Tests.Common.MockAssetDataPlugin.Dispose ( )
inline

Definition at line 48 of file MockAssetDataPlugin.cs.

List<AssetMetadata> OpenSim.Tests.Common.MockAssetDataPlugin.FetchAssetMetadataSet ( int  start,
int  count 
)
inline

Implements OpenSim.Data.IAssetDataPlugin.

Definition at line 63 of file MockAssetDataPlugin.cs.

AssetBase OpenSim.Tests.Common.MockAssetDataPlugin.GetAsset ( UUID  uuid)
inline

Implements OpenSim.Data.IAssetDataPlugin.

Definition at line 52 of file MockAssetDataPlugin.cs.

void OpenSim.Tests.Common.MockAssetDataPlugin.Initialise ( )
inline

Default-initialises the plugin

Implements OpenSim.Framework.IPlugin.

Definition at line 46 of file MockAssetDataPlugin.cs.

void OpenSim.Tests.Common.MockAssetDataPlugin.Initialise ( string  connect)
inline

Implements OpenSim.Data.IAssetDataPlugin.

Definition at line 47 of file MockAssetDataPlugin.cs.

bool OpenSim.Tests.Common.MockAssetDataPlugin.StoreAsset ( AssetBase  asset)
inline

Implements OpenSim.Data.IAssetDataPlugin.

Definition at line 57 of file MockAssetDataPlugin.cs.

Property Documentation

string OpenSim.Tests.Common.MockAssetDataPlugin.Name
get

Definition at line 44 of file MockAssetDataPlugin.cs.

string OpenSim.Tests.Common.MockAssetDataPlugin.Version
get

Definition at line 43 of file MockAssetDataPlugin.cs.


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