diff options
author | Arne Morten Kvarving <spiff@kodi.tv> | 2024-06-29 21:42:32 +0200 |
---|---|---|
committer | Arne Morten Kvarving <spiff@kodi.tv> | 2024-06-30 10:05:37 +0200 |
commit | 382375835424353e115b8437941d4a3b580571a0 (patch) | |
tree | 876defd119d938e31c204eb09f8b55098b2de38e | |
parent | 78851d4af8011d85e86ee459f28005d3e9680aaa (diff) |
fixed: video classify tests
now that mime types are operational the mimetype from the file
extension would override the intended checks for tags these
entries were testing. change the file extensions to avoid this
-rw-r--r-- | xbmc/video/test/TestVideoFileItemClassify.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xbmc/video/test/TestVideoFileItemClassify.cpp b/xbmc/video/test/TestVideoFileItemClassify.cpp index 128980f68d..c9c500bc78 100644 --- a/xbmc/video/test/TestVideoFileItemClassify.cpp +++ b/xbmc/video/test/TestVideoFileItemClassify.cpp @@ -113,9 +113,9 @@ TEST_P(VideoTest, IsVideo) const auto video_tests = std::array{ VideoClassifyTest{"/home/user/video.avi", true, "video/avi"}, VideoClassifyTest{"/home/user/video.avi", true, "", 1}, - VideoClassifyTest{"/home/user/video.avi", false, "", 2}, - VideoClassifyTest{"/home/user/video.avi", false, "", 3}, - VideoClassifyTest{"/home/user/video.avi", false, "", 4}, + VideoClassifyTest{"/home/user/video.gam", false, "", 2}, + VideoClassifyTest{"/home/user/video.mus", false, "", 3}, + VideoClassifyTest{"/home/user/video.pic", false, "", 4}, VideoClassifyTest{"pvr://recordings/tv/1", true}, VideoClassifyTest{"pvr://123", false}, VideoClassifyTest{"dvd://VIDEO_TS/video_ts.ifo", true}, |