Skip to content

Commit 6463c06

Browse files
committed
Tests: Ignore testWavPack::testMultiChannelProperties
1 parent 9f2848c commit 6463c06

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

tests/taglib/data/four_channels.wv

-52.3 KB
Binary file not shown.

tests/taglib/test_wavpack.rs

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,12 @@ fn test_no_length_properties() {
2323
}
2424

2525
#[test]
26+
#[ignore]
2627
fn test_multi_channel_properties() {
27-
let f = get_file::<WavPackFile>("tests/taglib/data/four_channels.wv");
28-
assert_eq!(f.properties().duration().as_secs(), 3);
29-
assert_eq!(f.properties().duration().as_millis(), 3833);
30-
assert_eq!(f.properties().audio_bitrate(), 112);
31-
assert_eq!(f.properties().channels(), 4);
32-
assert_eq!(f.properties().bit_depth(), 16);
33-
assert_eq!(f.properties().is_lossless(), false);
34-
assert_eq!(f.properties().sample_rate(), 44100);
35-
// TODO: CPPUNIT_ASSERT_EQUAL(169031U, f.audioProperties()->sampleFrames());
36-
assert_eq!(f.properties().version(), 1031);
28+
// Marker test, this is not a valid file and TagLib does not handle it properly.
29+
//
30+
// A multichannel file should make use of the multichannel metadata sub block, which
31+
// this file does not. Even FFMpeg thinks this is a mono file.
3732
}
3833

3934
#[test]

0 commit comments

Comments
 (0)