Summary

Tests Errors Failures Skipped Success Rate Time
176 0 0 0 100% 0.938

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

Package List

Package Tests Errors Failures Skipped Success Rate Time
test.atlassian.core.user 14 0 0 0 100% 0.023
com.atlassian.core.util.map 1 0 0 0 100% 0.007
test.atlassian.core.spool 7 0 0 0 100% 0.065
com.atlassian.core.bean 9 0 0 0 100% 0.009
com.atlassian.core.task 3 0 0 0 100% 0.022
com.atlassian.core.filters.legacy 8 0 0 0 100% 0.01
test.atlassian.core.logging 6 0 0 0 100% 0.012
com.atlassian.core.util.collection 17 0 0 0 100% 0.013
com.atlassian.core.util 61 0 0 0 100% 0.165
com.atlassian.core.task.longrunning 1 0 0 0 100% 0.208
test.atlassian.core.user.preferences 11 0 0 0 100% 0.166
com.atlassian.core.test.util 6 0 0 0 100% 0.01
com.atlassian.core.util.filter 2 0 0 0 100% 0.005
com.atlassian.core.filters 16 0 0 0 100% 0.201
com.atlassian.core.filters.cache 9 0 0 0 100% 0.012
com.atlassian.core.filters.encoding 5 0 0 0 100% 0.01

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

test.atlassian.core.user

Class Tests Errors Failures Skipped Success Rate Time
TestUserUtils 8 0 0 0 100% 0.013
TestGroupUtils 6 0 0 0 100% 0.01

com.atlassian.core.util.map

Class Tests Errors Failures Skipped Success Rate Time
EasyMapTest 1 0 0 0 100% 0.007

test.atlassian.core.spool

Class Tests Errors Failures Skipped Success Rate Time
TestSpoolStreams 3 0 0 0 100% 0.006
TestSpools 4 0 0 0 100% 0.059

com.atlassian.core.bean

Class Tests Errors Failures Skipped Success Rate Time
TestMathBean 8 0 0 0 100% 0.006
EntityObjectTest 1 0 0 0 100% 0.003

com.atlassian.core.task

Class Tests Errors Failures Skipped Success Rate Time
TaskManagerTestCase 1 0 0 0 100% 0.013
ErrorQueueTaskQueueTestCase 1 0 0 0 100% 0.005
MultiQueueTaskManagerTestCase 1 0 0 0 100% 0.004

com.atlassian.core.filters.legacy

Class Tests Errors Failures Skipped Success Rate Time
TestNoContentLocationHeaderResponseWrapper 2 0 0 0 100% 0.001
TestWordCurlyQuotesRequestWrapper 6 0 0 0 100% 0.009

test.atlassian.core.logging

Class Tests Errors Failures Skipped Success Rate Time
TestThreadLocalErrorCollection 6 0 0 0 100% 0.012

com.atlassian.core.util.collection

Class Tests Errors Failures Skipped Success Rate Time
TestEasyList 17 0 0 0 100% 0.013

com.atlassian.core.util

Class Tests Errors Failures Skipped Success Rate Time
TestStringUtils 14 0 0 0 100% 0.008
TestImageInfo 4 0 0 0 100% 0.006
TestHTMLUtils 3 0 0 0 100% 0.019
XMLUtilsTest 1 0 0 0 100% 0.009
TestObjectUtils 2 0 0 0 100% 0.025
TestFileUtils 8 0 0 0 100% 0.058
TestPropertyUtils 10 0 0 0 100% 0.008
TestDateUtils 14 0 0 0 100% 0.028
TestFileSize 5 0 0 0 100% 0.004

com.atlassian.core.task.longrunning

Class Tests Errors Failures Skipped Success Rate Time
TestLongRunningTask 1 0 0 0 100% 0.208

test.atlassian.core.user.preferences

Class Tests Errors Failures Skipped Success Rate Time
TestUserPreferences 6 0 0 0 100% 0.161
TestDefaultPreferences 5 0 0 0 100% 0.005

com.atlassian.core.test.util

Class Tests Errors Failures Skipped Success Rate Time
TestDuckTypeProxy 6 0 0 0 100% 0.01

com.atlassian.core.util.filter

Class Tests Errors Failures Skipped Success Rate Time
TestListFilter 2 0 0 0 100% 0.005

