From e1be2ecba485e49c740286b7bc431592507aa8f0 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Tue, 11 Dec 2018 15:02:24 +0100 Subject: tests: add urlapi unittest This adds a new unittest intended to cover the internal functions in the urlapi code, starting with parse_port(). In order to avoid name collisions in debug builds, parse_port() is renamed Curl_parse_port() since it will be exported. Reviewed-by: Daniel Stenberg Reviewed-by: Marcel Raad --- tests/data/test1653 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/data/test1653 (limited to 'tests/data/test1653') diff --git a/tests/data/test1653 b/tests/data/test1653 new file mode 100644 index 000000000..0de2c14b5 --- /dev/null +++ b/tests/data/test1653 @@ -0,0 +1,23 @@ + + + +unittest +urlapi + + + + + +none + + +unittest + + +urlapi + + +unit1653 + + + -- cgit v1.2.3