Summary

Tests Errors Failures Skipped Success Rate Time
304 0 0 0 100% 0.755

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

Package List

Package Tests Errors Failures Skipped Success Rate Time
com.atlassian.core.util.map 1 0 0 0 100% 0
com.atlassian.core.bean 9 0 0 0 100% 0.006
com.atlassian.core.user.preferences 11 0 0 0 100% 0.011
com.atlassian.core.cron 24 0 0 0 100% 0.009
com.atlassian.core.task 3 0 0 0 100% 0.013
com.atlassian.core.filters.legacy 8 0 0 0 100% 0.027
com.atlassian.core.logging 6 0 0 0 100% 0.007
com.atlassian.core.util.collection 17 0 0 0 100% 0.005
com.atlassian.core.util 66 0 0 0 100% 0.127
com.atlassian.core.spool 7 0 0 0 100% 0.02
com.atlassian.core.user 14 0 0 0 100% 0.026
com.atlassian.core.task.longrunning 1 0 0 0 100% 0.203
com.atlassian.core.cron.generator 43 0 0 0 100% 0.106
com.atlassian.core.util.filter 2 0 0 0 100% 0.002
com.atlassian.core.test.util 6 0 0 0 100% 0.006
com.atlassian.core.filters 33 0 0 0 100% 0.12
com.atlassian.core.filters.cache 9 0 0 0 100% 0.008
com.atlassian.core.filters.encoding 5 0 0 0 100% 0.006
com.atlassian.core.cron.parser 39 0 0 0 100% 0.053

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

com.atlassian.core.util.map

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

com.atlassian.core.bean

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

com.atlassian.core.user.preferences

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

com.atlassian.core.cron

Class Tests Errors Failures Skipped Success Rate Time
TestRoundTripParserGenerator 24 0 0 0 100% 0.009

com.atlassian.core.task

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

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

com.atlassian.core.logging

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

com.atlassian.core.util.collection

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

com.atlassian.core.util

Class Tests Errors Failures Skipped Success Rate Time
TestDateUtils 16 0 0 0 100% 0.014
TestFileSize 5 0 0 0 100% 0.006
TestFileUtils 8 0 0 0 100% 0.011
TestHTMLUtils 3 0 0 0 100% 0.005
TestImageInfo 4 0 0 0 100% 0.004
TestObjectUtils 2 0 0 0 100% 0.019
TestPropertyUtils 10 0 0 0 100% 0.056
TestStringUtils 14 0 0 0 100% 0.005
XMLUtilsTest 4 0 0 0 100% 0.007

com.atlassian.core.spool

Class Tests Errors Failures Skipped Success Rate Time
TestSpools 4 0 0 0 100% 0.016
TestSpoolStreams 3 0 0 0 100% 0.004

com.atlassian.core.user

Class Tests Errors Failures Skipped Success Rate Time
TestGroupUtils 6 0 0 0 100% 0.022
TestUserUtils 8 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.203

com.atlassian.core.cron.generator

Class Tests Errors Failures Skipped Success Rate Time
TestCronExpressionDescriptor 21 0 0 0 100% 0.083
TestCronExpressionGenerator 22 0 0 0 100% 0.023

com.atlassian.core.util.filter

Class Tests Errors Failures Skipped Success Rate Time
TestListFilter 2 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.006

com.atlassian.core.filters

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractEncodingFilter 5 0 0 0 100% 0.003
TestAbstractEncodingFilterCachingHeaders 3 0 0 0 100% 0.003
TestAbstractEncodingFilterContentLocationHandling 2 0 0 0 100% 0.07
TestAbstractEncodingFilterPunctuationReplacement 6 0 0 0 100% 0.005
TestHeaderSanitisingFilter 4 0 0 0 100% 0.013
TestHeaderSanitisingResponseWrapper 13 0 0 0 100% 0.026

com.atlassian.core.filters.cache

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractCachingFilter 5 0 0 0 100% 0.006
TestJspCachingStrategy 4 0 0 0 100% 0.002

com.atlassian.core.filters.encoding

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

com.atlassian.core.cron.parser

Class Tests Errors Failures Skipped Success Rate Time
TestCronDayOfWeekEntry 8 0 0 0 100% 0.019
TestCronExpressionParser 20 0 0 0 100% 0.009
TestCronHourEntry 8 0 0 0 100% 0.023
TestCronMinutesEntry 3 0 0 0 100% 0.002

Test Cases

EntityObjectTest

testEquals 0.001

TestMathBean

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

TestCronExpressionDescriptor

