|
|
|
@ -9,101 +9,101 @@ var common = {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
var tests = [ |
|
|
|
|
// require('./app'),
|
|
|
|
|
// require('./schema'),
|
|
|
|
|
// require('./controller/coarse_reverse'),
|
|
|
|
|
// require('./controller/index'),
|
|
|
|
|
// require('./controller/libpostal'),
|
|
|
|
|
// require('./controller/place'),
|
|
|
|
|
// require('./controller/placeholder'),
|
|
|
|
|
// require('./controller/search'),
|
|
|
|
|
// require('./controller/search_with_ids'),
|
|
|
|
|
// require('./controller/predicates/has_parsed_text_properties'),
|
|
|
|
|
// require('./controller/predicates/has_request_parameter'),
|
|
|
|
|
// require('./controller/predicates/has_response_data'),
|
|
|
|
|
// require('./controller/predicates/has_results_at_layers'),
|
|
|
|
|
// require('./controller/predicates/has_request_parameter'),
|
|
|
|
|
// require('./controller/predicates/has_request_errors'),
|
|
|
|
|
// require('./controller/predicates/is_addressit_parse'),
|
|
|
|
|
// require('./controller/predicates/is_admin_only_analysis'),
|
|
|
|
|
// require('./controller/predicates/is_coarse_reverse'),
|
|
|
|
|
// require('./controller/predicates/is_only_non_admin_layers'),
|
|
|
|
|
// require('./controller/predicates/is_request_sources_only_whosonfirst'),
|
|
|
|
|
// require('./helper/debug'),
|
|
|
|
|
// require('./helper/diffPlaces'),
|
|
|
|
|
// require('./helper/geojsonify_place_details'),
|
|
|
|
|
// require('./helper/geojsonify'),
|
|
|
|
|
// require('./helper/logging'),
|
|
|
|
|
// require('./helper/type_mapping'),
|
|
|
|
|
// require('./helper/sizeCalculator'),
|
|
|
|
|
// require('./helper/stackTraceLine'),
|
|
|
|
|
// require('./middleware/access_log'),
|
|
|
|
|
// require('./middleware/accuracy'),
|
|
|
|
|
// require('./middleware/assignLabels'),
|
|
|
|
|
// require('./middleware/confidenceScore'),
|
|
|
|
|
// require('./middleware/confidenceScoreFallback'),
|
|
|
|
|
// require('./middleware/confidenceScoreReverse'),
|
|
|
|
|
// require('./middleware/changeLanguage'),
|
|
|
|
|
// require('./middleware/distance'),
|
|
|
|
|
// require('./middleware/interpolate'),
|
|
|
|
|
// require('./middleware/localNamingConventions'),
|
|
|
|
|
// require('./middleware/dedupe'),
|
|
|
|
|
// require('./middleware/parseBBox'),
|
|
|
|
|
// require('./middleware/sendJSON'),
|
|
|
|
|
// require('./middleware/normalizeParentIds'),
|
|
|
|
|
// require('./middleware/sortResponseData'),
|
|
|
|
|
// require('./middleware/trimByGranularity'),
|
|
|
|
|
// require('./middleware/trimByGranularityStructured'),
|
|
|
|
|
// require('./middleware/requestLanguage'),
|
|
|
|
|
// require('./query/address_search_using_ids'),
|
|
|
|
|
// require('./query/autocomplete'),
|
|
|
|
|
// require('./query/autocomplete_defaults'),
|
|
|
|
|
// require('./query/search_defaults'),
|
|
|
|
|
// require('./query/reverse_defaults'),
|
|
|
|
|
require('./app'), |
|
|
|
|
require('./schema'), |
|
|
|
|
require('./controller/coarse_reverse'), |
|
|
|
|
require('./controller/index'), |
|
|
|
|
require('./controller/libpostal'), |
|
|
|
|
require('./controller/place'), |
|
|
|
|
require('./controller/placeholder'), |
|
|
|
|
require('./controller/search'), |
|
|
|
|
require('./controller/search_with_ids'), |
|
|
|
|
require('./controller/predicates/has_parsed_text_properties'), |
|
|
|
|
require('./controller/predicates/has_request_parameter'), |
|
|
|
|
require('./controller/predicates/has_response_data'), |
|
|
|
|
require('./controller/predicates/has_results_at_layers'), |
|
|
|
|
require('./controller/predicates/has_request_parameter'), |
|
|
|
|
require('./controller/predicates/has_request_errors'), |
|
|
|
|
require('./controller/predicates/is_addressit_parse'), |
|
|
|
|
require('./controller/predicates/is_admin_only_analysis'), |
|
|
|
|
require('./controller/predicates/is_coarse_reverse'), |
|
|
|
|
require('./controller/predicates/is_only_non_admin_layers'), |
|
|
|
|
require('./controller/predicates/is_request_sources_only_whosonfirst'), |
|
|
|
|
require('./helper/debug'), |
|
|
|
|
require('./helper/diffPlaces'), |
|
|
|
|
require('./helper/geojsonify_place_details'), |
|
|
|
|
require('./helper/geojsonify'), |
|
|
|
|
require('./helper/logging'), |
|
|
|
|
require('./helper/type_mapping'), |
|
|
|
|
require('./helper/sizeCalculator'), |
|
|
|
|
require('./helper/stackTraceLine'), |
|
|
|
|
require('./middleware/access_log'), |
|
|
|
|
require('./middleware/accuracy'), |
|
|
|
|
require('./middleware/assignLabels'), |
|
|
|
|
require('./middleware/confidenceScore'), |
|
|
|
|
require('./middleware/confidenceScoreFallback'), |
|
|
|
|
require('./middleware/confidenceScoreReverse'), |
|
|
|
|
require('./middleware/changeLanguage'), |
|
|
|
|
require('./middleware/distance'), |
|
|
|
|
require('./middleware/interpolate'), |
|
|
|
|
require('./middleware/localNamingConventions'), |
|
|
|
|
require('./middleware/dedupe'), |
|
|
|
|
require('./middleware/parseBBox'), |
|
|
|
|
require('./middleware/sendJSON'), |
|
|
|
|
require('./middleware/normalizeParentIds'), |
|
|
|
|
require('./middleware/sortResponseData'), |
|
|
|
|
require('./middleware/trimByGranularity'), |
|
|
|
|
require('./middleware/trimByGranularityStructured'), |
|
|
|
|
require('./middleware/requestLanguage'), |
|
|
|
|
require('./query/address_search_using_ids'), |
|
|
|
|
require('./query/autocomplete'), |
|
|
|
|
require('./query/autocomplete_defaults'), |
|
|
|
|
require('./query/search_defaults'), |
|
|
|
|
require('./query/reverse_defaults'), |
|
|
|
|
require('./query/reverse'), |
|
|
|
|
// require('./query/search'),
|
|
|
|
|
// require('./query/search_original'),
|
|
|
|
|
// require('./query/structured_geocoding'),
|
|
|
|
|
// require('./query/text_parser'),
|
|
|
|
|
// require('./sanitizer/_boundary_country'),
|
|
|
|
|
// require('./sanitizer/_debug'),
|
|
|
|
|
// require('./sanitizer/_flag_bool'),
|
|
|
|
|
// require('./sanitizer/_geonames_deprecation'),
|
|
|
|
|
// require('./sanitizer/_geonames_warnings'),
|
|
|
|
|
// require('./sanitizer/_geo_common'),
|
|
|
|
|
// require('./sanitizer/_geo_reverse'),
|
|
|
|
|
// require('./sanitizer/_groups'),
|
|
|
|
|
// require('./sanitizer/_ids'),
|
|
|
|
|
// require('./sanitizer/_iso2_to_iso3'),
|
|
|
|
|
// require('./sanitizer/_layers'),
|
|
|
|
|
// require('./sanitizer/_location_bias'),
|
|
|
|
|
// require('./sanitizer/_city_name_standardizer'),
|
|
|
|
|
// require('./sanitizer/_request_language'),
|
|
|
|
|
// require('./sanitizer/_single_scalar_parameters'),
|
|
|
|
|
// require('./sanitizer/_size'),
|
|
|
|
|
// require('./sanitizer/_sources'),
|
|
|
|
|
// require('./sanitizer/_sources_and_layers'),
|
|
|
|
|
// require('./sanitizer/_synthesize_analysis'),
|
|
|
|
|
// require('./sanitizer/_text'),
|
|
|
|
|
// require('./sanitizer/_text_addressit'),
|
|
|
|
|
// require('./sanitizer/_tokenizer'),
|
|
|
|
|
// require('./sanitizer/_deprecate_quattroshapes'),
|
|
|
|
|
// require('./sanitizer/_categories'),
|
|
|
|
|
// require('./sanitizer/nearby'),
|
|
|
|
|
// require('./sanitizer/autocomplete'),
|
|
|
|
|
// require('./sanitizer/structured_geocoding'),
|
|
|
|
|
// require('./sanitizer/place'),
|
|
|
|
|
// require('./sanitizer/reverse'),
|
|
|
|
|
// require('./sanitizer/sanitizeAll'),
|
|
|
|
|
// require('./sanitizer/search'),
|
|
|
|
|
// require('./sanitizer/defer_to_addressit'),
|
|
|
|
|
// require('./sanitizer/wrap'),
|
|
|
|
|
// require('./service/configurations/Interpolation'),
|
|
|
|
|
// require('./service/configurations/Language'),
|
|
|
|
|
// require('./service/configurations/PlaceHolder'),
|
|
|
|
|
// require('./service/configurations/PointInPolygon'),
|
|
|
|
|
// require('./service/mget'),
|
|
|
|
|
// require('./service/search')
|
|
|
|
|
require('./query/search'), |
|
|
|
|
require('./query/search_original'), |
|
|
|
|
require('./query/structured_geocoding'), |
|
|
|
|
require('./query/text_parser'), |
|
|
|
|
require('./sanitizer/_boundary_country'), |
|
|
|
|
require('./sanitizer/_debug'), |
|
|
|
|
require('./sanitizer/_flag_bool'), |
|
|
|
|
require('./sanitizer/_geonames_deprecation'), |
|
|
|
|
require('./sanitizer/_geonames_warnings'), |
|
|
|
|
require('./sanitizer/_geo_common'), |
|
|
|
|
require('./sanitizer/_geo_reverse'), |
|
|
|
|
require('./sanitizer/_groups'), |
|
|
|
|
require('./sanitizer/_ids'), |
|
|
|
|
require('./sanitizer/_iso2_to_iso3'), |
|
|
|
|
require('./sanitizer/_layers'), |
|
|
|
|
require('./sanitizer/_location_bias'), |
|
|
|
|
require('./sanitizer/_city_name_standardizer'), |
|
|
|
|
require('./sanitizer/_request_language'), |
|
|
|
|
require('./sanitizer/_single_scalar_parameters'), |
|
|
|
|
require('./sanitizer/_size'), |
|
|
|
|
require('./sanitizer/_sources'), |
|
|
|
|
require('./sanitizer/_sources_and_layers'), |
|
|
|
|
require('./sanitizer/_synthesize_analysis'), |
|
|
|
|
require('./sanitizer/_text'), |
|
|
|
|
require('./sanitizer/_text_addressit'), |
|
|
|
|
require('./sanitizer/_tokenizer'), |
|
|
|
|
require('./sanitizer/_deprecate_quattroshapes'), |
|
|
|
|
require('./sanitizer/_categories'), |
|
|
|
|
require('./sanitizer/nearby'), |
|
|
|
|
require('./sanitizer/autocomplete'), |
|
|
|
|
require('./sanitizer/structured_geocoding'), |
|
|
|
|
require('./sanitizer/place'), |
|
|
|
|
require('./sanitizer/reverse'), |
|
|
|
|
require('./sanitizer/sanitizeAll'), |
|
|
|
|
require('./sanitizer/search'), |
|
|
|
|
require('./sanitizer/defer_to_addressit'), |
|
|
|
|
require('./sanitizer/wrap'), |
|
|
|
|
require('./service/configurations/Interpolation'), |
|
|
|
|
require('./service/configurations/Language'), |
|
|
|
|
require('./service/configurations/PlaceHolder'), |
|
|
|
|
require('./service/configurations/PointInPolygon'), |
|
|
|
|
require('./service/mget'), |
|
|
|
|
require('./service/search') |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
tests.map(function(t) { |
|
|
|
|