C# Class Zetbox.API.AbstractConsumerTests.ProjectDataFixture

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

Méthodes publiques

Méthode 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 méthode

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

DeleteData() public static méthode

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

SetUp() public méthode

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