Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
295 0 6 0 97.966% 114.578

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.varienaja.comments 3 0 0 0 100% 0.081
org.musicontroller.dao 18 0 0 0 100% 0.591
org.musicontroller.service 52 0 0 0 100% 5.265
org.varienaja.util 10 0 0 0 100% 51.88
org.musicontroller.test.coverart 12 0 0 0 100% 6.309
org.musicontroller.test.db 36 0 3 0 91.667% 0.975
org.musicontroller 5 0 0 0 100% 0.202
org.varienaja.util.wikipedia 18 0 0 0 100% 13.656
org.musicontroller.test 12 0 2 0 83.333% 2.909
org.musicontroller.repair.test 2 0 0 0 100% 2.758
org.musicontroller.gui.edit 10 0 0 0 100% 0.012
org.musicontroller.core 67 0 1 0 98.507% 23.82
org.musicontroller.core.jobs 19 0 0 0 100% 1.245
org.musicontroller.rss 3 0 0 0 100% 3.437
org.musicontroller.importer 20 0 0 0 100% 0.664
org.musicontroller.songselection 6 0 0 0 100% 0.088
org.musicontroller.streaming 2 0 0 0 100% 0.686

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

org.varienaja.comments

Class Tests Errors Failures Skipped Success Rate Time
TestCommentService 3 0 0 0 100% 0.081

org.musicontroller.dao

Class Tests Errors Failures Skipped Success Rate Time
TestBagAndKeywordUtils 16 0 0 0 100% 0.547
TestDao 1 0 0 0 100% 0.001
TestHibernateDao 1 0 0 0 100% 0.043

org.musicontroller.service

Class Tests Errors Failures Skipped Success Rate Time
TestFileUtils 9 0 0 0 100% 0.007
TestMcService 41 0 0 0 100% 5.255
TestUserServiceImpl 2 0 0 0 100% 0.003

org.varienaja.util

Class Tests Errors Failures Skipped Success Rate Time
TestDenseSet 6 0 0 0 100% 51.82
TestFileMove 2 0 0 0 100% 0.057
TestFileOperations 2 0 0 0 100% 0.003

org.musicontroller.test.coverart

Class Tests Errors Failures Skipped Success Rate Time
CoverArtTest 1 0 0 0 100% 3.81
TestCoverArtManager 7 0 0 0 100% 0.123
TestCoverArtSearchResult 3 0 0 0 100% 0.002
TestImageScaler 1 0 0 0 100% 2.374

org.musicontroller.test.db

Class Tests Errors Failures Skipped Success Rate Time
DaoTest 21 0 3 0 85.714% 0.552
TestBagAndKeywordUtils 15 0 0 0 100% 0.423

org.musicontroller

Class Tests Errors Failures Skipped Success Rate Time
TestDJFactory 4 0 0 0 100% 0.201
TestMusiControllerException 1 0 0 0 100% 0.001

org.varienaja.util.wikipedia

Class Tests Errors Failures Skipped Success Rate Time
TestContentHelper 4 0 0 0 100% 0.003
TestWikipediaSearcher 14 0 0 0 100% 13.653

org.musicontroller.test

Class Tests Errors Failures Skipped Success Rate Time
DJTest 1 0 0 0 100% 0.021
FileUtilsTestCase 1 0 0 0 100% 0.003
LuceneTest 2 0 0 0 100% 0.263
SongSelectionTest 2 0 2 0 0% 2.618
TestDatabaseBuilder 1 0 0 0 100% 0.001
TestKeywordUtils 1 0 0 0 100% 0.001
TestMusicArchiveEntryBean 4 0 0 0 100% 0.002

org.musicontroller.repair.test

Class Tests Errors Failures Skipped Success Rate Time
TestMergeArtistCopies 1 0 0 0 100% 2.611
TestRemoveUnusedAiBags 1 0 0 0 100% 0.147

org.musicontroller.gui.edit

Class Tests Errors Failures Skipped Success Rate Time
TestAiRelationBean 1 0 0 0 100% 0.003
TestPlaylistMergeBean 1 0 0 0 100% 0.001
TestSongBean 1 0 0 0 100% 0.001
TestTrackList 7 0 0 0 100% 0.007

org.musicontroller.core

