Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
371 0 0 0 100% 32.884

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.esigate.xml 8 0 0 0 100% 1.011
org.esigate.parser 1 0 0 0 100% 0.024
org.esigate.util 30 0 0 0 100% 0.527
org.esigate.http.cookie 8 0 0 0 100% 0.08
org.esigate.esi 70 0 0 0 100% 0.683
org.esigate.aggregator 9 0 0 0 100% 1.153
org.esigate.vars 4 0 0 0 100% 0.255
org.esigate.extension 4 0 0 0 100% 1.348
org.esigate.resource 2 0 0 0 100% 0.049
org.esigate.parser.future 2 0 0 0 100% 0.019
org.esigate.cache 8 0 0 0 100% 1.401
org.esigate.extension.parallelesi 72 0 0 0 100% 3.377
org.esigate.http 35 0 0 0 100% 8.79
org.esigate.tags 8 0 0 0 100% 0.025
org.esigate.cookie 6 0 0 0 100% 0.188
org.esigate 41 0 0 0 100% 4.311
org.esigate.renderers 1 0 0 0 100% 4.386
org.esigate.test.conn 2 0 0 0 100% 0.017
org.esigate.extension.surrogate 14 0 0 0 100% 3.85
org.esigate.url 7 0 0 0 100% 0.027
org.esigate.impl 36 0 0 0 100% 0.203
org.esigate.extension.http 3 0 0 0 100% 1.16

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.esigate.xml

Class Tests Errors Failures Skipped Success Rate Time
XpathRendererTest 4 0 0 0 100% 0.697
XsltRendererTest 4 0 0 0 100% 0.314

org.esigate.parser

Class Tests Errors Failures Skipped Success Rate Time
ParserTest 1 0 0 0 100% 0.024

org.esigate.util

Class Tests Errors Failures Skipped Success Rate Time
FilterListTest 7 0 0 0 100% 0.002
ParameterTest 6 0 0 0 100% 0.01
UriUtilsTest 14 0 0 0 100% 0.514
PropertiesUtilTest 3 0 0 0 100% 0.001

org.esigate.http.cookie

Class Tests Errors Failures Skipped Success Rate Time
CustomBrowserCompatSpecFactoryTest 1 0 0 0 100% 0.001
CookieUtilTest 7 0 0 0 100% 0.079

org.esigate.esi

Class Tests Errors Failures Skipped Success Rate Time
ReplaceElementTest 1 0 0 0 100% 0.007
CommentTest 3 0 0 0 100% 0.028
InlineElementTest 1 0 0 0 100% 0.009
BaseElementTest 1 0 0 0 100% 0.014
CommentElementTest 2 0 0 0 100% 0.009
RemoveElementTest 1 0 0 0 100% 0.015
BaseElementTypeTest 2 0 0 0 100% 0.011
ChooseElementTest 10 0 0 0 100% 0.11
TryElementTest 12 0 0 0 100% 0.104
IncludeElementTest 27 0 0 0 100% 0.347
EsiRendererTest 1 0 0 0 100% 0
VarsElementTest 6 0 0 0 100% 0.017
TagTest 3 0 0 0 100% 0.012

org.esigate.aggregator

Class Tests Errors Failures Skipped Success Rate Time
AggregateRendererTest 9 0 0 0 100% 1.153

org.esigate.vars

Class Tests Errors Failures Skipped Success Rate Time
VariablesResolverTest 1 0 0 0 100% 0.006
DriverEsiVariablesTest 2 0 0 0 100% 0.157
DriverEsiWhenTest 1 0 0 0 100% 0.092

org.esigate.extension

Class Tests Errors Failures Skipped Success Rate Time
HtmlEncodingProcessorTest 1 0 0 0 100% 1.316
DefaultCharsetTest 3 0 0 0 100% 0.032

org.esigate.resource

Class Tests Errors Failures Skipped Success Rate Time
ResourceUtilsTest 2 0 0 0 100% 0.049

org.esigate.parser.future

Class Tests Errors Failures Skipped Success Rate Time
FutureParserTest 1 0 0 0 100% 0.016
FutureAppendableAdapterTest 1 0 0 0 100% 0.003

org.esigate.cache

