diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2018-12-11 15:02:24 +0100 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2018-12-11 15:02:24 +0100 |
commit | e1be2ecba485e49c740286b7bc431592507aa8f0 (patch) | |
tree | d7f5342e4609a8d39eae81df1bb6d2e709921a64 /tests/data | |
parent | 63533cbde279ce91ed9e9c92d47b6297235d1d02 (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')
-rw-r--r-- | tests/data/Makefile.inc | 2 | ||||
-rw-r--r-- | tests/data/test1653 | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 7adebd3f9..5c202a3fe 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -184,7 +184,7 @@ test1590 \ test1600 test1601 test1602 test1603 test1604 test1605 test1606 test1607 \ test1608 test1609 test1620 \ \ -test1650 test1651 test1652 \ +test1650 test1651 test1652 test1653 \ \ test1700 test1701 test1702 \ \ 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> |