Review Request: SoK - Unit Test : core/meta/support/MetaConstants

Matěj Laitl matej at laitl.cz
Fri Jul 13 12:43:23 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105424/#review15788
-----------------------------------------------------------


The tests look fine, but please remove unnecessary code duplication so that they are easier to maintain. Rebase on top of current master to cope with bitrate icon change.


tests/core/meta/support/TestMetaConstants.cpp
<http://git.reviewboard.kde.org/r/105424/#comment12388>

    I think you can share most of the code with testNameForField_data() here.



tests/core/meta/support/TestMetaConstants.cpp
<http://git.reviewboard.kde.org/r/105424/#comment12383>

    No need to add uppercase here, just add another QCOMPARE to TestMetaConstants::testFieldForName() with name.toUpper()



tests/core/meta/support/TestMetaConstants.cpp
<http://git.reviewboard.kde.org/r/105424/#comment12387>

    You must use exactly the same i18n/i18nc call here, otherwise the tests will IMO break on languages different from english. (this is hard do test, because Amarok git doesn't contain translations)



tests/core/meta/support/TestMetaConstants.cpp
<http://git.reviewboard.kde.org/r/105424/#comment12386>

    You must use exactly the same i18n/i18nc call here, otherwise the tests will IMO break on languages different from english. (this is hard do test, because Amarok git doesn't contain translations)



tests/core/meta/support/TestMetaConstants.cpp
<http://git.reviewboard.kde.org/r/105424/#comment12385>

    I think you can share most of the code with testPlaylistNameForField_data() here.



tests/core/meta/support/TestMetaConstants.cpp
<http://git.reviewboard.kde.org/r/105424/#comment12384>

    Will probably need updating to recent change.


- Matěj Laitl


On July 11, 2012, 8:35 p.m., Jasneet Bhatti wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105424/
> -----------------------------------------------------------
> 
> (Updated July 11, 2012, 8:35 p.m.)
> 
> 
> Review request for Amarok, Ralf Engels, Matěj Laitl, and Sven Krohlas.
> 
> 
> Description
> -------
> 
> Added a unit test for core/meta/support/MetaConstants
> Corrected a couple of minor code style issues I came across in another test.
> 
> This test has some lines longer than 90 characters because they look more elegant that way in the context, although I could break them should that be an issue.
> 
> testValueForField() uses some existing Mock classes with the addition of MockLabel. The rest of the test methods use data driven testing.
> 
> I also have a doubt regarding the intention behind a statement in 'case 0' of valueForField() in MetaConstants.cpp :
>         allInfos += track->playableUrl().path()
>             += track->name()
>             += track->comment();
> This statement concatenates the three strings and adds them as one entity in the set allInfos, although it appears to me that the intention was to add them separately.
> Ralf, since you authored it, I think you'd be the best person to clarify my doubt :)
> 
> 
> Diffs
> -----
> 
>   tests/TestTrackOrganizer.h 47fc22b 
>   tests/TestTrackOrganizer.cpp 72e7b9b 
>   tests/core/meta/CMakeLists.txt 3ae78c9 
>   tests/core/meta/support/CMakeLists.txt PRE-CREATION 
>   tests/core/meta/support/TestMetaConstants.h PRE-CREATION 
>   tests/core/meta/support/TestMetaConstants.cpp PRE-CREATION 
>   tests/mocks/MetaMock.h b478c87 
> 
> Diff: http://git.reviewboard.kde.org/r/105424/diff/
> 
> 
> Testing
> -------
> 
> Builds and runs fine.
> 
> Output of running test with -v2 flag:
> 
> ********* Start testing of TestMetaConstants *********
> Config: Using QTest library 4.8.1, Qt 4.8.1
> INFO   : TestMetaConstants::initTestCase() entering
> PASS   : TestMetaConstants::initTestCase()
> INFO   : TestMetaConstants::testNameForField() entering
> INFO   : TestMetaConstants::testNameForField(anything) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(filename) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(title) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(artist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(album) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(genre) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(composer) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(year) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(comment) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(tracknr) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(discnumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(bpm) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(length) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(bitrate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(samplerate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(filesize) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(format) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(added) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(score) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(rating) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(firstplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(lastplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(playcount) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(uniqueid) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(trackgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(trackgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(albumgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(albumgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(albumartist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(label) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(modified) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> INFO   : TestMetaConstants::testNameForField(default) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(78)]
> PASS   : TestMetaConstants::testNameForField()
> INFO   : TestMetaConstants::testFieldForName() entering
> INFO   : TestMetaConstants::testFieldForName(anything) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(filename) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(title) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(artist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(album) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(genre) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(composer) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(year) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(comment) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(tracknumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(discnumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(bpm) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(length) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(bitrate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(samplerate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(filesize) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(format) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(codec) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(added) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(score) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(rating) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(firstplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(first) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(lastplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(played) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(playcount) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(uniqueid) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(trackgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(trackgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(albumgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(albumgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(albumartist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(label) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(modified) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(ANYTHING) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(FILENAME) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(TITLE) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(ARTIST) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(ALBUM) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(GENRE) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(COMPOSER) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(YEAR) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(COMMENT) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(TRACKNUMBER) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(DISCNUMBER) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(BPM) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(LENGTH) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(BITRATE) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(SAMPLERATE) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(FILESIZE) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(FORMAT) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(CODEC) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(ADDED) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(SCORE) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(RATING) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(FIRSTPLAY) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(FIRST) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(LASTPLAY) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(PLAYED) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(PLAYCOUNT) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(UNIQUEID) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(TRACKGAIN) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(TRACKGAINPEAK) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(ALBUMGAIN) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(ALBUMGAINPEAK) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(ALBUMARTIST) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(LABEL) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(MODIFIED) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(Filename) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(TrackGain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> INFO   : TestMetaConstants::testFieldForName(noMatch) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(176)]
> PASS   : TestMetaConstants::testFieldForName()
> INFO   : TestMetaConstants::testI18nForField() entering
> INFO   : TestMetaConstants::testI18nForField(anything) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(filename) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(title) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(artist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(album) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(genre) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(composer) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(year) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(comment) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(tracknumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(discnumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(bpm) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(length) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(bitrate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(samplerate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(filesize) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(format) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(added) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(score) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(rating) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(firstplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(lastplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(playcount) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(uniqueid) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(trackgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(trackgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(albumgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(albumgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(albumartist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(label) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(modified) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> INFO   : TestMetaConstants::testI18nForField(default) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(227)]
> PASS   : TestMetaConstants::testI18nForField()
> INFO   : TestMetaConstants::testShortI18nForField() entering
> INFO   : TestMetaConstants::testShortI18nForField(anything) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(filename) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(title) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(artist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(album) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(genre) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(composer) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(year) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(comment) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(tracknumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(discnumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(bpm) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(length) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(bitrate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(samplerate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(filesize) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(format) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(added) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(score) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(rating) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(firstplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(lastplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(playcount) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(uniqueid) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(trackgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(trackgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(albumgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(albumgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(albumartist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(label) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(modified) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> INFO   : TestMetaConstants::testShortI18nForField(default) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(278)]
> PASS   : TestMetaConstants::testShortI18nForField()
> INFO   : TestMetaConstants::testPlaylistNameForField() entering
> INFO   : TestMetaConstants::testPlaylistNameForField(anything) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(url) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(title) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(artist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(album) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(genre) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(composer) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(year) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(comment) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(tracknumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(discnumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(bpm) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(length) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(bitrate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(samplerate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(filesize) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(format) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(createdate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(score) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(rating) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(firstplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(lastplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(playcount) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(uniqueid) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(trackgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(trackgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(albumgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(albumgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(albumartist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(label) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(modified) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> INFO   : TestMetaConstants::testPlaylistNameForField(default) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(329)]
> PASS   : TestMetaConstants::testPlaylistNameForField()
> INFO   : TestMetaConstants::testFieldForPlaylistName() entering
> INFO   : TestMetaConstants::testFieldForPlaylistName(anything) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(url) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(title) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(artist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(album) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(genre) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(composer) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(year) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(comment) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(tracknumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(discnumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(bpm) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(length) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(bitrate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(samplerate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(filesize) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(format) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(createdate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(score) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(rating) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(firstplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(lastplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(playcount) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(uniqueid) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(trackgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(trackgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(albumgain) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(albumgainpeak) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(albumartist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(label) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(modified) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(nomatch) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(NOMATCH) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> INFO   : TestMetaConstants::testFieldForPlaylistName(noMatch) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(384)]
> PASS   : TestMetaConstants::testFieldForPlaylistName()
> INFO   : TestMetaConstants::testIconForField() entering
> INFO   : TestMetaConstants::testIconForField(url) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(title) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(artist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(albumartist) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(album) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(genre) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(composer) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(year) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(modified) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(createdate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(comment) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(playcount) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(tracknumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(discnumber) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(bpm) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(length) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(bitrate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(samplerate) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(format) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(score) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(rating) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(firstplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(lastplay) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(label) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(filesize) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> INFO   : TestMetaConstants::testIconForField(default) COMPARE()
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(427)]
> PASS   : TestMetaConstants::testIconForField()
> INFO   : TestMetaConstants::testValueForField() entering
> INFO   : TestMetaConstants::testValueForField() QVERIFY(!valueForField( 0, trackPtr ).isValid())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(438)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toStringList().contains( trackData.value( Meta::Field::URL ).value<KUrl>().path() + trackData.value( Meta::Field::TITLE ).toString() + trackData.value( Meta::Field::COMMENT ).toString() ))
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(490)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toStringList().contains( testAlbum->name() ))
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(491)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toStringList().contains( testArtist->name() ))
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(492)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toStringList().contains( testGenre->name() ))
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(493)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == trackData.value( Meta::Field::URL ).value<KUrl>().path())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(497)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == trackData.value( Meta::Field::TITLE ).toString())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(501)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == testArtist->name())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(505)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == testAlbum->name())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(509)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == testComposer->name())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(513)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == testGenre->name())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(517)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == testYear->name().toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(521)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == trackData.value( Meta::Field::COMMENT ).toString())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(525)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::TRACKNUMBER ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(529)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::DISCNUMBER ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(533)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toDouble() == trackData.value( Meta::Field::BPM ).toDouble())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(537)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::LENGTH ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(541)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::BITRATE ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(545)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::SAMPLERATE ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(549)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::FILESIZE ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(553)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == int( Amarok::FileTypeSupport::fileType(trackPtr->type() ) ))
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(557)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toDateTime().isNull())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(561)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::SCORE ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(565)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::RATING ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(569)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toDateTime() == trackData.value( Meta::Field::FIRST_PLAYED ).toDateTime())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(573)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toDateTime() == trackData.value( Meta::Field::LAST_PLAYED ).toDateTime())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(577)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toInt() == trackData.value( Meta::Field::PLAYCOUNT ).toInt())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(581)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == trackData.value( Meta::Field::UNIQUEID ).toString())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(585)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == "track gain")
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(589)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == "track gain peak")
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(593)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == "album gain")
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(597)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == "album gain peak")
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(601)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toString() == testAlbum->albumArtist()->name())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(605)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toStringList() == labelNames)
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(611)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(trackValue.toDateTime().isNull())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(615)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(!trackValue.isValid())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(619)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(!trackValue.isValid())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(631)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(!trackValue.isValid())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(635)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(!trackValue.isValid())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(639)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(!trackValue.isValid())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(643)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(!trackValue.isValid())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(647)]
> INFO   : TestMetaConstants::testValueForField() QVERIFY(!trackValue.isValid())
>    Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaConstants.cpp(651)]
> PASS   : TestMetaConstants::testValueForField()
> INFO   : TestMetaConstants::cleanupTestCase() entering
> PASS   : TestMetaConstants::cleanupTestCase()
> Totals: 10 passed, 0 failed, 0 skipped
> ********* Finished testing of TestMetaConstants *********
> 
> 
> Thanks,
> 
> Jasneet Bhatti
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120713/4bc95fc1/attachment-0001.html>


More information about the Amarok-devel mailing list