Foodolini.BusinessLogic.Test.LogicTest Class Reference

Abstract class for all nUnit tests that tests the Foodolini.BusinessLogic component. More...

Inherited by Foodolini.BusinessLogic.Test.FoodItemTest, Foodolini.BusinessLogic.Test.IngredientTest, Foodolini.BusinessLogic.Test.PersonTest, Foodolini.BusinessLogic.Test.RecipeTest, and Foodolini.BusinessLogic.Test.SportsActivityTest.

List of all members.

Public Member Functions

void SetCreateTestDatabase ()
 Creates the database used in the logic tests.
void DeleteTestDatabase ()
 Delete the database used in the logic tests.

Detailed Description

Abstract class for all nUnit tests that tests the Foodolini.BusinessLogic component.

At SetUp this initializes Settings.Instance to a test database with commit disabled. At TearDown it disposes Settings.Instance

Definition at line 18 of file LogicTest.cs.


Member Function Documentation

void Foodolini.BusinessLogic.Test.LogicTest.DeleteTestDatabase (  ) 

Delete the database used in the logic tests.

Definition at line 36 of file LogicTest.cs.

void Foodolini.BusinessLogic.Test.LogicTest.SetCreateTestDatabase (  ) 

Creates the database used in the logic tests.

Definition at line 24 of file LogicTest.cs.


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

Foodolini 1.0.0 Documentation, generated with DoxyGen.