Class Tests Errors Failures Skipped Success Rate Time
MemcachedCacheStorageTest 5 0 0 0 100% 0.386
ManagedCacheStorageTest 1 0 0 0 100% 0.003
BasicCacheStorageTest 1 0 0 0 100% 0
EhcacheCacheStorageTest 1 0 0 0 100% 1.012

org.esigate.extension.parallelesi

Class Tests Errors Failures Skipped Success Rate Time
EsiRendererTest 1 0 0 0 100% 0
ParallelEsiTest 1 0 0 0 100% 0.146
TagTest 3 0 0 0 100% 0.001
CommentTest 3 0 0 0 100% 0.265
VarsElementTest 6 0 0 0 100% 0.07
TryElementTest 12 0 0 0 100% 0.232
BaseElementTest 1 0 0 0 100% 0.009
IncludeElementTest 26 0 0 0 100% 1.508
RemoveElementTest 1 0 0 0 100% 0.001
ChooseElementTest 7 0 0 0 100% 0.131
CommentElementTest 2 0 0 0 100% 0.022
ReplaceElementTest 1 0 0 0 100% 0.015
InlineElementTest 1 0 0 0 100% 0.002
BaseElementTypeTest 2 0 0 0 100% 0.016
EsiTest 5 0 0 0 100% 0.959

org.esigate.http

Class Tests Errors Failures Skipped Success Rate Time
HttpClientRequestExecutorTest 26 0 0 0 100% 8.693
XForwardedHeadersTest 4 0 0 0 100% 0.087
HeaderManagerTest 2 0 0 0 100% 0.005
OutgoingRequestContextTest 1 0 0 0 100% 0.003
ContentTypeHelperTest 2 0 0 0 100% 0.002

org.esigate.tags

Class Tests Errors Failures Skipped Success Rate Time
TemplateRendererTest 5 0 0 0 100% 0.013
BlockRendererTest 3 0 0 0 100% 0.012

org.esigate.cookie

Class Tests Errors Failures Skipped Success Rate Time
DefaultCookieManagerTest 6 0 0 0 100% 0.188

org.esigate

Class Tests Errors Failures Skipped Success Rate Time
DriverFactoryTest 7 0 0 0 100% 0.323
DriverTest 32 0 0 0 100% 3.973
DriverConfigurationTest 2 0 0 0 100% 0.015

org.esigate.renderers

Class Tests Errors Failures Skipped Success Rate Time
ResourceFixupRendererTest 1 0 0 0 100% 4.386

org.esigate.test.conn

Class Tests Errors Failures Skipped Success Rate Time
SequenceResponseTest 1 0 0 0 100% 0.008
UriResponseTest 1 0 0 0 100% 0.009

org.esigate.extension.surrogate

Class Tests Errors Failures Skipped Success Rate Time
SurrogateTest 13 0 0 0 100% 3.74
SurrogateHeaderTest 1 0 0 0 100% 0.11

org.esigate.url

Class Tests Errors Failures Skipped Success Rate Time
SingleBaseUrlRetrieveStrategyTest 1 0 0 0 100% 0.001
RoundRobinBaseUrlRetrieveStrategyTest 1 0 0 0 100% 0.003
IpHashBaseUrlRetrieveStrategyTest 3 0 0 0 100% 0.014
StickySessionBaseUrlRetrieveStrategyTest 2 0 0 0 100% 0.009

org.esigate.impl

Class Tests Errors Failures Skipped Success Rate Time
UrlRewriterTest 34 0 0 0 100% 0.2
UriMappingTest 2 0 0 0 100% 0.003

org.esigate.extension.http

Class Tests Errors Failures Skipped Success Rate Time
CustomizableDNSResolverTest 1 0 0 0 100% 0.017
DNSTest 2 0 0 0 100% 1.143

Test Cases

[Summary] [Package List] [Test Cases]

ReplaceElementTest

testErrorIfNotInsideIncludeTag 0.005

HtmlEncodingProcessorTest

testBug184HtmlEncodingProcessing 1.307

CustomizableDNSResolverTest

testResolve 0.01

TemplateRendererTest

testRenderTemplate1 0.001
testRenderTemplateWithSimilarParamNames 0.001
testRenderTemplate2 0.003
testRenderTemplateNull1 0
testRenderTemplateNull2 0.001

EsiRendererTest

testFragmentTagsShouldBeRemoved 0

CommentTest

testComment 0.003
testCommentVars 0.003
testCommentedEsiTags 0.017

XpathRendererTest

testXpathHtml 0
testXpathXhtml 0.168
testXpathAttribute 0.006
testXpathHtml5 0.51

HttpClientRequestExecutorTest

testCacheAndLoadBalancing 0.018
testCacheAndLoadBalancingNoPreserveHost 0.018
testCacheStaleIfError 0.248
testCacheTtl 1.028
test200OkPageIsCachedWithTTL 1.017
test301RedirectPageIsCachedWithTTL 1.011
test302RedirectPageIsCachedWithTTL 1.016
test404ErrorPageIsCachedWithTTL 1.017
test500ErrorPageIsCachedWithTTL 1.024
test503ErrorPageIsCachedWithTTL 1.029
testEhCache 0.03
testXCacheHeader 0.019
testXCacheHeaderWithLoadBalancingNoCache 0.014
testXCacheHeaderWithLoadBalancing 0.016
testDecompressStream 0.01
testPreserveHost 0.004
testPreserveHostWithHostHeader 0.019
testPreserveHostDoesNotAddPortIfDefault 0.015
testIssue123 0.009
testCookieWithSpaces 0.004
testForcedTtlWith304ResponseCode 0.02
testForcedTtlWith301ResponseCode 0.012
testForcedTtlWith302ResponseCode 0.008
testExpiresResponseHeaderWithForcedTtl 1.024
testDoNotReturn304ForNonConditionalRequestWhenTtlSet 0.012
test304CachedResponseIsReusedWithIfModifiedSinceRequest 0.01

SurrogateTest

testEsigateChaining 0.062
testSurrogateControlVarySurrogate 0.09
testSurrogateControlWithNoSurrogate 0.108
testSurrogateControlWithSurrogate 0.116
testSurrogateCapabilitiesUniqueToken 0.036
testSurrogateControlDisableCapability 0.024
testSurrogateControlEnable 0.036
testSurrogateControlNoStore 0.045
testSurrogateControlMaxAge 0.05
testSurrogateControlMaxAgeExtended 3.099
testSurrogateControlTargeting 0.009
testSurrogateControlTargeting2Esigate 0.01
testSurrogateCapabilities 0.013

AggregateRendererTest

testIncludeBlockNoBlockName 1.011
testIncludeBlock 0.012
testIncludeBlockNested 0.01
testIncludeTemplateNested 0.026
testIncludeBlockRoot 0.006
testIncludeTemplateNoTemplateName 0.006
testIncludeTemplate 0.019
testIncludeTemplateWithVariables 0.023
testNestedTags 0.016

VariablesResolverTest

testReplaceAllVariables 0.004

FutureParserTest

testParse 0.008

ParallelEsiTest

testParallelInclude 0.146

SingleBaseUrlRetrieveStrategyTest

testGetBaseURL 0.001

FilterListTest

testAdd 0
testAddAll 0
testAddRemove 0
testAddList 0
testAddAllRemoveList 0
testAddCaseInsensitive 0
testAddListRemoveAll 0

MemcachedCacheStorageTest

testConfiguration 0.377
testConfigurationNoServers 0.002
testConfigurationWrongValue 0
testConfigurationWrongPort 0.004
testBasicOperations 0

RoundRobinBaseUrlRetrieveStrategyTest

testGetBaseURL 0.001

XForwardedHeadersTest

testXForwardedHeaders 0.024
testXForwardedHeadersHttps 0.021
testAddXForwardedHeadersHttp 0.014
testAddXForwardedHeadersHttps 0.015

HeaderManagerTest

testBlackListed 0
testXForwardedProtoHeader 0.005

TagTest

testCreateWithQuotesInside 0
testCreate 0
testCreateInvalidAttributesMarkup 0

DNSTest

testInit 1.135
testEvent 0.001

UrlRewriterTest

