organicmaps/indexer/indexer_tests
Sergiy Kozyr 8b233cb27d
[Android] Parse social pages links in POI editor (#1545)
* Moved Facebook, Instagram, Twitter, VK cleanup functions from "generator" to "indexer".
Added call to ValidateAndFormat_* functions on social links edit.
Fixed contact:line validation. Empty string is now correct value

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Fix build error

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Renamed 'contacts_processor' to 'validate_and_format_contacts'

Moved Validate*Page functions to validate_and_format_contacts.hpp/.cpp

Moved validate_and_format_contacts tests to a separate CPP file

PR comments fixes

Fixed iOS build

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Fixed XCode project formatting

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Moved regex's to static variables to reuse same regular expressions in validation and formatting functions.

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Refactoring of validate_and_format_contacts.cpp
* simplified if() statements
* use Url::FromString to skip HTTP(S) protocol checks
* get rid of webPath.back() function to exclude crashes
* Formatting

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2021-11-16 23:05:43 +01:00
..
jni
bounds.hpp [coding] Moved functions that encode points to one common file. 2018-11-23 16:59:58 +03:00
brands_tests.cpp [coding] Renamed the StringUtf8Multilang files. 2018-12-13 13:19:18 +03:00
categories_test.cpp Fixed categories tests (they need more refactorings) 2021-07-25 12:01:48 +03:00
cell_coverer_test.cpp [std][geometry] Use new include style for geometry. 2019-04-10 14:06:59 +03:00
cell_id_test.cpp [geometry] Faster CellId::XY and CellId::FromXY. 2018-04-17 12:47:50 +03:00
centers_table_test.cpp [geometry] Get rid of MercatorBounds, refactor to namespace mercator 2019-11-01 11:09:30 +03:00
checker_test.cpp [indexer] Test on IsMotorwayJunctionChecker. 2019-10-16 15:26:13 +03:00
cities_boundaries_serdes_tests.cpp [coding] [geometry] Refactored geometry serialization. 2018-04-11 14:27:47 +03:00
classificator_tests.cpp [indexer] Stable types indices. 2020-03-02 15:08:46 +03:00
CMakeLists.txt [Android] Parse social pages links in POI editor (#1545) 2021-11-16 23:05:43 +01:00
complex_serdes_tests.cpp Review fixes 2019-11-12 16:33:01 +03:00
complex_serdes_utils_tests.cpp Review fixes 2019-11-12 16:33:01 +03:00
data_source_test.cpp [indexer] Removed the UPDATE event type from MwmSet. 2019-09-26 10:10:31 +03:00
drules_selector_parser_test.cpp Got rid of the old style std/ includes for several files, mostly in map/ and platform/. 2019-09-23 13:25:26 +03:00
editable_map_object_test.cpp [Android] Parse social pages links in POI editor (#1545) 2021-11-16 23:05:43 +01:00
feature_metadata_test.cpp [indexer] Use text storage for metadata. 2020-10-02 12:14:09 +03:00
feature_names_test.cpp Got rid of the old style std/ includes for several files, mostly in map/ and platform/. 2019-09-23 13:25:26 +03:00
feature_to_osm_tests.cpp [platform] MapOptions is renamed to MapFileType 2019-10-08 13:58:35 +03:00
features_offsets_table_test.cpp Removed obsolete MetadataIndex. 2021-08-12 23:23:38 +02:00
features_vector_test.cpp [tests] Fixed minsk-pass data sensitive tests. 2021-08-12 23:23:38 +02:00
index_builder_test.cpp Got rid of the old style std/ includes for several files, mostly in map/ and platform/. 2019-09-23 13:25:26 +03:00
interval_index_test.cpp Revert "[indexer:interval_index] Add interval index version 2: 64 bit offset and size" 2019-09-02 12:42:04 +03:00
metadata_serdes_tests.cpp [indexer] Add Metadata serialization/deserialization tests. 2020-10-06 10:05:31 +03:00
mwm_set_test.cpp [indexer] Get rid of MwmValueBase 2019-10-23 23:16:54 +03:00
postcodes_matcher_tests.cpp [base] Unified stl_add and stl_helpers. 2018-09-14 15:14:36 +03:00
rank_table_test.cpp [platform] MapOptions is renamed to MapFileType 2019-10-08 13:58:35 +03:00
read_features_tests.cpp Review fixes. 2020-03-26 20:41:18 +03:00
scale_index_reading_tests.cpp [platform] MapOptions is renamed to MapFileType 2019-10-08 13:58:35 +03:00
scales_test.cpp
search_string_utils_test.cpp [search] NormalizeAndSimplifyString: replace sequence of spaces with single one. 2019-11-11 14:00:16 +03:00
sort_and_merge_intervals_test.cpp covering::IntervalsT -> covering::Intervals 2018-02-01 18:13:38 +03:00
string_slice_tests.cpp [indexer] Style & includes 2018-07-30 19:26:47 +03:00
succinct_trie_test.cpp [indexer] Style & includes 2018-07-30 19:26:47 +03:00
test_mwm_set.hpp Using make_unique instead of new for indexer. 2020-10-21 17:36:35 +03:00
test_type.cpp [indexer] Increase subtypes limit to 128 2017-06-30 20:47:09 +03:00
tree_node_tests.cpp Review fixes 2019-10-30 12:57:17 +03:00
trie_test.cpp [indexer] Style & includes 2018-07-30 19:26:47 +03:00
validate_and_format_contacts_test.cpp [Android] Parse social pages links in POI editor (#1545) 2021-11-16 23:05:43 +01:00
visibility_test.cpp [routing] Replace highway=platform with highway=pedestrian. 2020-02-26 16:05:50 +03:00
wheelchair_tests.cpp Using optionals in ftraits 2017-11-09 13:20:32 +03:00