testGetPrettyScheduleInvalid 0.055
testGetPrettyScheduleDailyAt10 0.001
testGetPrettyScheduleDailyAt1035 0
testGetPrettyScheduleDailyBetween10And3Every2Hours 0.014
testGetPrettyScheduleDailyBetween9And2Every15Minutes 0
testGetPrettyScheduleDailyAllDayEvery15Minutes 0
testGetPrettyScheduleDailyAllDayEvery2Hours 0.001
testGetPrettyScheduleWithHoursAndMinutesIncrementsRoundTrips 0
testGetPrettyScheduleWithSingleHourAndMinutesIncrementsRoundTrips 0
testGetPrettyScheduleWithSingleHourRangeAndMinutesIncrementsRoundTrips 0
testGetPrettyScheduleDaysPerWeekMonday 0
testGetPrettyScheduleDaysPerWeekSunTueThu 0.001
testGetPrettyScheduleDaysPerWeekTueAndThurs 0.001
testGetPrettyScheduleDaysPerWeekMondayTueAndThurs 0
testGetPrettyScheduleDaysPerWeekMondayTueWithRange 0.001
testGetPrettyScheduleDaysPerMonthFirstOfMonth 0.001
testGetPrettyScheduleDaysPerMonthLastOfMonth 0
testGetPrettyScheduleDaysPerMonthSecondWednesday 0.001
testGetPrettyScheduleDaysPerMonthLastFriday 0
testGetPrettyScheduleAdvanced 0
testGetPrettyScheduleDaily10AMNonPreferredGeneratorFormat 0

TestCronExpressionGenerator

testDailyCronWithRunOnce 0.001
testDailyCronWithFromAndTo 0
testDayOfWeekWithRunOnce 0
testDayOfWeekWithFromTo 0
testDayOfMonth 0
testDayOfWeekOfMonth 0
testGenerateDailySpecWithIntervalAndRunOnce 0
testGenerateDailySpecWithNoIntervalAndNoRunOnce 0
testGenerateDailySpecRunOnce 0
testGenerateDailySpecRunOnceInMonthMode 0
testGenerateDailySpecFromToWithHourInterval 0
testGenerateDailySpecFromToWithMinuteInterval 0.001
testGenerateDailySpecWithEqualFromToMinuteInterval 0
testGenerateDailySpecWithEqualFromToHourInterval 0
testGenerateDaysOfWeekSpecWithDaysSet 0
testGenerateDaysOfWeekSpecWithDaysNotSet 0
testGenerateDayOfMonthSpecWithDayOfMonthSet 0
testGenerateDayOfMonthSpecWithDayOfMonthNotSet 0
testGenerateDayOfWeekOfMonthSpecLastMonday 0
testGenerateDayOfWeekOfMonthSpecSecondTuesday 0
testGenerateDayOfWeekOfMonthWithoutOrdinal 0
testGenerateDayOfWeekOfMonthWithoutSpecifiedDaysPerWeek 0

TestCronDayOfWeekEntry

testOrdinal 0
testDayOfWeekWithOrdinal 0
testDayOfWeekWithOrdinalLast 0
testDayOfWeekWithInvalidOrdinals 0.001
testDayOfWeekSpecifed 0
testValids 0
testInvalids 0.001
testGetDaysAsNumbers 0

TestCronExpressionParser

testDayOfWeekOfMonth 0
testDailySpecOncePerDay 0
testDailySpecEvery15MinutesForOneHourOnly 0.001
testDailySpecEvery15MinutesForOneHourOnlyUsingRange 0
testDailySpecEveryTwoHoursInRange 0
testDailySpecEveryFifteenMinutesOfEverySecondHourAllDay 0.001
testDailySpecEveryTwoHoursAllDay 0
testDailySpecWithInvalidFrequency 0
testMonthEntryIsInvalid 0
testDaysOfWeekIsValid 0
testInvalidCronStringPassesBackDefaultCronStrings 0
testInvalidCronStringGoesToAdvancedMode 0
testInvalidCronStringHourContainsComma 0.001
testDayOfMonthIsValid 0
testSingleDayOfWeek 0
testDefaultCronString 0
testEvery3Days 0.001
testDaily10am 0
testSecondsImpliesAdvanced 0
testYearIsAdvanced 0.001

TestCronHourEntry

testCronHoursEntryNoIncrementOrRange 0
testCronHoursEntryWithIncrementNoRange 0
testCronHoursEntryWithIncrementAndRange 0
testInvalidCronHours 0
testOutOfRange 0
test12HourEdgeCases 0
testStar 0
testStarWithIncrement 0

TestCronMinutesEntry

testInvalids 0
testOutOfRange 0
testMinutes 0.001

TestRoundTripParserGenerator

testHoursMinutes 0
testHoursWithIncrement3 0
testHoursWithIncrement2 0
testHoursWithIncrement1 0
testHourRangeWithMinutesIncrement15 0
testHourRangeWithMinutesIncrement30 0
testHourRangeStartingAtMidnight 0
testHourRangeEndingAtMidnight 0
testHourRangeAllDayWithIncrement15 0
testHourRangeAllDayWithIncrement120 0
testBothHourAndMinuteIncrements 0.001
testMinuteIncrementForSingleHour 0
testMinuteIncrementForSingleHourRange 0
testMidnight 0
testDayOfMonthRunOnce 0.001
testDayOfWeekRunOnce 0
testOneDayOfWeekRunOnce 0
testDayOfWeekFromTo 0
testDayOfWeekOfMonthRunOnce 0
testDayOfWeekOfMonthRunOnceLastOfMonth 0
testRunOnceAllDaysOfWeek 0
testYearMode 0
testAdvanced 0.001
testDefault 0

