MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / testParseUri

Function testParseUri

3rd/uriparser/test/FourSuite.cpp:394–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392namespace {
393
394int testParseUri(const char * uriText, const char ** expectedErrorPos = NULL) {
395 UriParserStateA state;
396 UriUriA uri;
397 state.uri = &uri;
398 int res = uriParseUriA(&state, uriText);
399 if (expectedErrorPos != NULL) {
400 *expectedErrorPos = state.errorPos;
401 }
402 uriFreeUriMembersA(&uri);
403 return res;
404}
405
406
407

Callers 2

testGoodUriFunction · 0.85
testBadUriFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected