Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
231 0 0 0 100% 3.978

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.sw4j.tool.har.io 151 0 0 0 100% 3.698
org.sw4j.tool.har.model 80 0 0 0 100% 0.28

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

org.sw4j.tool.har.io

Class Tests Errors Failures Skipped Success Rate Time
AttributeRequiredExceptionTest 8 0 0 0 100% 0.003
HarValidatorTest 79 0 0 0 100% 0.137
HarReaderTest 55 0 0 0 100% 3.538
RequiredAttributeTest 9 0 0 0 100% 0.02

org.sw4j.tool.har.model

Class Tests Errors Failures Skipped Success Rate Time
LogTest 32 0 0 0 100% 0.172
RequestTest 48 0 0 0 100% 0.108

Test Cases

[Summary] [Package List] [Test Cases]

LogTest

testLogEmptyEntries 0.118
testLogEmptyEntriesEntryNull 0.001
testLogEmptyEntriesLargeIndex 0
testLogEmptyEntriesNegIndex 0.014
testLogEmptyEntriesSize 0
testLogEmptyPages 0.009
testLogEmptyPagesLargeIndex 0.001
testLogEmptyPagesNegIndex 0
testLogEmptyPagesPageNull 0
testLogEmptyPagesSize 0.001
testLogEntries 0.001
testLogEntries2ndEntryNotNull 0.001
testLogEntriesEntryNotNull 0
testLogEntriesLargeIndex 0
testLogEntriesNegIndex 0
testLogEntriesSize 0
testLogNoEntries 0
testLogNoEntriesEntryNull 0
testLogNoEntriesLargeIndex 0.008
testLogNoEntriesNegIndex 0
testLogNoEntriesSize 0
testLogNoPages 0.001
testLogNoPagesLargeIndex 0
testLogNoPagesNegIndex 0
testLogNoPagesPageNull 0.01
testLogNoPagesSize 0
testLogPages 0
testLogPages2ndPageNotNull 0.005
testLogPagesLargeIndex 0
testLogPagesNegIndex 0.001
testLogPagesPageNotNull 0
testLogPagesSize 0.001

RequestTest

testRequestCookies 0.008
testRequestCookies2ndCookieNotNull 0.001
testRequestCookiesCookieNotNull 0.001
testRequestCookiesLargeIndex 0.002
testRequestCookiesNegIndex 0.001
testRequestCookiesSize 0.001
testRequestEmptyCookies 0.003
testRequestEmptyCookiesCookieNull 0.003
testRequestEmptyCookiesLargeIndex 0.001
testRequestEmptyCookiesNegIndex 0.002
testRequestEmptyCookiesSize 0.004
testRequestEmptyHeaders 0.001
testRequestEmptyHeadersHeaderNull 0.003
testRequestEmptyHeadersLargeIndex 0.001
testRequestEmptyHeadersNegIndex 0.001
testRequestEmptyHeadersSize 0.001
testRequestEmptyQueryString 0.004
testRequestEmptyQueryStringLargeIndex 0.001
testRequestEmptyQueryStringNegIndex 0.008
testRequestEmptyQueryStringQueryStringNull 0.001
testRequestEmptyQueryStringSize 0.001
testRequestHeaders 0.005
testRequestHeaders2ndHeaderNotNull 0.006
testRequestHeadersHeaderNotNull 0.001
testRequestHeadersLargeIndex 0.001
testRequestHeadersNegIndex 0.013
testRequestHeadersSize 0.001
testRequestNoCookies 0.005
testRequestNoCookiesCookieNull 0.001
testRequestNoCookiesLargeIndex 0.001
testRequestNoCookiesNegIndex 0.007
testRequestNoCookiesSize 0.009
testRequestNoHeaders 0.003
testRequestNoHeadersHeaderNull 0.003
testRequestNoHeadersLargeIndex 0
testRequestNoHeadersNegIndex 0
testRequestNoHeadersSize 0
testRequestNoQueryString 0
testRequestNoQueryStringLargeIndex 0
testRequestNoQueryStringNegIndex 0.001
testRequestNoQueryStringQueryStringNull 0
testRequestNoQueryStringSize 0
testRequestQueryString 0.001
testRequestQueryString2ndQueryStringNotNull 0
testRequestQueryStringLargeIndex 0
testRequestQueryStringNegIndex 0
testRequestQueryStringQueryStringNotNull 0
testRequestQueryStringSize 0.001

