From 382375835424353e115b8437941d4a3b580571a0 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Sat, 29 Jun 2024 21:42:32 +0200 Subject: 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 --- xbmc/video/test/TestVideoFileItemClassify.cpp | 6 +++--- 1 file 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}, -- cgit v1.2.3