Class Tests Errors Failures Skipped Success Rate Time
TestAIBag 2 0 0 0 100% 0.001
TestAIRelation 3 0 0 0 100% 0.003
TestArtist 6 0 0 0 100% 0.003
TestBand 1 0 0 0 100% 0.001
TestContract_BA 2 0 0 0 100% 0.016
TestContract_PS 3 0 0 0 100% 0.003
TestContract_SK 2 0 0 0 100% 0.001
TestEvent 3 0 0 0 100% 0.002
TestEventkind 2 0 0 0 100% 0.019
TestInstrument 2 0 0 0 100% 0.002
TestKeyword 10 0 0 0 100% 0.012
TestKeywordBag 3 0 0 0 100% 0.002
TestLink 2 0 0 0 100% 0.002
TestPlaylist 7 0 0 0 100% 0.006
TestRole 1 0 0 0 100% 0.007
TestSong 18 0 1 0 94.444% 23.74

org.musicontroller.core.jobs

Class Tests Errors Failures Skipped Success Rate Time
TestArchiveNameGuessing 7 0 0 0 100% 0.36
TestImportJob 5 0 0 0 100% 0.83
TestMetaDataExtractJob 6 0 0 0 100% 0.053
TestRename 1 0 0 0 100% 0.002

org.musicontroller.rss

Class Tests Errors Failures Skipped Success Rate Time
RssServiceTest 3 0 0 0 100% 3.437

org.musicontroller.importer

Class Tests Errors Failures Skipped Success Rate Time
TestImporterException 1 0 0 0 100% 0.001
TestImporterImpl 7 0 0 0 100% 0.637
TestMusicArchiveBean 8 0 0 0 100% 0.014
TestPlaylistImportProperties 2 0 0 0 100% 0.001
TestTrackNumberParser 2 0 0 0 100% 0.011

org.musicontroller.songselection

Class Tests Errors Failures Skipped Success Rate Time
TestAdvancedSongSelector 1 0 0 0 100% 0.034
TestRandomCandidateSelector 5 0 0 0 100% 0.054

org.musicontroller.streaming

Class Tests Errors Failures Skipped Success Rate Time
MpegStreamTest 2 0 0 0 100% 0.686

Test Cases

TestArchiveNameGuessing

testGuessNullBean 0.001
testGuessEmptyBean 0
testGuessSmallBean 0.001
testGuessBigBean 0.038
testGuessBigNonUniquePlaylistBean 0.072
testGuessBigNonUniqueBandBean 0.199
testGuessBigNonUniqueBandNonUniquePlaylistBean 0.046

TestImportJob

testUnpackingSimple 0.116
testUnpackingNonAscii 0.011
testMetadataFinder 0.637
testIndexStorage 0.026
testDummy 0.016

TestMetaDataExtractJob

testGuessNameEmpty 0
testGuessNameNormal 0.001
testGuessNameVariousBandName 0.001
testGuessNameVariousBandNamePlaylistNam 0.001
testGuessNameBandNameIllegal 0.001
testRemoveArchiveBean 0.046

TestRename

testRenameWithBraces 0.001

TestAIBag

testEquals 0.001
testHashCode 0

TestAIRelation

testEquals 0.001
testHashCode 0
testAIRelation 0

TestArtist

testEquals 0.001
testHashCode 0
testArtist 0
testGetFormattedName 0
testAddBand 0
testSetBands 0

TestBand

testEquals 0

TestContract_BA

testBegindateProperty 0.001
testEnddateProperty 0

TestContract_PS

testEquals 0.001
testCompareTo 0
testToString 0.001

TestContract_SK

testConstructor 0.001
testProperties 0

TestEvent

testEquals 0
testCompareTo 0
testGetDescription 0

TestEventkind

testConstructor 0.018
testProperties 0

TestInstrument

testEquals 0
testArtist 0.001

TestKeyword

testHashCode 0
testKeyword 0.001
testKeywordFactoryMethods 0
testKeywordEquality 0
testCycles 0
testSimilarity 0.001
testSimilarityInvalid 0.001
testIschildOf 0
testCalculateSimilarity 0
testHierarchy 0.003

TestKeywordBag

testToString 0.001
testKeywordBag 0
testKeywordBagEquality 0.001

TestLink

testKeyword 0
testConstructorWithArgument 0.001

TestPlaylist

testEquals 0
testKeyword 0.001
testAddSong 0.001
testCreateInstance 0
testGetSongAtIndex 0.001
testGetFormattedReleaseDate 0.001
testGetRownumberOfSong 0

TestRole

testKeyword 0.006

TestSong

