diff OrthancFramework/UnitTestsSources/FrameworkTests.cpp @ 4887:a29a6bdba9dd

mime type for .ico
author Alain Mazy <am@osimis.io>
date Wed, 16 Feb 2022 09:27:25 +0100
parents 43e613a7756b
children 0ea402b4d901
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/FrameworkTests.cpp	Tue Feb 15 18:09:03 2022 +0100
+++ b/OrthancFramework/UnitTestsSources/FrameworkTests.cpp	Wed Feb 16 09:27:25 2022 +0100
@@ -342,6 +342,7 @@
   ASSERT_EQ(MimeType_Svg, SystemToolbox::AutodetectMimeType("NOTES.svg"));
   ASSERT_EQ(MimeType_Woff, SystemToolbox::AutodetectMimeType("NOTES.woff"));
   ASSERT_EQ(MimeType_Woff2, SystemToolbox::AutodetectMimeType("NOTES.woff2"));
+  ASSERT_EQ(MimeType_Ico, SystemToolbox::AutodetectMimeType("NOTES.ico"));
 
   // Test primitives from the "RegisterDefaultExtensions()" that was
   // present in the sample "Serve Folders plugin" of Orthanc 1.4.2