public void GeoNames_Toponym_StringProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <Toponym, string> > > { { "name", p => p.Name }, { "toponymName", p => p.ToponymName }, { "fcl", p => p.FeatureClassCode }, { "fclName", p => p.FeatureClassName }, { "fcode", p => p.FeatureCode }, { "fcodeName", p => p.FeatureName }, { "continentCode", p => p.ContinentCode }, { "countryCode", p => p.CountryCode }, { "countryName", p => p.CountryName }, { "adminCode1", p => p.Admin1Code }, { "adminName1", p => p.Admin1Name }, { "adminCode2", p => p.Admin2Code }, { "adminName2", p => p.Admin2Name }, { "adminCode3", p => p.Admin3Code }, { "adminName3", p => p.Admin3Name }, { "adminCode4", p => p.Admin4Code }, { "adminName4", p => p.Admin4Name }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlace_BoundingBox_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<JsonPlace, BoundingBox>>> { { "boundingBox", p => p.BoundingBox }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlace_Center_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<JsonPlace, Point>>> { { "centroid", p => p.Center }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlaceTypeAttributes_Code_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<JsonPlaceTypeAttributes, int>>> { { "code", p => p.Code }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlaceType_JsonAttributes_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<JsonPlaceType, JsonPlaceTypeAttributes>>> { { "placeTypeName attrs", p => p.JsonAttributes }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlaceType_Uri_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<JsonPlaceType, Uri>>> { { "uri", p => p.Uri }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonLocalityAttributes_Type_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<JsonLocalityAttributes, string>>> { { "type", p => p.Type }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Result_BoundingBox_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<Result, BoundingBox>>> { { "boundingbox", p => p.BoundingBox }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_PostalCodedCountry_NullableIntProperties_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<PostalCodedCountry, int?>>> { { "numPostalCodes", p => p.NumberOfPostalCodes }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Result_BoundingBox_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <Result, BoundingBox> > > { { "boundingbox", p => p.BoundingBox }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_ResultSet_Items_ShouldHaveDataContractAttribute() { var properties = new Dictionary <string, Expression <Func <ResultSet, List <Result> > > > { { "Results", p => p.ResultsList }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_TimeZone_Id_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <TimeZone, string> > > { { "timeZoneId", p => p.Id }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Results_Items_ShouldHaveDataMemberAttribute() { var genericListProperties = new Dictionary <string, Expression <Func <Results <object>, List <object> > > > { { "geonames", p => p.Items }, }; genericListProperties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlaceTypeAttributes_Code_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <JsonPlaceTypeAttributes, int> > > { { "code", p => p.Code }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Country_Population_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<Country, long>>> { { "population", p => p.Population }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_PostalCodedCountry_NullableIntProperties_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <PostalCodedCountry, int?> > > { { "numPostalCodes", p => p.NumberOfPostalCodes }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Toponym_TimeZone_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <Toponym, TimeZone> > > { { "timezone", p => p.TimeZone }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Response_Results_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<Response, ResultSet>>> { { "ResultSet", p => p.ResultSet }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlaceType_Uri_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <JsonPlaceType, Uri> > > { { "uri", p => p.Uri }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlace_BoundingBox_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <JsonPlace, BoundingBox> > > { { "boundingBox", p => p.BoundingBox }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Toponym_AlternateNamesList_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <Toponym, ICollection <AlternateName> > > > { { "alternateNames", p => p.AlternateNamesList }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonLocalityAttributes_Type_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <JsonLocalityAttributes, string> > > { { "type", p => p.Type }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Country_NullableIntProperties_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <Country, int?> > > { { "isoNumeric", p => p.IsoNumericCode }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Country_GeoNameId_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <Country, int> > > { { "geonameId", p => p.GeoNameId }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlace_Center_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <JsonPlace, Point> > > { { "centroid", p => p.Center }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_Point_StringProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<Point, double>>> { { "latitude", p => p.Latitude }, { "longitude", p => p.Longitude }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Results_Size_ShouldHaveDataMemberAttribute() { var nullableIntProperties = new Dictionary <string, Expression <Func <Results <object>, int?> > > { { "totalResultsCount", p => p.Size }, }; nullableIntProperties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_BoundingBox_PointProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<BoundingBox, Point>>> { { "southWest", p => p.Southwest }, { "northEast", p => p.Northeast }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Hierarchy_Items_ShouldHaveDataMemberAttribute() { var genericListProperties = new Dictionary <string, Expression <Func <Hierarchy, List <Toponym> > > > { { "geonames", p => p.ItemsList }, }; genericListProperties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_PostalCodeResults_Items_ShouldHaveDataMemberAttribute() { var genericListProperties = new Dictionary <string, Expression <Func <PostalCodeResults, List <PostalCode> > > > { { "postalcodes", p => p.Items }, }; genericListProperties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonAdminAttributes_StringProperties_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<JsonAdminAttributes, string>>> { { "code", p => p.Code }, { "type", p => p.Type }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Country_NullableIntProperties_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<Country, int?>>> { { "isoNumeric", p => p.IsoNumericCode }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Toponym_GeoNameId_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<Toponym, int>>> { { "geonameId", p => p.GeoNameId }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Country_Population_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <Country, long> > > { { "population", p => p.Population }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Toponym_AlternateNamesList_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<Toponym, ICollection<AlternateName>>>> { { "alternateNames", p => p.AlternateNamesList }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_TimeZone_Id_ShouldHaveDataMemberAttribute() { var properties = new Dictionary<string, Expression<Func<TimeZone, string>>> { { "timeZoneId", p => p.Id }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlaceType_JsonAttributes_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <JsonPlaceType, JsonPlaceTypeAttributes> > > { { "placeTypeName attrs", p => p.JsonAttributes }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Response_Results_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <Response, ResultSet> > > { { "ResultSet", p => p.ResultSet }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlace_JsonLocalityAttributes_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<JsonPlace, JsonLocalityAttributes>>> { { "locality1 attrs", p => p.Locality1 }, { "locality2 attrs", p => p.Locality2 }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_Point_StringProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <Point, double> > > { { "latitude", p => p.Latitude }, { "longitude", p => p.Longitude }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Toponym_DoubleProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<Toponym, double>>> { { "lat", p => p.Latitude }, { "lng", p => p.Longitude }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_TimeZone_OffsetProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<TimeZone, double>>> { { "dstOffset", p => p.DstOffset }, { "gmtOffset", p => p.GmtOffset }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_ConcordanceResponse_StringProperties_ShouldHaveDataContractAttribute() { var properties = new Dictionary<string, Expression<Func<ConcordanceResponse, string>>> { { "iso", p => p.Iso }, { "fips10", p => p.Fips10 }, { "cctld", p => p.IanaTld }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_BoundingBox_PointProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <BoundingBox, Point> > > { { "southWest", p => p.Southwest }, { "northEast", p => p.Northeast }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Toponym_NullableIntProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<Toponym, int?>>> { { "numberOfChildren", p => p.ChildCount }, { "elevation", p => p.Elevation }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_PostalCode_DoubleProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <PostalCode, double> > > { { "lat", p => p.Latitude }, { "lng", p => p.Longitude }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Result_NullableDoubleProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <Result, double?> > > { { "offsetlat", p => p.OffsetLatitude }, { "offsetlon", p => p.OffsetLongitude }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Result_DoubleProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <Result, double> > > { { "latitude", p => p.Latitude }, { "longitude", p => p.Longitude }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Result_DoubleProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<Result, double>>> { { "latitude", p => p.Latitude }, { "longitude", p => p.Longitude }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_AlternateName_StringProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <AlternateName, string> > > { { "name", p => p.Name }, { "lang", p => p.Language }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonAdminAttributes_StringProperties_ShouldHaveDataMemberAttribute() { var properties = new Dictionary <string, Expression <Func <JsonAdminAttributes, string> > > { { "code", p => p.Code }, { "type", p => p.Type }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlace_IntProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<JsonPlace, int>>> { { "woeid", p => p.WoeId }, { "areaRank", p => p.AreaRank }, { "popRank", p => p.PopulationRank }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Result_NullableDoubleProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<Result, double?>>> { { "offsetlat", p => p.OffsetLatitude }, { "offsetlon", p => p.OffsetLongitude }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlace_JsonLocalityAttributes_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <JsonPlace, JsonLocalityAttributes> > > { { "locality1 attrs", p => p.Locality1 }, { "locality2 attrs", p => p.Locality2 }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlaceType_StringProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<JsonPlaceType, string>>> { { "lang", p => p.Language }, { "placeTypeName", p => p.Name }, { "placeTypeDescription", p => p.Description }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_Toponym_NullableIntProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary <string, Expression <Func <Toponym, int?> > > { { "numberOfChildren", p => p.ChildCount }, { "elevation", p => p.Elevation }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_PlaceFinder_Result_IntProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<Result, int>>> { { "quality", p => p.Quality }, { "radius", p => p.RadiusInMeters }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_AlternateName_StringProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<AlternateName, string>>> { { "name", p => p.Name }, { "lang", p => p.Language }, }; properties.ShouldHaveDataMemberAttributes(); }
public void Yahoo_GeoPlanet_JsonPlace_JsonAdminAttributes_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<JsonPlace, JsonAdminAttributes>>> { { "country attrs", p => p.Country }, { "admin1 attrs", p => p.Admin1 }, { "admin2 attrs", p => p.Admin2 }, { "admin3 attrs", p => p.Admin3 }, }; properties.ShouldHaveDataMemberAttributes(); }
public void GeoNames_NearbyPostalCode_DoubleProperties_ShouldHaveDataMemberAttributes() { var properties = new Dictionary<string, Expression<Func<NearbyPostalCode, double>>> { { "lat", p => p.Latitude }, { "lng", p => p.Longitude }, { "distance", p => p.Distance }, }; properties.ShouldHaveDataMemberAttributes(); }