Unit test to the Database layer of NutritionDefinition. More...
Inherits Foodolini::Database::Test::DatabaseTest.
Public Member Functions | |
void | setuptest () |
creates test data. | |
void | SaveLoadTest () |
Saves a NutritionDefinition to the database and test if the object recives an ID. Load the NutritionDefinition from the database and test if the data match. | |
Private Attributes | |
NutritionDefinition | nutri |
NutritionDefinition | nutri2 |
Unit test to the Database layer of NutritionDefinition.
Definition at line 13 of file NutritionDefinitionTest.cs.
void Foodolini.Database.Test.NutritionDefinitionTest.SaveLoadTest | ( | ) |
Saves a NutritionDefinition to the database and test if the object recives an ID. Load the NutritionDefinition from the database and test if the data match.
Definition at line 37 of file NutritionDefinitionTest.cs.
void Foodolini.Database.Test.NutritionDefinitionTest.setuptest | ( | ) |
creates test data.
Definition at line 20 of file NutritionDefinitionTest.cs.
Definition at line 15 of file NutritionDefinitionTest.cs.
Definition at line 16 of file NutritionDefinitionTest.cs.