AttributeRequiredExceptionTest

testCreationWithAttribute 0
testCreationWithParent 0
testEquals 0
testEqualsToNull 0
testEqualsWithDifferentAttribute 0
testEqualsWithDifferentParent 0
testEqualsWithObject 0
testEqualsWithSame 0.003

HarValidatorTest

testBrowserCommentMissing 0.01
testBrowserMissing 0.001
testBrowserNameMissingSize 0.005
testBrowserNameMissingValue 0.002
testBrowserVersionMissingSize 0.003
testBrowserVersionMissingValue 0.002
testCreatorCommentMissing 0.001
testCreatorMissingSize 0.004
testCreatorMissingValue 0.002
testCreatorNameMissingSize 0.002
testCreatorNameMissingValue 0.003
testCreatorVersionMissingSize 0.005
testCreatorVersionMissingValue 0.002
testEntriesAvailable 0.001
testEntriesMissingSize 0.001
testEntriesMissingValue 0.001
testEntriesPagerefMissing 0.001
testEntriesRequestCookiesCommentMissing 0.001
testEntriesRequestCookiesDomainMissing 0.003
testEntriesRequestCookiesEmpty 0.001
testEntriesRequestCookiesExpiresMissing 0.001
testEntriesRequestCookiesHttpOnlyMissing 0.002
testEntriesRequestCookiesMissingSize 0.002
testEntriesRequestCookiesMissingValue 0.001
testEntriesRequestCookiesNameMissingSize 0.001
testEntriesRequestCookiesNameMissingValue 0.002
testEntriesRequestCookiesPathMissing 0.001
testEntriesRequestCookiesSecureMissing 0.001
testEntriesRequestCookiesValueMissingSize 0.001
testEntriesRequestCookiesValueMissingValue 0.001
testEntriesRequestHeadersCommentMissingValue 0.001
testEntriesRequestHeadersEmpty 0.001
testEntriesRequestHeadersMissingSize 0.001
testEntriesRequestHeadersMissingValue 0.001
testEntriesRequestHeadersNameMissingSize 0.001
testEntriesRequestHeadersNameMissingValue 0.001
testEntriesRequestHeadersValueMissingValue 0.001
testEntriesRequestHttpVersionMissingSize 0.002
testEntriesRequestHttpVersionMissingValue 0.001
testEntriesRequestMethodMissingSize 0.002
testEntriesRequestMethodMissingValue 0.002
testEntriesRequestMissingSize 0.001
testEntriesRequestMissingValue 0.001
testEntriesRequestPostDataMissingValue 0.001
testEntriesRequestQueryStringCommentMissingValue 0.001
testEntriesRequestQueryStringEmpty 0.001
testEntriesRequestQueryStringMissingSize 0.001
testEntriesRequestQueryStringMissingValue 0.001
testEntriesRequestQueryStringNameMissingSize 0.001
testEntriesRequestQueryStringNameMissingValue 0.001
testEntriesRequestQueryStringValueMissingValue 0.004
testEntriesRequestUrlMissingSize 0.001
testEntriesRequestUrlMissingValue 0.002
testEntriesStartedDateTimeMissingSize 0.001
testEntriesStartedDateTimeMissingValue 0.001
testEntriesTimeMissingSize 0.002
testEntriesTimeMissingValue 0.001
testHarNullMissingSize 0
testHarNullMissingValue 0.003
testLogCommentMissing 0.001
testLogNullMissingSize 0.003
testLogNullMissingValue 0.001
testLogVersionMissingSize 0.009
testLogVersionMissingValue 0.001
testNoMissing 0.002
testPagesAvailable 0.001
testPagesCommentMissing 0.003
testPagesIdMissingSize 0.001
testPagesIdMissingValue 0.001
testPagesMissing 0.001
testPagesPageTimingsCommentMissing 0.001
testPagesPageTimingsMissingSize 0
testPagesPageTimingsMissingValue 0.001
testPagesPageTimingsOnContentLoadMissing 0.001
testPagesPageTimingsOnLoadMissing 0.001
testPagesStartedDateTimeMissingSize 0.003
testPagesStartedDateTimeMissingValue 0.002
testPagesTitleMissingSize 0.001
testPagesTitleMissingValue 0.001

