File tree Expand file tree Collapse file tree 4 files changed +23
-0
lines changed
Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ public class ImageTests
88 [ TestCase ( MimeType . Image . Avif , "image/avif" ) ]
99 [ TestCase ( MimeType . Image . Bmp , "image/bmp" ) ]
1010 [ TestCase ( MimeType . Image . Gif , "image/gif" ) ]
11+ [ TestCase ( MimeType . Image . Jp2 , "image/jp2" ) ]
1112 [ TestCase ( MimeType . Image . Jpeg , "image/jpeg" ) ]
13+ [ TestCase ( MimeType . Image . Jpm , "image/jpm" ) ]
14+ [ TestCase ( MimeType . Image . Jpx , "image/jpx" ) ]
1215 [ TestCase ( MimeType . Image . Png , "image/png" ) ]
1316 [ TestCase ( MimeType . Image . SvgXml , "image/svg+xml" ) ]
1417 [ TestCase ( MimeType . Image . Tiff , "image/tiff" ) ]
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ namespace Mainwave.MimeTypes.Tests;
66public class VideoTests
77{
88 [ TestCase ( MimeType . Video . H264 , "video/h264" ) ]
9+ [ TestCase ( MimeType . Video . Mj2 , "video/mj2" ) ]
910 [ TestCase ( MimeType . Video . Mp2t , "video/mp2t" ) ]
1011 [ TestCase ( MimeType . Video . Mp4 , "video/mp4" ) ]
1112 [ TestCase ( MimeType . Video . Mpeg , "video/mpeg" ) ]
Original file line number Diff line number Diff line change @@ -24,10 +24,25 @@ public static class Image
2424 /// </summary>
2525 public const string Gif = Prefix + "gif" ;
2626
27+ /// <summary>
28+ /// image/jp2
29+ /// </summary>
30+ public const string Jp2 = Prefix + "jp2" ;
31+
2732 /// <summary>
2833 /// image/jpeg
2934 /// </summary>
3035 public const string Jpeg = Prefix + "jpeg" ;
36+
37+ /// <summary>
38+ /// image/jpm
39+ /// </summary>
40+ public const string Jpm = Prefix + "jpm" ;
41+
42+ /// <summary>
43+ /// image/jpx
44+ /// </summary>
45+ public const string Jpx = Prefix + "jpx" ;
3146
3247 /// <summary>
3348 /// image/png
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ public static class Video
1414 /// </summary>
1515 public const string H264 = Prefix + "h264" ;
1616
17+ /// <summary>
18+ /// video/mj2
19+ /// </summary>
20+ public const string Mj2 = Prefix + "mj2" ;
1721
1822 /// <summary>
1923 /// video/mp2t
You can’t perform that action at this time.
0 commit comments