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.
Public Member Functions | |
void | SetCreateTestDatabase () |
Creates the database used in the logic tests. | |
void | DeleteTestDatabase () |
Delete the database used in the logic tests. |
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.
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.