OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Attributes | List of all members
OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests Class Reference
Inheritance diagram for OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests:
Collaboration graph
[legend]

Public Member Functions

override void SetUp ()
 
void TestOrder ()
 Test that the IAR has the required files in the right order. More...
 
void TestSaveRootFolderToIar ()
 
void TestSaveNonRootFolderToIar ()
 
void TestSaveItemToIar ()
 Test saving a single inventory item to an IAR (subject to change since there is no fixed format yet). More...
 
void TestSaveItemToIarNoAssets ()
 Test saving a single inventory item to an IAR without its asset More...
 
- Public Member Functions inherited from OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveTestCase
void FixtureSetup ()
 
void TearDown ()
 
override void SetUp ()
 

Protected Attributes

TestScene m_scene
 
InventoryArchiverModule m_archiverModule
 
- Protected Attributes inherited from OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveTestCase
ManualResetEvent mre = new ManualResetEvent(false)
 
byte[] m_iarStreamBytes
 A raw array of bytes that we'll use to create an IAR memory stream suitable for isolated use in each test. More...
 
MemoryStream m_iarStream
 Stream of data representing a common IAR for load tests. More...
 
UserAccount m_uaMT
 
UserAccount m_uaLL1
 
UserAccount m_uaLL2
 
string m_item1Name = "Ray Gun Item"
 
string m_coaItemName = "Coalesced Item"
 

Additional Inherited Members

- Protected Member Functions inherited from OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveTestCase
void ConstructDefaultIarBytesForTestLoad ()
 
void SaveCompleted (UUID id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException, int SaveCount, int FilterCount)
 

Detailed Description

Definition at line 49 of file InventoryArchiveSaveTests.cs.

Member Function Documentation

override void OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests.SetUp ( )
inlinevirtual

Reimplemented from OpenSim.Tests.Common.OpenSimTestCase.

Definition at line 55 of file InventoryArchiveSaveTests.cs.

void OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests.TestOrder ( )
inline

Test that the IAR has the required files in the right order.

At the moment, the only thing that matters is that the control file is the very first one.

Definition at line 73 of file InventoryArchiveSaveTests.cs.

void OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests.TestSaveItemToIar ( )
inline

Test saving a single inventory item to an IAR (subject to change since there is no fixed format yet).

Definition at line 231 of file InventoryArchiveSaveTests.cs.

Here is the call graph for this function:

void OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests.TestSaveItemToIarNoAssets ( )
inline

Test saving a single inventory item to an IAR without its asset

Definition at line 326 of file InventoryArchiveSaveTests.cs.

Here is the call graph for this function:

void OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests.TestSaveNonRootFolderToIar ( )
inline

Definition at line 147 of file InventoryArchiveSaveTests.cs.

Here is the call graph for this function:

void OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests.TestSaveRootFolderToIar ( )
inline

Definition at line 94 of file InventoryArchiveSaveTests.cs.

Here is the call graph for this function:

Member Data Documentation

InventoryArchiverModule OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests.m_archiverModule
protected

Definition at line 52 of file InventoryArchiveSaveTests.cs.

TestScene OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests.InventoryArchiveSaveTests.m_scene
protected

Definition at line 51 of file InventoryArchiveSaveTests.cs.


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