public class SanitizingResponseRewriterTest extends RewriterTestBase
control, DEFAULT_CONCAT_BASE, DEFAULT_PROXY_BASE, defaultRewriterFeature, fakeResponse, injector, MOCK_CONCAT_BASE, MOCK_CONTAINER, MOCK_PROXY_BASE, parser, rewriterFeatureFactory, SPEC_URL, tags, TAGS| Constructor and Description |
|---|
SanitizingResponseRewriterTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
enforceInvalidProxedCssRejected() |
void |
enforceInvalidProxedImageRejected() |
void |
enforceMissingMimeTypeRejected() |
void |
enforceUnknownMimeTypeRejected() |
void |
enforceValidProxedCssAccepted() |
void |
enforceValidProxedCssAcceptedNoCache() |
void |
validProxiedImageAccepted() |
createSpecWithoutRewrite, createSpecWithRewrite, createSpecWithRewriteOS9, getParserClass, mockGadget, mockGadget, replaceDefaultWithMockServer, rewriteContent, rewriteContent, rewriteHelper, setUppublic void enforceInvalidProxedCssRejected()
throws Exception
Exceptionpublic void enforceValidProxedCssAccepted()
throws Exception
Exceptionpublic void enforceValidProxedCssAcceptedNoCache()
throws Exception
Exceptionpublic void enforceInvalidProxedImageRejected()
throws Exception
Exceptionpublic void validProxiedImageAccepted()
throws Exception
Exceptionpublic void enforceUnknownMimeTypeRejected()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.