Summary

Tests Errors Failures Skipped Success Rate Time
175 0 0 0 100% 0.729

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.013
test.atlassian.core.spool 7 0 0 0 100% 0.061
com.atlassian.core.bean 9 0 0 0 100% 0.004
com.atlassian.core.task 3 0 0 0 100% 0.036
com.atlassian.core.filters.legacy 8 0 0 0 100% 0.012
test.atlassian.core.logging 6 0 0 0 100% 0.009
com.atlassian.core.util.collection 17 0 0 0 100% 0.009
com.atlassian.core.util 61 0 0 0 100% 0.101
com.atlassian.core.task.longrunning 1 0 0 0 100% 0.207
test.atlassian.core.user.preferences 11 0 0 0 100% 0.144
com.atlassian.core.test.util 6 0 0 0 100% 0.009
com.atlassian.core.util.filter 2 0 0 0 100% 0.004
com.atlassian.core.filters 16 0 0 0 100% 0.104
com.atlassian.core.filters.cache 9 0 0 0 100% 0.009
com.atlassian.core.filters.encoding 5 0 0 0 100% 0.007

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.006
TestGroupUtils 6 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.019
TestSpools 4 0 0 0 100% 0.042

com.atlassian.core.bean

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

com.atlassian.core.task

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

com.atlassian.core.filters.legacy

Class Tests Errors Failures Skipped Success Rate Time
TestNoContentLocationHeaderResponseWrapper 2 0 0 0 100% 0.002
TestWordCurlyQuotesRequestWrapper 6 0 0 0 100% 0.01

test.atlassian.core.logging

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

com.atlassian.core.util.collection

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

com.atlassian.core.util

Class Tests Errors Failures Skipped Success Rate Time
TestStringUtils 14 0 0 0 100% 0.007
TestImageInfo 4 0 0 0 100% 0.004
TestHTMLUtils 3 0 0 0 100% 0.016
XMLUtilsTest 1 0 0 0 100% 0.003
TestObjectUtils 2 0 0 0 100% 0.022
TestFileUtils 8 0 0 0 100% 0.017
TestPropertyUtils 10 0 0 0 100% 0.006
TestDateUtils 14 0 0 0 100% 0.023
TestFileSize 5 0 0 0 100% 0.003

com.atlassian.core.task.longrunning

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

test.atlassian.core.user.preferences

Class Tests Errors Failures Skipped Success Rate Time
TestUserPreferences 6 0 0 0 100% 0.142
TestDefaultPreferences 5 0 0 0 100% 0.002

com.atlassian.core.test.util

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

com.atlassian.core.util.filter

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

com.atlassian.core.filters

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractEncodingFilterPunctuationReplacement 6 0 0 0 100% 0.01
TestAbstractEncodingFilter 5 0 0 0 100% 0.005
TestAbstractEncodingFilterContentLocationHandling 2 0 0 0 100% 0.086
TestAbstractEncodingFilterCachingHeaders 3 0 0 0 100% 0.003

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.006

com.atlassian.core.filters.encoding

Class Tests Errors Failures Skipped Success Rate Time
TestFixedHtmlEncodingResponseWrapper 4 0 0 0 100% 0.005
TestAbstractEncodingFilter 1 0 0 0 100% 0.002

Test Cases

TestAbstractEncodingFilterPunctuationReplacement

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

TestUserPreferences

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

TestStringUtils

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

TaskManagerTestCase

testTaskManager 0.025

TestImageInfo

testCheckJPeg 0.003
testCheckPng 0.001
testCheckGif 0
testCheckJPegWithInvalidData 0

TestAbstractEncodingFilter

testDefaultContentTypeAndEncodingAreSet 0
testSetRawContentTypeAppendsEncoding 0.001
testSetHtmlContentTypeWithCharsetIsIgnored 0
testSetNonHtmlContentTypeWithCharsetWorks 0
testSetContentTypeHeaderIsAppliedWithoutChanges 0.001

TestHTMLUtils

testStripOutHtmlTags1 0.001
testStripOutHtmlTags2 0
testStripOuterHtmlTags3 0.013

ErrorQueueTaskQueueTestCase

testTaskManager 0.004

TestNoContentLocationHeaderResponseWrapper

testCannotSetHeader 0
testCannotAddHeader 0

XMLUtilsTest

testEscape 0

TestThreadLocalErrorCollection

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

TestObjectUtils

testIsDifferent 0.021
testIsIdentical 0

TestMathBean

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

TestUserUtils

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

TestSpoolStreams

testDeferredSpoolOutputStreamInMemory 0.007
testDeferredSpoolOutputStreamToFile 0.002
testDeferredSpoolInputStreamRemovesSpoolOnClose 0.001

TestFileUtils

testCopyFile 0.004
testCopy 0.001
testShutdownInputStream 0
testShutdownInputStreamWithException 0
testShutdownOutputStream 0
testShutdownOutputStreamWithException 0
testSaveTestFile 0
testMoveDir 0.002

TestDuckTypeProxy

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

TestListFilter

testFilter 0.001
testRemove 0

TestAbstractEncodingFilterContentLocationHandling

testContentLocationHeaderCannotBeSet 0.067
testContentLocationHeaderCannotBeAdded 0.001

TestAbstractEncodingFilterCachingHeaders

testNoCachingHeadersByDefault 0
testCachingHeadersAppliedToJspRequests 0.001
testCachingHeadersAppliedToJspaRequests 0

TestLongRunningTask

testElapsedTime 0.205

TestGroupUtils

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

TestPropertyUtils

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

TestDateUtils

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

EntityObjectTest

testEquals 0

TestDefaultPreferences

testPreferencesNotNull 0
testGettingLongPreference 0
testGettingStringPreference 0
testSettingDefaultMaxIssuesPreference 0
testGettingNonExistentPreference 0

MultiQueueTaskManagerTestCase

testTaskManager 0.002

TestEasyList

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

TestWordCurlyQuotesRequestWrapper

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

TestFixedHtmlEncodingResponseWrapper

testSetRawContentTypeAppendsEncoding 0.001
testSetHtmlContentTypeWithCharsetIsIgnored 0
testSetNonHtmlContentTypeWithCharsetWorks 0.001
testSetContentTypeHeaderIsAppliedWithoutChanges 0.001

TestSpools

testByteArraySpool 0.002
testBufferedFileSpool 0.016
testSmartSpoolImmediateOverflow 0.021
testSmartSpoolNoImmediateOverflow 0.001

TestFileSize

testLonglong 0
testFormat 0
testFormatLessThan1KB 0
testFormatLessThan1MB 0.001
testFormatGreaterThan1GB 0

TestJspCachingStrategy

testMatchesJspUrls 0.001
testMatchesJspaUrls 0
testDoesNotMatchOtherUrls 0.001
testCachingHeaders 0

TestAbstractEncodingFilter

testDefaultContentTypeAndEncodingAreSet 0.001

TestAbstractCachingFilter

testSubclassThatReturnsNull 0.001
testSubclassThatReturnsEmptyArray 0.001
testSingleStrategy 0.001
testTwoStrategies 0.002
testFirstStrategyMatches 0