testSrcPatternMatches 0.1
testHrefPatternMatches 0.002
testActionPatternMatches 0.002
testBackgroundPatternMatches 0.006
testPatternsAreCaseInsensitive 0.005
testCdataPatternDoesNotMatch 0.001
testEsiIncludePatternDoesNotMatch 0
testUrlRewrite 0.005
testUrlRewriteReplaceContext 0.001
testUrlRewriteSpecialChars 0.001
testUrlRewriteRawQueryString 0.007
testUrlRewriteSlash 0.001
testUrlRewritePort 0.001
testUrlRewriteProtocol 0.001
testUrlRewriteProtocolRelativeUrl 0
testUrlRewriteEmptyRequestUrl 0.001
testUrlSanitizing 0.001
testUrlRewriteEmptyUrl 0.001
testUrlSanitizingWithDot 0.002
testRewriteReferer 0.001
testUrlRewriteTrim 0.001
testUrlRewriteTrimEmptyUrl 0.001
testUrlRewriteEmptyUrlHashtag 0.001
testUrlRewriteAbsoluteUrlBaseUrl 0
testUrlRewriteAbsolutUrlBaseUrlSlash 0
testUrlRewriteAbsolutUrlBaseUrlSlashTest 0
testRewriteInJavascript 0.001
testRewriteMetaRefresh 0.002
testDoesNotRewriteJavascriptUrl 0.001
testDoesNotRewriteMailtoUrl 0.001
testHtmlUnicodeEntities 0.003
testHtmlRewriteUrlWithEncodedCharacters 0.004
testHtmlRewriteInvalidEscapeSequence 0.001
testUrlRewriteEsiVarUrl 0

ManagedCacheStorageTest

testBasicOperations 0

CustomBrowserCompatSpecFactoryTest

testAcceptCookieWithLongerPathThanRequestPath 0

InlineElementTest

testInlineElement 0.005

DriverFactoryTest

testConfigureStringProperties1 0.044
testSelectProvider 0.112
testSelectProviderBasicUrlMapping 0.058
testSelectProviderHostUrlMapping 0.043
testSelectProviderExplicitDefaultMapping 0.04
testSelectProviderNoMapping 0.019
testStripMappingPath 0.001

CommentTest

testComment 0.202
testCommentVars 0.01
testCommentedEsiTags 0.048

BaseElementTest

testOnTagStart 0.004

BlockRendererTest

testRenderBlock 0.001
testRenderBlockNull 0
testUnknownTag 0.001

OutgoingRequestContextTest

testSetRemoveAttribute 0.003

ParameterTest

testGetValueString 0
testGetValueInteger 0
testGetValueFloat 0
testGetValueBoolean 0
testGetValueCollection 0
testGetValueArray 0

ParserTest

testParse 0.019

VarsElementTest

testHttpHost 0.002
testCookie 0.003
testQueryString 0.017
testHttpReferer 0.004
testUserAgent 0.006
testAcceptLanguage 0.003

IpHashBaseUrlRetrieveStrategyTest

testGetBaseURLRandom 0
testGetBaseURLInvalidIp 0.001
testGetBaseURLSameIpSameBaseUrl 0.008

TryElementTest

testInvalidMarkup 0.037
testTry 0.028
testAttempt1 0.014
testAttempt2 0.025
testExcept1 0.011
testExcept2 0.014
testMultipleExcept 0.009
testDefaultExcept 0.01
testTryCatchFragmentNotFound 0.017
testTryFragmentNotFound 0.015
testTryFragmentNotFound2 0.016
testTryCatchFragmentNotFound2 0.023

CommentElementTest

testComment 0.002
testCommentEmpty 0.003

ResourceFixupRendererTest

testRenderBlock1 4.385

RemoveElementTest

testRemove 0.003

ResourceUtilsTest

testGetHttpUrlWithQueryString 0.009
testGetHttpUrlWithQueryStringAbsoluteurl 0.04

StickySessionBaseUrlRetrieveStrategyTest

testGetBaseURL 0.007
testGetBaseURLWithWrongIndex 0.002

BasicCacheStorageTest

testBasicOperations 0

BaseElementTypeTest

testIsStartTag 0.003
testIsEndTag 0.002

DriverTest