TestAbstractCachingFilter

testSubclassThatReturnsNull 0.001
testSubclassThatReturnsEmptyArray 0.001
testSingleStrategy 0.001
testTwoStrategies 0
testFirstStrategyMatches 0

TestJspCachingStrategy

testMatchesJspUrls 0
testMatchesJspaUrls 0
testDoesNotMatchOtherUrls 0.001
testCachingHeaders 0

TestAbstractEncodingFilter

testDefaultContentTypeAndEncodingAreSet 0

TestFixedHtmlEncodingResponseWrapper

testSetRawContentTypeAppendsEncoding 0.001
testSetHtmlContentTypeWithCharsetIsIgnored 0
testSetNonHtmlContentTypeWithCharsetWorks 0
testSetContentTypeHeaderIsAppliedWithoutChanges 0.001

TestNoContentLocationHeaderResponseWrapper

testCannotSetHeader 0
testCannotAddHeader 0

TestWordCurlyQuotesRequestWrapper

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

TestAbstractEncodingFilter

testDefaultContentTypeAndEncodingAreSet 0.001
testSetRawContentTypeAppendsEncoding 0.001
testSetHtmlContentTypeWithCharsetIsIgnored 0
testSetNonHtmlContentTypeWithCharsetWorks 0.001
testSetContentTypeHeaderIsAppliedWithoutChanges 0

TestAbstractEncodingFilterCachingHeaders

testNoCachingHeadersByDefault 0
testCachingHeadersAppliedToJspRequests 0
testCachingHeadersAppliedToJspaRequests 0.001

TestAbstractEncodingFilterContentLocationHandling

testContentLocationHeaderCannotBeSet 0.053
testContentLocationHeaderCannotBeAdded 0.001

TestAbstractEncodingFilterPunctuationReplacement

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

TestHeaderSanitisingFilter

testAlreadyFilteredNonHttpServletRequest 0.005
testAlreadyFilteredHttpServletRequest 0.005
testNotAlreadyFilteredHttpServletRequest 0
testNotAlreadyFilteredNonHttpServletRequest 0

TestHeaderSanitisingResponseWrapper

testCleanString 0.007
testAddCookie 0.01
testAddCookieNull 0
testSetContentType 0
testSetDateHeader 0
testAddDateHeader 0
testSetHeader 0
testAddHeader 0
testSetIntHeader 0.001
testAddIntHeader 0
testSendRedirect 0
testSendError 0
testSetStatus 0

TestThreadLocalErrorCollection

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

TestSpools

testByteArraySpool 0.002
testBufferedFileSpool 0.006
testSmartSpoolImmediateOverflow 0.007
testSmartSpoolNoImmediateOverflow 0

TestSpoolStreams

testDeferredSpoolOutputStreamInMemory 0.001
testDeferredSpoolOutputStreamToFile 0.001
testDeferredSpoolInputStreamRemovesSpoolOnClose 0.001

ErrorQueueTaskQueueTestCase

testTaskManager 0.003

TestLongRunningTask

testElapsedTime 0.201

MultiQueueTaskManagerTestCase

testTaskManager 0.001

TaskManagerTestCase

testTaskManager 0.006

TestDuckTypeProxy

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

TestDefaultPreferences

testPreferencesNotNull 0.004
testGettingLongPreference 0
testGettingStringPreference 0
testSettingDefaultMaxIssuesPreference 0
testGettingNonExistentPreference 0

TestUserPreferences

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

TestGroupUtils

testGroupMethods 0.016
testGetNullGroup 0
testRemoveGroup 0.002
testSortGroups 0
testGetGroups 0
testSortGroupNames 0

TestUserUtils

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

TestEasyList

testMergeListsWithItems 0.001
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

TestListFilter

testFilter 0.001
testRemove 0

EasyMapTest

testEasyMapKeyValues 0

TestDateUtils

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

TestFileSize

testLonglong 0
testFormat 0.001
testFormatLessThan1KB 0
testFormatLessThan1MB 0
testFormatGreaterThan1GB 0

TestFileUtils

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

TestHTMLUtils

testStripOutHtmlTags1 0.001
testStripOutHtmlTags2 0.001
testStripOuterHtmlTags3 0.003

TestImageInfo

testCheckJPeg 0.002
testCheckPng 0
testCheckGif 0
testCheckJPegWithInvalidData 0

TestObjectUtils

testIsDifferent 0.017
testIsIdentical 0

TestPropertyUtils

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

TestStringUtils

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

XMLUtilsTest

testNullInputHandling 0.006
testEscape 0
testCharEscape 0
testEscapeCDataSection 0