<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/105424/">http://git.reviewboard.kde.org/r/105424/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<p style="margin-top: 0;">On July 13th, 2012, 12:43 p.m., <b>Matěj Laitl</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
<thead>
<tr>
<th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
<a href="http://git.reviewboard.kde.org/r/105424/diff/1/?file=71119#file71119line185" style="color: black; font-weight: bold; text-decoration: underline;">tests/core/meta/support/TestMetaConstants.cpp</a>
<span style="font-weight: normal;">
(Diff revision 1)
</span>
</th>
</tr>
</thead>
<tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
<tr>
<td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">TestMetaConstants::testI18nForField_data()</pre></td>
</tr>
</tbody>
<tbody>
<tr>
<th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">185</font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "> <span class="n">QTest</span><span class="o">::</span><span class="n">newRow</span><span class="p">(</span> <span class="s">"anything"</span> <span class="p">)</span> <span class="o"><<</span> <span class="n">qint64</span><span class="p">(</span> <span class="mi">0</span> <span class="p">)</span> <span class="o"><<</span> <span class="n">i18nc</span><span class="p">(</span> <span class="s">"The field name in QTest::newRow( "" ) << nothing specific is selected e.g. in the automatic playlist generator"</span><span class="p">,</span> <span class="s">"anything"</span> <span class="p">);</span></pre></td>
</tr>
</tbody>
</table>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">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)</pre>
</blockquote>
<p>On July 14th, 2012, 8:30 a.m., <b>Jasneet Bhatti</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I don't understand this completely.
Do you mean I should use exactly one of either i18n or i18nc for all the test cases?</pre>
</blockquote>
</blockquote>
<pre style="margin-left: 1em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">No.
It means that per each translated string in the original, you must use exactly the same command i18n or i18nc etc, with exactly the same arguments. So it is error to use
> i18nc( "The field name in QTest::newRow( "" ) << nothing specific is selected e.g. in the automatic playlist generator", "anything" );
here. You must use:
> i18nc("The field name in case nothing specific is selected e.g. in the automatic playlist generator. Use a one word translation.", "anything");
Alternatively, you may decide to skip the tests involving i18n calls, these really don't have much sense testing.</pre>
<br />
<p>- Matěj</p>
<br />
<p>On July 11th, 2012, 8:35 p.m., Jasneet Bhatti wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for Amarok, Ralf Engels, Matěj Laitl, and Sven Krohlas.</div>
<div>By Jasneet Bhatti.</div>
<p style="color: grey;"><i>Updated July 11, 2012, 8:35 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">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 :)</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">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 *********
</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>tests/TestTrackOrganizer.h <span style="color: grey">(47fc22b)</span></li>
<li>tests/TestTrackOrganizer.cpp <span style="color: grey">(72e7b9b)</span></li>
<li>tests/core/meta/CMakeLists.txt <span style="color: grey">(3ae78c9)</span></li>
<li>tests/core/meta/support/CMakeLists.txt <span style="color: grey">(PRE-CREATION)</span></li>
<li>tests/core/meta/support/TestMetaConstants.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>tests/core/meta/support/TestMetaConstants.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>tests/mocks/MetaMock.h <span style="color: grey">(b478c87)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/105424/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>