testRenderBlock 0.011
testRenderTemplateFullPage 0.002
testRenderTemplate 0.008
testHeadersPreservedWhenError500 0.159
testHeadersFilteredWhenError500 0
testSpecialCharacterInErrorPage 0.037
testGzipErrorPage 0.057
testRedirectDoesNotLeakConnectionWithCacheEnable 2.358
testRewriteRedirectResponse 0.012
testRewriteRedirectResponseWithDefaultPortSpecifiedInLocation 0.008
testRewriteRedirectResponseWithLocation 0.021
testRedirectDoesNotLeakConnection 0.808
testBug142 0.04
testBug142SecondCase 0.014
testBug155 0.021
testBug162PreserveHostOff 0.016
testBug162PreserveHostOn 0.015
testBug185 0.014
testSpecialCharacterInIncludeNoCharset 0.016
testBug161SetCookie 0.011
testConfigStaleWhileRevalidateWith0WorkerThreadsThrowsConfigurationException 0.003
testSocketReadTimeoutWithCacheAndGzipDoesNotLeak 0.014
testForwardCookiesWithPortsAndPreserveHost 0.016
testForwardCookiesWithPorts 0.014
testForwardCookiesExternalUrl 0.03
testRewriteCookiePath 0.012
testRewriteCookiePathNotMatching 0.011
testBug231RenderingOnProxyError 0.027
testPreserveHostInUriInOutgoingRequest 0.017
testRedirectFragmentWithExternalHost 0.031
testRedirectFragmentWithExternalHostAndVisibleUrl 0.037
testRedirectFragmentWithExternalHostWithContext 0.036

BaseElementTest

testOnTagStart 0.005

DefaultCookieManagerTest

testAddCookie 0.085
testRewriteForBrowser 0.016
testInit 0.012
testFilter 0.036
testRewriteDomain 0.003
testReplace 0.015

IncludeElementTest

testIncludeProvider 0.007
testIncludeProvider10 0.032
testIncludeProviderLegacy 0.015
testIncludeAbsolute 0.011
testIncludeFragment 0.017
testIncludeQueryString 0.011
testIncludeQueryStringParameter 0.013
testIncludeInlineCache 0.024
testIncludeInlineElement 0.021
testIncludeReplaceElementFragment 0.014
testIncludeReplaceElementRegexp 0.013
testIncludeReplaceElementExpression 0.014
testIncludeXpath 0.687
testIncludeXpathSeveralMatchingNodes 0.023
testIncludeXSLT 0.476
testIncludeAlt1 0.005
testIncludeAlt2 0.015
testIncludeAltOnError 0.007
testOnError 0.006
testOnErrorContinue 0.006
testIncludeTagContentShouldBeRemoved 0.011
testIncludeFragmentNested 0.012
testIncludeFragmentReplaceNested 0.013
testIncludeFragmentReplaceFragment 0.011
testIncludeProviderWithCharactersBeforeProvider 0.023
testIncludeProviderWithUnknownProvider 0.014

SurrogateHeaderTest

testParsingAndFormating 0.037

DriverConfigurationTest

testBaseUrl 0.01
testStripMappingPath 0

XsltRendererTest

testXslt 0.049
testSecureRendering 0.109
testParserSupportsUnescapedAmpersandCharacter 0.085
testParserSupportsDuplicatedId 0.058

RemoveElementTest

testRemove 0

UriMappingTest

testParseMapping 0.001
testParseInvalidMapping 0.001

EhcacheCacheStorageTest

testBasicOperations 1.003

DriverEsiVariablesTest

testEsiVariablesCase1 0.106
testEsiVariablesCase2 0.043

ChooseElementTest

testChoose 0
testSingleWhen 0.048
testMultipleWhen 0.014
testMultipleWhenEvaluated 0.019
testMultipleWhenOtherwise1 0.017
testMultipleWhenOtherwise2 0.011
testOtherwise 0.014

ChooseElementTest

testChoose 0.003
testSingleWhen 0.003
testMultipleWhen 0.008
testMultipleWhenEvaluated 0.004
testMultipleWhenOtherwise1 0.003
testMultipleWhenOtherwise2 0.003
testOtherwise 0.003
testWhenWithIncludeOnlyEvaluatedWhenRequired 0.017
testOtherwiseWithIncludeOnlyEvaluatedWhenRequired 0.009
testNestedChoose 0.013

