Changeset 3bacee1 in mainline for uspace/lib/uri/test/parser.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/uri/test/parser.c
r76d0981d r3bacee1 74 74 PCUT_TEST_SUITE(uri_parse); 75 75 76 PCUT_TEST_BEFORE { 76 PCUT_TEST_BEFORE 77 { 77 78 parsed_uri = NULL; 78 79 expected_uri.scheme = NULL; … … 86 87 } 87 88 88 PCUT_TEST_AFTER { 89 PCUT_TEST_AFTER 90 { 89 91 if (parsed_uri != NULL) { 90 92 uri_destroy(parsed_uri); … … 93 95 } 94 96 95 PCUT_TEST(only_hostname) { 97 PCUT_TEST(only_hostname) 98 { 96 99 expected_uri.scheme = "http"; 97 100 expected_uri.host = "localhost"; … … 100 103 } 101 104 102 PCUT_TEST(hostname_with_user) { 105 PCUT_TEST(hostname_with_user) 106 { 103 107 expected_uri.scheme = "http"; 104 108 expected_uri.host = "localhost"; … … 108 112 } 109 113 110 PCUT_TEST(hostname_with_user_and_password) { 114 PCUT_TEST(hostname_with_user_and_password) 115 { 111 116 expected_uri.scheme = "https"; 112 117 expected_uri.host = "localhost"; … … 117 122 } 118 123 119 PCUT_TEST(path_specification) { 124 PCUT_TEST(path_specification) 125 { 120 126 expected_uri.scheme = "http"; 121 127 expected_uri.host = "localhost"; … … 125 131 } 126 132 127 PCUT_TEST(with_fragment) { 133 PCUT_TEST(with_fragment) 134 { 128 135 expected_uri.scheme = "http"; 129 136 expected_uri.host = "localhost";
Note:
See TracChangeset
for help on using the changeset viewer.