com.atlassian.core.filters

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractEncodingFilterPunctuationReplacement 6 0 0 0 100% 0.011
TestAbstractEncodingFilter 5 0 0 0 100% 0.006
TestAbstractEncodingFilterContentLocationHandling 2 0 0 0 100% 0.162
TestAbstractEncodingFilterCachingHeaders 3 0 0 0 100% 0.022

com.atlassian.core.filters.cache

Class Tests Errors Failures Skipped Success Rate Time
TestJspCachingStrategy 4 0 0 0 100% 0.003
TestAbstractCachingFilter 5 0 0 0 100% 0.009

com.atlassian.core.filters.encoding

Class Tests Errors Failures Skipped Success Rate Time
TestFixedHtmlEncodingResponseWrapper 4 0 0 0 100% 0.007
TestAbstractEncodingFilter 1 0 0 0 100% 0.003

Test Cases

TestAbstractEncodingFilterPunctuationReplacement

testUnicodePunctuationRemovedFromParametersInUtf8 0.002
testPunctuationRemovedByGetParameterValues 0.005
testPunctuationRemovedByGetParameterMap 0
testWindows1252PunctuationRemovedFromParametersInLatin1 0.001
testUnicodePunctuationRemovedFromParametersInWindows1252 0.001
testParametersUnchangedInUtf16 0

TestUserPreferences

testGettingNonExistentPreference 0.15
testGettingMaxIssuesPreferenceNoUser 0.001
testSettingMaxIssuesPreferenceNoUser 0.002
testGettingMaxIssuesPreferenceWithUser 0.003
testSettingMaxIssuesPreferenceWithUser 0
testHashCodeEquals 0

TestStringUtils

testUTF 0.001
testISO8859 0
testNormalString 0
testNull 0
testHighRangeStrings 0
testInvalidControlCharacters 0
testOnlyControlCharacters 0
testReplaceAll 0.001
testReplaceAllDips 0
testStringAllASCII 0
testStringISO_8859_1 0.001
testEqualsIgnoreLineTerminators 0
testSplitCommaSeperatedString 0.001
testCreateCommaSeperatedString 0

TaskManagerTestCase

testTaskManager 0.011

TestImageInfo

testCheckJPeg 0.004
testCheckPng 0
testCheckGif 0.001
testCheckJPegWithInvalidData 0

TestAbstractEncodingFilter

testDefaultContentTypeAndEncodingAreSet 0.001
testSetRawContentTypeAppendsEncoding 0.001
testSetHtmlContentTypeWithCharsetIsIgnored 0.001
testSetNonHtmlContentTypeWithCharsetWorks 0.001
testSetContentTypeHeaderIsAppliedWithoutChanges 0.001

TestHTMLUtils

testStripOutHtmlTags1 0.002
testStripOutHtmlTags2 0.001
testStripOuterHtmlTags3 0.014

ErrorQueueTaskQueueTestCase

testTaskManager 0.005

TestNoContentLocationHeaderResponseWrapper

testCannotSetHeader 0
testCannotAddHeader 0

EasyMapTest

testEasyMapKeyValues 0.006

XMLUtilsTest

testEscape 0.001

TestThreadLocalErrorCollection

testDisabledPreventsAddingErrorMessages 0.002
testEnabledAllowsErrorMessages 0.001
testToggle 0
testLimitNormal 0.001
testLimitDefault 0.001
testLimitMutated 0.001

TestObjectUtils

testIsDifferent 0.023
testIsIdentical 0

TestMathBean

testPercentageWidth 0
testAdd 0
testSubstract 0
testMultiply 0
testDivide 0
testLongDivide 0
testLongDivide2 0
testPercentage 0.001

TestUserUtils

testGetAllUsers 0
testGetUsersByEmailNoEmailAddress 0
testGetUsersFromNoGroup 0
testGetUsersFromGroups 0.001
testCreateUser 0.001
testRemoveUser 0
testGetUserByEmailWithWhiteInEmailAddress 0.001
testGetMultipleUserByEmailWithWhiteInEmailAddress 0

TestSpoolStreams

testDeferredSpoolOutputStreamInMemory 0.003
testDeferredSpoolOutputStreamToFile 0.002
testDeferredSpoolInputStreamRemovesSpoolOnClose 0

TestFileUtils

testCopyFile 0.005
testCopy 0.001
testShutdownInputStream 0
testShutdownInputStreamWithException 0
testShutdownOutputStream 0
testShutdownOutputStreamWithException 0
testSaveTestFile 0.001
testMoveDir 0.033

