.
|
Public Member Functions |
| void | scenarioParseAndWrite (bool encoded, const QByteArray &bytes, const QByteArray &scheme, const QByteArray &authority, const QByteArray &path, const QByteArray &query, const QByteArray &fragment) |
| void | testNoEncodingScheme () |
| void | testNoEncodingSchemeWithEmptyAuthority () |
| void | testNoEncodingSchemeWithAuthority () |
| void | testNoEncodingSchemeWithEmptyAuthorityWithEmptyPathWithEmptyQuery () |
| void | testNoEncodingSchemeWithEmptyAuthorityWithEmptyPathWithEmptyFragment () |
| void | testNoEncodingSchemeWithEmptyAuthorityWithEmptyPathWithEmptyQueryWithEmptyFragment () |
| void | testNoEncodingSchemeWithEmptyAuthorityWithPath () |
| void | testNoEncodingSchemeWithAuthorityWithPath () |
| void | testNoEncodingSchemeWithAuthorityWithQuery () |
| void | testNoEncodingSchemeWithAuthorityWithFragment () |
| void | testNoEncodingSchemeWithAuthorityWithPathWithQueryWithFragment () |
| void | testNoEncodingAuthorityWithPathWithQueryWithFragment () |
| void | testNoEncodingPathWithQueryWithFragment () |
| void | testNoEncodingQueryWithFragment () |
| void | testNoEncodingQuery () |
| void | testNoEncodingFragment () |
| void | testEncodingIncorrectlyUncodedUriIsNull () |
| void | testEncodingCorrectlyEncodedUri () |
| void | scenarioParseUriAndAppendQuery (const QByteArray &bytes, const QByteArray &initialQuery, const QList< QByteArray > &extraQueries) |
| void | testParseUriWithoutQueryThenAppendQueryTwice () |
| void | testParseUriWithQueryThenAppendQueryTwice () |
| void | scenarioParseUriAndAppendQueryItem (const QByteArray &bytes, const QByteArray &initialQuery, const Uri::QueryItemList &items) |
| void | testParseUriWithoutQueryThenAppendQueryItemAFewTimes () |
| void | testParseUriWithQueryThenAppendQueryItemAFewTimes () |
| void | testParseUnencodedProduceEncoded () |
| void | testCompareTwoEqualNonEmptyUris () |
| void | testCompareTwoEqualEmptyUris () |
| void | testCompareTwoDifferentNonEmptyUris () |
| void | testCompareEmptyAndNonEmptyUris () |
| void | testCompareUrisWithEmptyAndNullQuery () |
| void | testKeysAndValuesInQueryItemsGetCorrectlyEncoded () |
| | '&' and '=' in query items should be correctly encoded.
|
| void | testParseEncodedUriQueryIsNotPrematurelyDecoded () |
| void | testParseQueryItemsFromQueryTwoItems () |
| void | testParseQueryItemsFromEmptyQuery () |
| void | testEncodingAllCharsInQuery () |
| void | testQueryItemValueNoneValueAssociated () |
| | Verifies that QByteArray() will be returned when no value is associated.
|
| void | testQueryItemValueOneValueAssociated () |
| | Verifies that correct value will be returned if one value is associated.
|
| void | testQueryItemValueTwoValuesAssociated () |
| | Verifies that correct value will be returned if two values are associated.
|
| void | testParsingUriWithPortButWithoutHostFails () |
| | "scheme://:80/" is invalid, parsing should result is Uri().
|
| void | testParsingUriWithUserinfoButWithoutHostFails () |
| | "scheme://userinfo@/" is invalid, parsing should result is Uri().
|
| void | testParsingUriWithUserinfoAndPortButWithoutHostFails () |
| | "scheme://userinfo@:80" is invalid, parsing should result is Uri().
|
| void | testGettingSubsetsOfEncodedRepresentation () |
Private Member Functions |
| | CPPUNIT_TEST_SUITE (UriTest) |
| | CPPUNIT_TEST (testNoEncodingScheme) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithEmptyAuthority) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithAuthority) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithEmptyAuthorityWithPath) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithEmptyAuthorityWithEmptyPathWithEmptyQuery) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithEmptyAuthorityWithEmptyPathWithEmptyFragment) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithEmptyAuthorityWithEmptyPathWithEmptyQueryWithEmptyFragment) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithAuthorityWithPath) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithAuthorityWithQuery) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithAuthorityWithFragment) |
| | CPPUNIT_TEST (testNoEncodingSchemeWithAuthorityWithPathWithQueryWithFragment) |
| | CPPUNIT_TEST (testNoEncodingAuthorityWithPathWithQueryWithFragment) |
| | CPPUNIT_TEST (testNoEncodingPathWithQueryWithFragment) |
| | CPPUNIT_TEST (testNoEncodingQueryWithFragment) |
| | CPPUNIT_TEST (testNoEncodingQuery) |
| | CPPUNIT_TEST (testNoEncodingFragment) |
| | CPPUNIT_TEST (testEncodingIncorrectlyUncodedUriIsNull) |
| | CPPUNIT_TEST (testEncodingCorrectlyEncodedUri) |
| | CPPUNIT_TEST (testParseUriWithoutQueryThenAppendQueryTwice) |
| | CPPUNIT_TEST (testParseUriWithQueryThenAppendQueryTwice) |
| | CPPUNIT_TEST (testParseUriWithoutQueryThenAppendQueryItemAFewTimes) |
| | CPPUNIT_TEST (testParseUriWithQueryThenAppendQueryItemAFewTimes) |
| | CPPUNIT_TEST (testParseUnencodedProduceEncoded) |
| | CPPUNIT_TEST (testCompareTwoEqualNonEmptyUris) |
| | CPPUNIT_TEST (testCompareTwoEqualEmptyUris) |
| | CPPUNIT_TEST (testCompareTwoDifferentNonEmptyUris) |
| | CPPUNIT_TEST (testCompareEmptyAndNonEmptyUris) |
| | CPPUNIT_TEST (testCompareUrisWithEmptyAndNullQuery) |
| | CPPUNIT_TEST (testKeysAndValuesInQueryItemsGetCorrectlyEncoded) |
| | CPPUNIT_TEST (testParseEncodedUriQueryIsNotPrematurelyDecoded) |
| | CPPUNIT_TEST (testParseQueryItemsFromQueryTwoItems) |
| | CPPUNIT_TEST (testParseQueryItemsFromEmptyQuery) |
| | CPPUNIT_TEST (testEncodingAllCharsInQuery) |
| | CPPUNIT_TEST (testQueryItemValueNoneValueAssociated) |
| | CPPUNIT_TEST (testQueryItemValueOneValueAssociated) |
| | CPPUNIT_TEST (testQueryItemValueTwoValuesAssociated) |
| | CPPUNIT_TEST (testParsingUriWithPortButWithoutHostFails) |
| | CPPUNIT_TEST (testParsingUriWithUserinfoButWithoutHostFails) |
| | CPPUNIT_TEST (testParsingUriWithUserinfoAndPortButWithoutHostFails) |
| | CPPUNIT_TEST (testGettingSubsetsOfEncodedRepresentation) |
| | CPPUNIT_TEST_SUITE_END () |
Static Private Attributes |
| static const QByteArray | validUriUnencoded1 |
| static const QByteArray | validUriUnencoded2 |