testEquals 0
testToString 0
testSong 0.001
testSongnameSetter 0
testAddRequestedEvent 0.001
testAddSkippedEvent 0
testAddDownloadedEvent 0.001
testSetEventsNull 0
testSetPlaylists 0
testListKeywords 0
testListPlaylists 0.011
testGetFormattedLength 0
testGetPlaycount 0
testGetRequestcount 0.001
testGetSkipcount 0
testGetEventcount 0.001
testGetLastPlay 0
wrong last play date. expected:<Wed Jun 01 00:00:00 CEST 2005> but was:<Mon Jun 14 16:38:07 CEST 2010>
testEvencountLookup 23.715

TestBagAndKeywordUtils

testListKeywords 0.045
testGetArtistAppearancesQuery 0.032
testAddKeywordToBag 0.015
testAddKeywordToSong 0.063
testGetKeyword 0.024
testHqlForGettingKeywordBagContainingExactSetOfKeywords 0.024
testGetKeywordBag 0.03
testGetKeywordBagListOfkeywords 0.023
testGetBags 0.017
testGetKeywordList 0.014
testBuildAiRelationBeanList 0.025
testCreateRelations 0.018
testGetAIBag 0.033
testGetAIBag2 0.034
testGetAIBag3 0.077
testGetAIBag4 0.063

TestDao

testDummy 0

TestHibernateDao

testForgottenSongs 0.042

TestAiRelationBean

testComparator 0.002

TestPlaylistMergeBean

testKeyword 0.001

TestSongBean

testSongBean 0.001

TestTrackList

testCreateInstance 0
testTrackList 0
testTrackListEquality 0
testCreateInstanceFromPlaylist 0
testContains 0
testTracklistShorthand 0.001
testTracklistContainsAll 0.001

TestImporterException

testConstructor 0

TestImporterImpl

testConstructor 0.383
testDaoProperty 0.028
testMcServiceProperty 0.027
testImportMusic 0.107
testImportMusicInvalidSongName 0.046
testImportMusicNoArchiveName 0.024
testImportMusicNull 0.019

TestMusicArchiveBean

testGetPlaylistNames 0.001
testAnalyseMusicArchive 0.002
testAddEntry 0.001
testGetEntrySet 0.001
testPlaylistPropertySet 0.001
testPlaylistProperties 0
testArchiveName 0
testReleaseDate 0.002

TestPlaylistImportProperties

testConstructor 0.001
testProperties 0

TestTrackNumberParser

testConstructor 0
testParseTrackNumber 0.001

TestMergeArtistCopies

dummyTest 2.61

TestRemoveUnusedAiBags

testRemoveUnusedAiBags 0.147

RssServiceTest

testReading 1.748
testReadingFromURL 1.049
testReadWrite 0.639

TestFileUtils

testConstructor 0
testProperties 0
testGetStorageHashname 0.001
testGetNewSongDestination 0.001
testGetNewSongMP3DestinationInvalid 0
testGetNewSongMP3DestinationInvalid2 0.001
testGetNewSongMP3DestinationInvalid3 0
testGetNewSongMP3DestinationInvalid4 0
testGetRelativeFileLocation 0

TestMcService

testAddBand 0.137
testListKeywords 0.168
testAddMusician 0.207
testAddMusicianNullTracks 0.155
testAddMusicianOnSong 0.08
testDeleteMusician 0.095
testDeleteMusicianNullTracks 0.102
testDeleteMusicianOnSong 0.1
testEditSongs 0.067
testAddSongToPlaylist 0.08
testAddKeywordsToPlaylist 0.145
testAddKeywordsToPlaylist2 0.074
testRemoveKeywordsFromPlaylist 0.079
testRemoveKeywordsFromPlaylist2 0.074
testSetPlaylistProperties 0.083
testCreatePlaylist 0.034
testMergePlaylist 0.057
testConstructSongBeanList 0.128
testConstructPlaylistMergeBeanList 0.137
testGetCoverArtList 2.165
testCreateSong 0.03
testGetSongById 0.055
testGetUpcoming 0.155
testGetUpcomingConcurrentModification 0.034
testSetSongProperties 0.151
testGetSongPlaylists 0.049
testGetSongNeighbours 0.044
testGetSongsByBand 0.034
testGetBandById 0.026
testGetBandPlaylists 0.032
testSetBandProperties 0.018
testListBands 0.059
testGetKeywordById 0.024
testGetKeywordBagsWithKeywords 0.039
testSetPlaylistCoverArt 0.03
testSetPlaylistCoverArtNonAbsolute 0.026
testGetPlaylistById 0.03
testFindImportedPlaylist 0.049
testGuessPlaylistsInArchive 0.1
testGuessBandNameOfArchive 0.017
testSearchPlaylist 0.058

TestUserServiceImpl

setProperties 0.002
testConstructor 0.001

