public void t_Site_Select_ByCodeName() { Location_ado location = null; // backdoor data setup DbTestHelper.LoadAdoObjects(delegate(IbaUnitTestEntities iba) { location = Location_ado.CreateLocation_ado(new Guid("87606168-3ac7-402a-8ae6-4f6905555581"), "locationName", LookupConstants.LocationTypeSite); location.CodeName = "abc"; location.Latitude = 89.3M; location.Longitude = 90.10093M; location.ParentLocationId = null; iba.AddToLocation_ado(location); }); DbTestHelper.LoadExtraneousLocations(); // Exercise the test Site site = SiteMapper.Select_ByCodeName(location.CodeName); validateResults(location, site); }
public void t_Site_Select_ByCodeName_Long() { // Exercise the test Site site = SiteMapper.Select_ByCodeName("01234567890"); }
public void t_Site_Select_ByCodeName_EmptyString() { // Exercise the test Site site = SiteMapper.Select_ByCodeName(string.Empty); }
public void t_Site_Select_ByCodeName_Null() { // Exercise the test Site site = SiteMapper.Select_ByCodeName(null); }