magnolia-module-forum Version: 1.3-beta6 Last Published: Feb 16, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
25000100%0.595

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.module.forum20000100%0.563
info.magnolia.module.forum.frontend2000100%0.022
info.magnolia.module.forum.frontend.action3000100%0.01

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

info.magnolia.module.forum

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultForumManagerTest20000100%0.563

info.magnolia.module.forum.frontend

ClassTestsErrors FailuresSkippedSuccess RateTime
ForumControllerTest2000100%0.022

info.magnolia.module.forum.frontend.action

ClassTestsErrors FailuresSkippedSuccess RateTime
ThreadViewTest3000100%0.01

Test Cases

[Summary] [Package List] [Test Cases]

DefaultForumManagerTest

testCreatingForumShouldUseUniqueCleanUpNameAndAddTitleProperty0.347
testCreatingForumShouldCleanUpNameAddTitlePropertyAndCreateAdhocRoles0.029
testGetThreadsShouldOnlyReturnValidatedThreadsIfShowUnvalidatedMessagesIsFalse0.117
testGetThreadsShouldAlsoReturnUnvalidatedThreadsIfShowUnvalidatedMessagesIsTrue0.004
testCreatingThreadShouldCreateShortTitleAndAddFirstMessageAppropriately0.002
testDeletingMessageShouldUpdateLastMessageInThreadAndForumAppropriately0.002
testDeletingInTheMiddleMessage0.001
testDeletingFirstMessage0.003
testDeletingLastThreadShouldRemoveLastMessageAppropriately0.001
testDeletingThreadShouldReplaceLastMessageAppropriately0.002
testDeletingThreadShouldCheckDateAndReplaceLastMessageAppropriately0.003
testAnonymousPostShouldFillInPropertiesAppropriately0.002
testNewMessageInThreadShouldCreateNodeInThreadAndUpdateForumLastMessageProperty0.001
testReplyingToAMessageShouldNotCreateChildNodeOfOriginalMessageButShouldAddReference0.002
testCanNotCreateThreadWithoutTitle0
testCanReplyToThreadWithoutTitle0.001
testBuildsProperMessagesQuery0.001
testBuildsProperMessagesQueryWithOrderClause0
testThrowsExceptionIfForumLockedAndNotModerator0.002
testCanCreateThreadIfForumLockedAndModerator0.001

ThreadViewTest

testPageCountIsCalculatedProperlyBasedConfigMessagesPerPage0.008
testPageCountIsCalculatedProperlyWhenTotalSmallerThanConfigMessagesPerPage0.001
testPageCountIsZeroWhenConfigMessagesPerPageIsZero0.001

ForumControllerTest

testRedirectsToGivenURLIfCommandReturnsAValue0.021
testRedirectsToRefererIfCommandDidNotReturnAValueAndRequestDoesContainsTargetPage0.001