MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / testCaseInsensitive

Method testCaseInsensitive

Tests/Libraries/Http/HttpURLParserTest.cpp:161–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void SC::HttpURLParserTest::testCaseInsensitive()
162{
163 HttpURLParser urlParser;
164 SC_TEST_EXPECT(urlParser.parse("HTTP://site.com"));
165 SC_TEST_EXPECT(urlParser.protocol == "HTTP");
166 SC_TEST_EXPECT(urlParser.hostname == "site.com");
167 SC_TEST_EXPECT(urlParser.port == 80);
168 SC_TEST_EXPECT(urlParser.pathname == "/");
169}
170
171void SC::HttpURLParserTest::testIPv6()
172{

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected