Review Request: SoK - Unit Test : core/meta/support/MetaKeys( TrackKey )
Matěj Laitl
matej at laitl.cz
Wed Jul 18 20:50:25 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105454/#review16093
-----------------------------------------------------------
Ship it!
Looks good, there's just one nitpicky question, ship after removing the line or showing me it cannot be removed. ;)
src/core/meta/support/MetaKeys.h
<http://git.reviewboard.kde.org/r/105454/#comment12662>
Same here: is this really needed? "friend class" should be enough IMO, but I'm too lazy to try. :-|
- Matěj Laitl
On July 14, 2012, 4:06 a.m., Jasneet Bhatti wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105454/
> -----------------------------------------------------------
>
> (Updated July 14, 2012, 4:06 a.m.)
>
>
> Review request for Amarok, Matěj Laitl and Sven Krohlas.
>
>
> Description
> -------
>
> Added a unit test for class TrackKey of core/meta/support/MetaKeys
>
>
> Diffs
> -----
>
> src/core/meta/support/MetaKeys.h 1a2fc25
> src/core/meta/support/MetaKeys.cpp d3fd722
> tests/core/meta/CMakeLists.txt 3ae78c9
> tests/core/meta/support/CMakeLists.txt PRE-CREATION
> tests/core/meta/support/TestMetaTrackKey.h PRE-CREATION
> tests/core/meta/support/TestMetaTrackKey.cpp PRE-CREATION
>
> Diff: http://git.reviewboard.kde.org/r/105454/diff/
>
>
> Testing
> -------
>
> Builds, and runs fine.
>
> Output of running test with -v2 flag:
>
> ********* Start testing of TestMetaTrackKey *********
> Config: Using QTest library 4.8.1, Qt 4.8.1
> INFO : TestMetaTrackKey::initTestCase() entering
> PASS : TestMetaTrackKey::initTestCase()
> INFO : TestMetaTrackKey::testOperatorAssignment() entering
> QSYSTEM: TestMetaTrackKey::testOperatorAssignment() qttest(4918)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned
> INFO : TestMetaTrackKey::testOperatorAssignment() QVERIFY(!( trackKey1 == trackKey2 ))
> Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaTrackKey.cpp(41)]
> INFO : TestMetaTrackKey::testOperatorAssignment() QVERIFY(trackKey1 == trackKey2)
> Loc: [/home/jasneet/amarok/tests/core/meta/support/TestMetaTrackKey.cpp(45)]
> PASS : TestMetaTrackKey::testOperatorAssignment()
> INFO : TestMetaTrackKey::cleanupTestCase() entering
> PASS : TestMetaTrackKey::cleanupTestCase()
> Totals: 3 passed, 0 failed, 0 skipped
> ********* Finished testing of TestMetaTrackKey *********
>
>
> Thanks,
>
> Jasneet Bhatti
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120718/e9d276ad/attachment-0001.html>
More information about the Amarok-devel
mailing list