Changeset View
Changeset View
Standalone View
Standalone View
autotests/taglibextractortest.cpp
Show First 20 Lines • Show All 263 Lines • ▼ Show 20 Line(s) | 246 | { | |||
---|---|---|---|---|---|
264 | QCOMPARE(result.properties().value(Property::Publisher), QVariant(QStringLiteral("Publisher"))); | 264 | QCOMPARE(result.properties().value(Property::Publisher), QVariant(QStringLiteral("Publisher"))); | ||
265 | QCOMPARE(result.properties().value(Property::Label), QVariant(QStringLiteral("Label"))); | 265 | QCOMPARE(result.properties().value(Property::Label), QVariant(QStringLiteral("Label"))); | ||
266 | QCOMPARE(result.properties().value(Property::Author), QVariant(QStringLiteral("Author"))); | 266 | QCOMPARE(result.properties().value(Property::Author), QVariant(QStringLiteral("Author"))); | ||
267 | QCOMPARE(result.properties().value(Property::Copyright), QVariant(QStringLiteral("Copyright"))); | 267 | QCOMPARE(result.properties().value(Property::Copyright), QVariant(QStringLiteral("Copyright"))); | ||
268 | QCOMPARE(result.properties().value(Property::Compilation), QVariant(QStringLiteral("Compilation"))); | 268 | QCOMPARE(result.properties().value(Property::Compilation), QVariant(QStringLiteral("Compilation"))); | ||
269 | QCOMPARE(result.properties().value(Property::License), QVariant(QStringLiteral("License"))); | 269 | QCOMPARE(result.properties().value(Property::License), QVariant(QStringLiteral("License"))); | ||
270 | QCOMPARE(result.properties().value(Property::Lyrics), QVariant(QStringLiteral("Lyrics"))); | 270 | QCOMPARE(result.properties().value(Property::Lyrics), QVariant(QStringLiteral("Lyrics"))); | ||
271 | QCOMPARE(result.properties().value(Property::Channels).toInt(), 1); | 271 | QCOMPARE(result.properties().value(Property::Channels).toInt(), 1); | ||
272 | QCOMPARE(result.properties().value(Property::DiscNumber).isValid(), false); | 272 | QCOMPARE(result.properties().value(Property::DiscNumber).toInt(), 1); | ||
273 | QCOMPARE(result.properties().value(Property::Rating).toInt(), 4); | 273 | QCOMPARE(result.properties().value(Property::Rating).toInt(), 4); | ||
274 | QCOMPARE(result.properties().value(Property::ReplayGainAlbumGain), QVariant(-9.44)); | 274 | QCOMPARE(result.properties().value(Property::ReplayGainAlbumGain), QVariant(-9.44)); | ||
275 | QCOMPARE(result.properties().value(Property::ReplayGainAlbumPeak), QVariant(1.099)); | 275 | QCOMPARE(result.properties().value(Property::ReplayGainAlbumPeak), QVariant(1.099)); | ||
276 | QCOMPARE(result.properties().value(Property::ReplayGainTrackGain), QVariant(-5.23)); | 276 | QCOMPARE(result.properties().value(Property::ReplayGainTrackGain), QVariant(-5.23)); | ||
277 | QCOMPARE(result.properties().value(Property::ReplayGainTrackPeak), QVariant(1.234)); | 277 | QCOMPARE(result.properties().value(Property::ReplayGainTrackPeak), QVariant(1.234)); | ||
278 | } | 278 | } | ||
279 | 279 | | |||
280 | void TagLibExtractorTest::testApe_data() | 280 | void TagLibExtractorTest::testApe_data() | ||
▲ Show 20 Lines • Show All 284 Lines • Show Last 20 Lines |