TestAdvancedSongSelector

testCalculateScore 0.033

TestRandomCandidateSelector

testConstructor 0.001
testPlayRequestsInOrder 0.014
testPlayRequestsAtRandom 0.002
testSongSelection 0.003
testLimits 0.033

MpegStreamTest

testStream 0.47
testStreamLength 0.215

CoverArtTest

testYahoo 3.81

TestCoverArtManager

testContains 0.012
testAdd 0.003
testGet 0.003
testPurge 0.062
testPurgePrefix 0.018
testScale 0.02
testDummy 0.002

TestCoverArtSearchResult

testEquals 0
testEqualsNullUrl 0
testSorting 0

TestImageScaler

testScaling 2.373

DaoTest

testListKeywords 0.061
testGetSongById 0.015
testGetBandById 0.014
testListBands 0.022
testGetKeywordById 0.044
testSearchPlaylist 0.035
testGetSongIds 0.012
testGetKeywordbagById 0.019
testGetArtistById 0.014
testGetAiBagById 0.028
The new AIBag should be retrievable.
testGetInstrumentById 0.04
testGetSong 0.032
testSongsByBand 0.019
testSearchBand 0.017
testBandsListerHql 0.027
testListKeywordsbags 0.025
testSearchKeyword 0.014
testSearchArtist 0.015
testMergePlaylists 0.016
testDeleteArtist 0.019
testDeleteAiBag 0.05

TestBagAndKeywordUtils

testListKeywords 0.052
testAddKeywordToBag 0.016
testAddKeywordToSong 0.016
testGetKeyword 0.015
testHqlForGettingKeywordBagContainingExactSetOfKeywords 0.021
testGetKeywordBag 0.024
testGetKeywordBagListOfkeywords 0.024
testGetBags 0.021
testGetKeywordList 0.015
testBuildAiRelationBeanList 0.025
testCreateRelations 0.017
testGetAIBag 0.026
testGetAIBag2 0.036
testGetAIBag3 0.029
testGetAIBag4 0.077

DJTest

testDJ 0.02

FileUtilsTestCase

testDummy 0.003

LuceneTest

testLuceneWriting 0.224
testLuceneSearch 0.038

SongSelectionTest

testSongSelectorNextSelect 2.611
expected:<4> but was:<1>
testGlassBowl 0
expected:<9> but was:<0>

TestDatabaseBuilder

testDummy 0

TestKeywordUtils

testKeywordUtils 0.001

TestMusicArchiveEntryBean

testEquals 0
testHashCode 0
testKeyword 0
testCompareto 0

TestDJFactory

testConstructor 0.158
testCandidateSelectorProperty 0.002
testCreateNoMusicontroller 0.005
testCreateNoCandidateSelector 0.004

TestMusiControllerException

testConstructor 0.001

TestCommentService

testReviewEnhancer 0.045
testReviewDAOSave 0.029
testReviewDAOLoad 0.006

TestDenseSet

testEquals 0.001
testHashCode 0
testAdding 0.001
testRemoving 0.003
testBulk 51.811
testPrettyPrint 0

TestFileMove

testMove 0.044
testMoveFile 0.012

TestFileOperations

testIllegalDirectoryCharsTranslator 0.002
testIllegalFileCharsTranslator 0.001

TestContentHelper

testRemove 0
testRemoveRefs 0
testRemoveComments 0.001
testRemoveImageRefs 0

TestWikipediaSearcher

testWikiXMLReader 0.166
testGenrePartRegexp 0.003
testKeywordExtraction 0.001
testContentExtractor 0.241
testWikiSearch 0.37
testWikiRedirect 3.925
testWikiSearchKeywords1 1.973
testWikiSearchKeywords2 0.617
testWikiSearchKeywords3 1.13
testWikiSearchKeywords4 1.3
testWikiSearchKeywords5 0.758
testWikiSearchKeywords6 1.657
testWikiSearchKeywords7 0.674
testWikiBandinfo1 0.806

Failure Details


testGetLastPlay
java.lang.AssertionError: wrong last play date. expected:<Wed Jun 01 00:00:00 CEST 2005> but was:<Mon Jun 14 16:38:07 CEST 2010>
testSearchPlaylist
java.lang.AssertionError:
testGetKeywordbagById
java.lang.AssertionError:
testGetAiBagById
java.lang.AssertionError: The new AIBag should be retrievable.
testSongSelectorNextSelect
java.lang.AssertionError: expected:<4> but was:<1>
testGlassBowl
java.lang.AssertionError: expected:<9> but was:<0>