aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1653
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-12-11 15:02:24 +0100
committerDaniel Gustafsson <daniel@yesql.se>2018-12-11 15:02:24 +0100
commite1be2ecba485e49c740286b7bc431592507aa8f0 (patch)
treed7f5342e4609a8d39eae81df1bb6d2e709921a64 /tests/data/test1653
parent63533cbde279ce91ed9e9c92d47b6297235d1d02 (diff)
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 <daniel@haxx.se> Reviewed-by: Marcel Raad <Marcel.Raad@teamviewer.com>
Diffstat (limited to 'tests/data/test1653')
-rw-r--r--tests/data/test165323
1 files changed, 23 insertions, 0 deletions
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 @@
+<testcase>
+<info>
+<keywords>
+unittest
+urlapi
+</keywords>
+</info>
+
+<client>
+<server>
+none
+</server>
+<features>
+unittest
+</features>
+<name>
+urlapi
+</name>
+<tool>
+unit1653
+</tool>
+</client>
+</testcase>