File tree 1 file changed +2
-2
lines changed
ATL.unit-test/IO/MetaData
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1588,7 +1588,7 @@ public void TagIO_RW_MP4_AddChap2Image_then_RemoveTag()
1588
1588
System . Console . WriteLine ( "Chapters(2) Image: " + ( track . Chapters [ 1 ] . Picture != null ) ) ;
1589
1589
1590
1590
//Switch these Assertions for expected editing.
1591
- Assert . IsTrue ( track . Chapters [ 0 ] . Picture != null ) ;
1591
+ Assert . IsTrue ( track . Chapters [ 0 ] . Picture != null && 734 == track . Chapters [ 0 ] . Picture . PictureData . Length ) ; // 1x1 default pic from ATL
1592
1592
Assert . IsTrue ( track . Chapters [ 1 ] . Picture != null ) ;
1593
1593
1594
1594
System . Console . WriteLine ( "# Remove Tags #" ) ;
@@ -1880,7 +1880,7 @@ public void TagIO_RW_MP4_RemoveTag_AddMetaAndChap2Images_RemoveTag()
1880
1880
Assert . AreEqual ( $ "New Album", track . Album , "Album should be the same." ) ;
1881
1881
Assert . AreEqual ( $ "New Chap0", track . Chapters [ 0 ] . Title , "Chapter0 Title should be the same." ) ;
1882
1882
Assert . AreEqual ( $ "New Chap1", track . Chapters [ 1 ] . Title , "Chapter1 should be the same." ) ;
1883
- Assert . IsTrue ( track . Chapters [ 0 ] . Picture != null ) ;
1883
+ Assert . IsTrue ( track . Chapters [ 0 ] . Picture != null && 734 == track . Chapters [ 0 ] . Picture . PictureData . Length ) ; // 1x1 default pic from ATL
1884
1884
Assert . IsTrue ( track . Chapters [ 1 ] . Picture != null ) ;
1885
1885
1886
1886
//3. Remove Tag first
You can’t perform that action at this time.
0 commit comments