TestDuckTypeProxy

testProxyReturns 0.004
testProxyThrows 0
testProxyThrowsTarget 0.001
testProxyDelegatesToSecond 0
testNotNullParameter 0.001
testNullParameter 0

TestListFilter

testFilter 0.001
testRemove 0

TestAbstractEncodingFilterContentLocationHandling

testContentLocationHeaderCannotBeSet 0.141
testContentLocationHeaderCannotBeAdded 0.002

TestAbstractEncodingFilterCachingHeaders

testNoCachingHeadersByDefault 0.019
testCachingHeadersAppliedToJspRequests 0.001
testCachingHeadersAppliedToJspaRequests 0.001

TestLongRunningTask

testElapsedTime 0.205

TestGroupUtils

testGroupMethods 0.004
testGetNullGroup 0
testRemoveGroup 0.001
testSortGroups 0.001
testGetGroups 0
testSortGroupNames 0

TestPropertyUtils

testIdenticalWithNulls 0.001
testIdenticalWithDifferentKeys 0.001
testIdenticalWithBooleans 0
testIdenticalWithDates 0.001
testIdenticalWithDoubles 0
testIdenticalWithInts 0
testIdenticalWithLongs 0
testIdenticalWithStrings 0.001
testIdenticalWithTexts 0
testIdenticalWithAllMultipleValues 0.001

TestDateUtils

testEqualTimeStamps1 0.012
testEqualTimeStamps2 0
testEqualTimeStamps3 0.001
testEqualTimeStamps4 0
testDateDifference1 0.001
testGetDuration 0.004
testGetDuration2 0.001
testGetDurationWithNegative 0
testDurationString 0.001
testDurationStringWithNegative 0
testDurationPretty 0.001
testDurationPrettySecondsResolution 0
testToEndOfPeriod 0
testToStartOfPeriod 0

EntityObjectTest

testEquals 0.001

TestDefaultPreferences

testPreferencesNotNull 0
testGettingLongPreference 0
testGettingStringPreference 0
testSettingDefaultMaxIssuesPreference 0
testGettingNonExistentPreference 0

MultiQueueTaskManagerTestCase

testTaskManager 0.003

TestEasyList

testMergeListsWithItems 0.001
testMergeListWithAllNulls 0
testMergeListOneNull 0
testMergeListTwoNulls 0
testSplitListWithNull 0
testSplitListWithSmallList 0
testSplitListWithEqualListSizeAndSublength 0
testSplitListWithLargeList 0.001
testSplitWithSameSizeList 0
testBuild1 0
testBuild2 0.001
testBuild3 0
testBuild4 0
testBuild5 0.001
testBuild6 0
testBuild7 0
testBuild8 0.001

TestWordCurlyQuotesRequestWrapper

testUnicodePunctuationRemovedFromParametersInUtf8 0.002
testPunctuationRemovedByGetParameterValues 0.001
testPunctuationRemovedByGetParameterMap 0.001
testWindows1252PunctuationRemovedFromParametersInLatin1 0
testUnicodePunctuationRemovedFromParametersInWindows1252 0
testParametersUnchangedInUtf16 0.001

TestFixedHtmlEncodingResponseWrapper

testSetRawContentTypeAppendsEncoding 0.002
testSetHtmlContentTypeWithCharsetIsIgnored 0.001
testSetNonHtmlContentTypeWithCharsetWorks 0.002
testSetContentTypeHeaderIsAppliedWithoutChanges 0

TestSpools

testByteArraySpool 0.003
testBufferedFileSpool 0.031
testSmartSpoolImmediateOverflow 0.022
testSmartSpoolNoImmediateOverflow 0.001

TestFileSize

testLonglong 0.001
testFormat 0
testFormatLessThan1KB 0
testFormatLessThan1MB 0
testFormatGreaterThan1GB 0.001

TestJspCachingStrategy

testMatchesJspUrls 0
testMatchesJspaUrls 0
testDoesNotMatchOtherUrls 0
testCachingHeaders 0

TestAbstractEncodingFilter

testDefaultContentTypeAndEncodingAreSet 0.001

TestAbstractCachingFilter

testSubclassThatReturnsNull 0.002
testSubclassThatReturnsEmptyArray 0.001
testSingleStrategy 0.001
testTwoStrategies 0.002
testFirstStrategyMatches 0.001