GeoPubby
Version 0.1.0.0
|
Public Member Functions | |
void | setUp () |
void | testNoVariantOnServer () |
void | testMatchSimple () |
void | testNoMatch () |
void | testUseDefaultIfNoMatch () |
void | testUseDefaultIfTwoEqualOptions () |
void | testPickFirstIfTwoEqualOptions () |
void | testDefaultToHigherQuality () |
void | testPickCorrectMatchSimple () |
void | testPickCorrectMatchWithClientQuality () |
void | testPickCorrectMatchWithServerQuality1 () |
void | testPickCorrectMatchWithServerQuality2 () |
void | testNoMatchIfBestEqualsZero () |
void | testQualityMultiplication () |
void | testEmptyHeader () |
void | testEmptyHeaderPickBestQuality () |
void | testAcceptAlias () |
void | testUseAliasQuality () |
void | testSpecifyDefaultAccept () |
void | testUserAgentOverrideSimple () |
Private Attributes | |
ContentTypeNegotiator | negotiator |
void setUp | ( | ) |
References ContentTypeNegotiatorTest.negotiator.
void testAcceptAlias | ( | ) |
References ContentTypeNegotiator.VariantSpec.addAliasMediaType(), ContentTypeNegotiator.addVariant(), ContentTypeNegotiator.getBestMatch(), MediaRangeSpec.getMediaType(), and ContentTypeNegotiatorTest.negotiator.
void testDefaultToHigherQuality | ( | ) |
void testEmptyHeader | ( | ) |
void testEmptyHeaderPickBestQuality | ( | ) |
void testMatchSimple | ( | ) |
void testNoMatch | ( | ) |
void testNoMatchIfBestEqualsZero | ( | ) |
void testNoVariantOnServer | ( | ) |
References ContentTypeNegotiator.getBestMatch(), and ContentTypeNegotiatorTest.negotiator.
void testPickCorrectMatchSimple | ( | ) |
void testPickCorrectMatchWithClientQuality | ( | ) |
void testPickCorrectMatchWithServerQuality1 | ( | ) |
void testPickCorrectMatchWithServerQuality2 | ( | ) |
void testPickFirstIfTwoEqualOptions | ( | ) |
void testQualityMultiplication | ( | ) |
void testSpecifyDefaultAccept | ( | ) |
References ContentTypeNegotiator.addVariant(), ContentTypeNegotiator.getBestMatch(), MediaRangeSpec.getMediaType(), ContentTypeNegotiatorTest.negotiator, and ContentTypeNegotiator.setDefaultAccept().
void testUseAliasQuality | ( | ) |
void testUseDefaultIfNoMatch | ( | ) |
References ContentTypeNegotiator.addVariant(), ContentTypeNegotiator.getBestMatch(), MediaRangeSpec.getMediaType(), ContentTypeNegotiator.VariantSpec.makeDefault(), and ContentTypeNegotiatorTest.negotiator.
void testUseDefaultIfTwoEqualOptions | ( | ) |
void testUserAgentOverrideSimple | ( | ) |
References ContentTypeNegotiator.addUserAgentOverride(), ContentTypeNegotiator.addVariant(), ContentTypeNegotiator.getBestMatch(), MediaRangeSpec.getMediaType(), and ContentTypeNegotiatorTest.negotiator.
|
private |
Referenced by ContentTypeNegotiatorTest.setUp(), ContentTypeNegotiatorTest.testAcceptAlias(), ContentTypeNegotiatorTest.testDefaultToHigherQuality(), ContentTypeNegotiatorTest.testEmptyHeader(), ContentTypeNegotiatorTest.testEmptyHeaderPickBestQuality(), ContentTypeNegotiatorTest.testMatchSimple(), ContentTypeNegotiatorTest.testNoMatch(), ContentTypeNegotiatorTest.testNoMatchIfBestEqualsZero(), ContentTypeNegotiatorTest.testNoVariantOnServer(), ContentTypeNegotiatorTest.testPickCorrectMatchSimple(), ContentTypeNegotiatorTest.testPickCorrectMatchWithClientQuality(), ContentTypeNegotiatorTest.testPickCorrectMatchWithServerQuality1(), ContentTypeNegotiatorTest.testPickCorrectMatchWithServerQuality2(), ContentTypeNegotiatorTest.testPickFirstIfTwoEqualOptions(), ContentTypeNegotiatorTest.testQualityMultiplication(), ContentTypeNegotiatorTest.testSpecifyDefaultAccept(), ContentTypeNegotiatorTest.testUseAliasQuality(), ContentTypeNegotiatorTest.testUseDefaultIfNoMatch(), ContentTypeNegotiatorTest.testUseDefaultIfTwoEqualOptions(), and ContentTypeNegotiatorTest.testUserAgentOverrideSimple().