Escali License control 1
|
RegionService Testing Environment Mer...
Public medlemsfunksjoner | |
async void | GetAllRegions_ContainingSameCountry () |
Passes if regionlist is not empty after inserting Mer... | |
async void | FindRegionById_CityEqualsOsloAndSecondEntryIsBergen () |
Passes if retrieving regionlist is not empty and arenames of entries in regionlist is what is expected Mer... | |
async void | UpdateRegion_FindRegionByIdAndUpdateCity () |
Passes if regionlist is notempty and region with id is found and the updated region has new expected name Mer... | |
Private medlemsfunksjoner | |
async Task< DataContext > | InsertData (DataContext context) |
Inserts two regions into the context Mer... | |
RegionService Testing Environment
Definisjon på linje 14 i filen RegionServiceTest.cs.
async void Escali.LicenseControl.DataAccess.Tests.Services.RegionServicetest.FindRegionById_CityEqualsOsloAndSecondEntryIsBergen | ( | ) |
Passes if retrieving regionlist is not empty and arenames of entries in regionlist is what is expected
Definisjon på linje 52 i filen RegionServiceTest.cs.
async void Escali.LicenseControl.DataAccess.Tests.Services.RegionServicetest.GetAllRegions_ContainingSameCountry | ( | ) |
Passes if regionlist is not empty after inserting
Definisjon på linje 33 i filen RegionServiceTest.cs.
|
private |
Inserts two regions into the context
context | DataContext |
Definisjon på linje 21 i filen RegionServiceTest.cs.
async void Escali.LicenseControl.DataAccess.Tests.Services.RegionServicetest.UpdateRegion_FindRegionByIdAndUpdateCity | ( | ) |
Passes if regionlist is notempty and region with id is found and the updated region has new expected name
Definisjon på linje 70 i filen RegionServiceTest.cs.