HarReaderTest

testReadEmptyJsonNoCheck 1.088
testReadEmptyJsonWithCheck 0.013
testReadLogBrowser 0.943
testReadLogBrowserComment 0.076
testReadLogBrowserName 0.064
testReadLogBrowserVersion 0.054
testReadLogComment 0.08
testReadLogCreator 0.061
testReadLogCreatorComment 0.064
testReadLogCreatorName 0.064
testReadLogCreatorVersion 0.04
testReadLogEntries 0.047
testReadLogEntriesPageref 0.051
testReadLogEntriesRequest 0.018
testReadLogEntriesRequestCookiesComment 0.043
testReadLogEntriesRequestCookiesDomain 0.041
testReadLogEntriesRequestCookiesEmpty 0.019
testReadLogEntriesRequestCookiesExpires 0.045
testReadLogEntriesRequestCookiesFilled 0.048
testReadLogEntriesRequestCookiesHttpOnly 0
testReadLogEntriesRequestCookiesName 0.012
testReadLogEntriesRequestCookiesPath 0.012
testReadLogEntriesRequestCookiesSecure 0.008
testReadLogEntriesRequestCookiesValue 0
testReadLogEntriesRequestHeadersComment 0.032
testReadLogEntriesRequestHeadersEmpty 0.008
testReadLogEntriesRequestHeadersFilled 0.024
testReadLogEntriesRequestHeadersName 0.021
testReadLogEntriesRequestHeadersValue 0.046
testReadLogEntriesRequestHttpVersion 0.021
testReadLogEntriesRequestMethod 0.031
testReadLogEntriesRequestPostData 0.028
testReadLogEntriesRequestQueryStringComment 0.02
testReadLogEntriesRequestQueryStringName 0.015
testReadLogEntriesRequestQueryStringValue 0.025
testReadLogEntriesRequestQueryStringsEmpty 0.016
testReadLogEntriesRequestQueryStringsFilled 0.014
testReadLogEntriesRequestUrl 0.027
testReadLogEntriesStartedDateTime 0.008
testReadLogEntriesTime 0.02
testReadLogNoBrowser 0.012
testReadLogNoCheck 0.021
testReadLogPages 0.012
testReadLogPagesComment 0.026
testReadLogPagesId 0.018
testReadLogPagesNull 0.021
testReadLogPagesPageTimimgsComment 0.016
testReadLogPagesPageTimimgsOnContentLoad 0.029
testReadLogPagesPageTimimgsOnLoad 0.016
testReadLogPagesPageTimings 0.017
testReadLogPagesStartedDateTime 0.02
testReadLogPagesTitle 0.046
testReadLogVersion 0.018
testReadLogWithCheck 0.019
testReaderCreation 0

RequiredAttributeTest

testCreationWithAttribute 0.001
testCreationWithParent 0.011
testEquals 0.001
testEqualsToNull 0.001
testEqualsWithDifferentAttribute 0.001
testEqualsWithDifferentParent 0.001
testEqualsWithObject 0.001
testEqualsWithSame 0.001
testToString 0.002