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

Function testEqualsHelper

3rd/uriparser/test/test.cpp:1899–1910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1897
1898namespace {
1899 void testEqualsHelper(const char * uri_to_test) {
1900 UriParserStateA state;
1901 UriUriA uriOne;
1902 UriUriA uriTwo;
1903 state.uri = &uriOne;
1904 ASSERT_TRUE(URI_SUCCESS == uriParseUriA(&state, uri_to_test));
1905 state.uri = &uriTwo;
1906 ASSERT_TRUE(URI_SUCCESS == uriParseUriA(&state, uri_to_test));
1907 ASSERT_TRUE(URI_TRUE == uriEqualsUriA(&uriOne, &uriTwo));
1908 uriFreeUriMembersA(&uriOne);
1909 uriFreeUriMembersA(&uriTwo);
1910 }
1911} // namespace
1912
1913TEST(UriSuite, TestEquals) {

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected