Skip to content

Commit

Permalink
Tests: Ignore TagLib TestMP4::testUpdateStco() for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Jan 23, 2024
1 parent 3587ccc commit acc3731
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion tests/taglib/test_mp4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,28 @@ fn test_is_empty() {
}

#[test]
#[ignore] // TODO: The atom parsing internals are not exposed yet
fn test_update_stco() {
todo!("We don't update stco atoms")
let mut file = temp_file!("no-tags.3g2");

{
let mut f = Mp4File::read_from(&mut file, ParseOptions::new()).unwrap();
file.rewind().unwrap();

let mut tag = Ilst::default();
tag.set_artist("X".repeat(3000));
f.set_ilst(tag);

// Find and collect all `stco` offsets

f.save_to(&mut file).unwrap();
}
file.rewind().unwrap();
{
let _f = Mp4File::read_from(&mut file, ParseOptions::new()).unwrap();

// Find and collect all `stco` offsets, compare with previous
}
}

#[test]
Expand Down

0 comments on commit acc3731

Please sign in to comment.