C# Class Zetbox.API.AbstractConsumerTests.ProjectDataFixture

This fixture creates a set of Kunden, Projekte, Mitarbeiter and Tasks for testing.
Inheritance: AbstractTestFixture
Mostra file Open project: daszat/zetbox Class Usage Examples

Public Methods

Method Description
CreateTestData ( IZetboxContext ctx ) : void

Creates a few new test objects

DeleteData ( IZetboxContext ctx ) : void

Deletes all remaining test objects.

SetUp ( ) : void

Deletes all existing test data and creates new objects.

Method Details

CreateTestData() public static method

Creates a few new test objects
public static CreateTestData ( IZetboxContext ctx ) : void
ctx IZetboxContext this context is used to create the objects
return void

DeleteData() public static method

Deletes all remaining test objects.
public static DeleteData ( IZetboxContext ctx ) : void
ctx IZetboxContext this context is used to delete the objects
return void

SetUp() public method

Deletes all existing test data and creates new objects.
public SetUp ( ) : void
return void