public class DefaultContentRewriterRegistryTest extends BaseRewriterTestCase
control, DEFAULT_CONCAT_BASE, DEFAULT_PROXY_BASE, defaultRewriterFeature, fakeResponse, injector, MOCK_CONCAT_BASE, MOCK_CONTAINER, MOCK_PROXY_BASE, parser, rewriterFeatureFactory, tags, TAGS| Constructor and Description |
|---|
DefaultContentRewriterRegistryTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testNoDecodeHttpResponseForUnRewriteableMimeTypes()
This test ensures that we dont call HttpResponse.getResponseAsString if no content
rewriter does so either.
|
void |
testRewriteHttpResponse() |
createSpecWithoutRewrite, createSpecWithRewrite, createSpecWithRewriteOS9, getParserClass, mockContentRewriterFeatureFactory, replaceDefaultWithMockServer, rewriteContent, rewriteContentpublic void setUp()
throws Exception
setUp in class BaseRewriterTestCaseExceptionpublic void testNoDecodeHttpResponseForUnRewriteableMimeTypes()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.