CommentElementTest

testComment 0.003
testCommentEmpty 0.003

UriUtilsTest

testNormalizePath 0.186
testSetPath 0.001
testCreateUriAddsSlashIfNoPath 0.003
testCreateUriNoPathAndUrlEncodedCharacters 0.007
testRemoveSessionId 0.002
testRemoveSessionId1 0.001
testRemoveSessionId2 0.001
testRemoveSessionId3 0.001
testRemoveSessionId4 0.001
testRemoveSessionId5 0.001
testRemoveSessionId6 0.001
testEncodeIllegalCharacters 0
testCreateUriSpecialCharacters 0.082
testCreateUri 0.009

ReplaceElementTest

testErrorIfNotInsideIncludeTag 0.008

InlineElementTest

testInlineElement 0

TryElementTest

testInvalidMarkup 0.01
testTry 0.003
testAttempt1 0.005
testAttempt2 0.01
testExcept1 0.005
testExcept2 0.006
testMultipleExcept 0.004
testDefaultExcept 0.004
testTryCatchFragmentNotFound 0.004
testTryFragmentNotFound 0.005
testTryFragmentNotFound2 0.004
testTryCatchFragmentNotFound2 0.012

DriverEsiWhenTest

testEsiWhenCase1 0.088

SequenceResponseTest

testSequence 0.004

UriResponseTest

testUri 0.005

IncludeElementTest

testIncludeProvider 0.009
testIncludeProvider10 0.027
testIncludeProviderLegacy 0.003
testIncludeAbsolute 0.004
testIncludeFragment 0.003
testIncludeQueryString 0.003
testIncludeQueryStringParameter 0.01
testIncludeInlineCache 0.005
testIncludeInlineElement 0.004
testIncludeReplaceElementFragment 0.005
testIncludeReplaceElementRegexp 0.005
testIncludeReplaceElementExpression 0.006
testIncludeXpath 0.06
testIncludeXpathSeveralMatchingNodes 0.017
testIncludeXSLT 0.051
testIncludeAlt1 0.004
testIncludeAlt2 0.005
testIncludeAltOnError 0.004
testOnError 0.006
testOnErrorContinue 0.007
testIncludeTagContentShouldBeRemoved 0.003
testIncludeFragmentNested 0.006
testIncludeFragmentReplaceNested 0.003
testIncludeFragmentReplaceFragment 0.007
testIncludeProviderWithCharactersBeforeProvider 0.007
testIncludeProviderWithUnknownProvider 0.011
testIncludeReplaceJquerySelector 0.009

DefaultCharsetTest

testDefaultCharsetExtConfig 0.007
testDefaultCharsetExt 0.01
testDefaultCharsetExtNonParsable 0.01

CookieUtilTest

testHttpOnlyCookie 0.058
testRewriteCookieExpires 0.002
testRewriteCookieExpiresLongTime 0.002
testCookieValueWithoutSpacesIsNotQuoted 0.001
testCookieValueWithSpacesVersion1IsQuoted 0.002
testCookieValueWithoutQuotesIsNotQuoted 0.001
testCookieValueWithoutDotsAndSlashIsNotQuoted 0.001

EsiRendererTest

testFragmentTagsShouldBeRemoved 0

VarsElementTest

testHttpHost 0.002
testCookie 0.002
testQueryString 0.002
testHttpReferer 0.002
testUserAgent 0.002
testAcceptLanguage 0.002

PropertiesUtilTest

testEmptyList 0
testSingleValueList 0
testDoubleList 0

BaseElementTypeTest

testIsStartTag 0.006
testIsEndTag 0.004

TagTest

testCreateWithQuotesInside 0.001
testCreate 0.002
testCreateInvalidAttributesMarkup 0.001

ContentTypeHelperTest

testDefaultConfig 0
testParsableContentTypes 0.001

FutureAppendableAdapterTest

testBasic 0.001

EsiTest

testQueueBehaviorOK 0.094
testQueueBehaviorNoRoom 0.049
testNoExecutor 0.07
testNotEnoughThreads 0.082
testParallelPerformance 0.657