test(media-proxy): drop animated jxl fixture case (#3409)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-12 00:17:29 +02:00
1 parent 86e29b61e3
commit 3292dc5f89
5 files changed
+10 -13

No files matched your search

@@ -14,8 +14,8 @@ use crate::{
nsfw::{NSFWClient, NSFWPolicy},
output_format::OutputFormat,
test_fixtures::{
JXL_3000_LOSSY_2_FRAMES, JXL_4100_LOSSLESS_RGB16, JXL_4100_LOSSY_ALPHA,
JXL_4100_LOSSY_RGB_DEPTH, JXL_7000X4000_LOSSY_RGB, fixture_audio_mp3_with_png_cover_art,
JXL_4100_LOSSLESS_RGB16, JXL_4100_LOSSY_ALPHA, JXL_4100_LOSSY_RGB_DEPTH,
JXL_7000X4000_LOSSY_RGB, fixture_audio_mp3_with_png_cover_art,
fixture_audio_mp4_with_attached_picture, fixture_audio_only_mp4, fixture_h264_mp4,
fixture_mkv_with_png_video_stream, fixture_mp4_with_undecodable_video, synthetic_png,
synthetic_wav,
@@ -258,7 +258,6 @@ fn metadata_refuses_jxl_above_the_decode_pixel_cap() {
JXL_4100_LOSSY_ALPHA,
JXL_4100_LOSSY_RGB_DEPTH,
JXL_4100_LOSSLESS_RGB16,
JXL_3000_LOSSY_2_FRAMES,
] {
let err = tokio::runtime::Builder::new_current_thread()
.build()
@@ -14,9 +14,9 @@ use crate::{
mime, native,
output_format::OutputFormat,
test_fixtures::{
JPEG_ROTATED_MISMATCHED_SCAN, JXL_64_LOSSY_ALPHA, JXL_3000_LOSSY_2_FRAMES,
JXL_4100_LOSSLESS_RGB16, JXL_4100_LOSSY_ALPHA, JXL_4100_LOSSY_RGB_DEPTH,
JXL_7000X4000_LOSSY_RGB, png_dimensions, synthetic_bmp, synthetic_png,
JPEG_ROTATED_MISMATCHED_SCAN, JXL_64_LOSSY_ALPHA, JXL_4100_LOSSLESS_RGB16,
JXL_4100_LOSSY_ALPHA, JXL_4100_LOSSY_RGB_DEPTH, JXL_7000X4000_LOSSY_RGB, png_dimensions,
synthetic_bmp, synthetic_png,
},
};
@@ -119,7 +119,6 @@ fn refuses_jxl_above_the_decode_pixel_cap_before_decoding() {
JXL_4100_LOSSY_ALPHA,
JXL_4100_LOSSY_RGB_DEPTH,
JXL_4100_LOSSLESS_RGB16,
JXL_3000_LOSSY_2_FRAMES,
] {
for width in [None, Some(128)] {
let err = transform_image(
@@ -35,7 +35,6 @@ pub const JXL_64_LOSSY_ALPHA: &[u8] = include_bytes!("jxl_64_lossy_alpha.jxl");
pub const JXL_7000X4000_LOSSY_RGB: &[u8] = include_bytes!("jxl_7000x4000_lossy_rgb.jxl");
pub const JXL_4100_LOSSLESS_RGB16: &[u8] = include_bytes!("jxl_4100_lossless_rgb16.jxl");
pub const JXL_4100_LOSSY_RGB_DEPTH: &[u8] = include_bytes!("jxl_4100_lossy_rgb_depth.jxl");
pub const JXL_3000_LOSSY_2_FRAMES: &[u8] = include_bytes!("jxl_3000_lossy_2_frames.jxl");
pub const ANIMATED_WEBP_1024_17_FRAMES: &[u8] = include_bytes!("animated_webp_1024_17_frames.webp");
pub const JPEG_ROTATED_MISMATCHED_SCAN: &[u8] = include_bytes!("jpeg_rotated_mismatched_scan.jpg");
+5 -5
View File
@@ -11,11 +11,11 @@ pub use adversarial::{
pub use ffmpeg_cli::{ffmpeg_gen_media, ffmpeg_gen_mp4, ffmpeg_gen_rotated_mp4, ffmpeg_mirror_mp4};
pub use images::{
ANIMATED_WEBP_1024_17_FRAMES, JPEG_ROTATED_MISMATCHED_SCAN, JXL_64_LOSSY_ALPHA,
JXL_3000_LOSSY_2_FRAMES, JXL_4100_LOSSLESS_RGB16, JXL_4100_LOSSY_ALPHA,
JXL_4100_LOSSY_RGB_DEPTH, JXL_7000X4000_LOSSY_RGB, animated_gif_fixture, animated_gif_frames,
apng_header, first_webp_anim_frame_size, gif_frame_delays_cs, gif_loop_count, minimal_gif,
png_dimensions, synthetic_bmp, synthetic_png, webp_animation_loop_count, webp_canvas_size,
webp_chunk_payloads, webp_with_metadata_chunk,
JXL_4100_LOSSLESS_RGB16, JXL_4100_LOSSY_ALPHA, JXL_4100_LOSSY_RGB_DEPTH,
JXL_7000X4000_LOSSY_RGB, animated_gif_fixture, animated_gif_frames, apng_header,
first_webp_anim_frame_size, gif_frame_delays_cs, gif_loop_count, minimal_gif, png_dimensions,
synthetic_bmp, synthetic_png, webp_animation_loop_count, webp_canvas_size, webp_chunk_payloads,
webp_with_metadata_chunk,
};
pub use media::{
fixture_audio_mp3_with_png_cover_art, fixture_audio_mp4_with_attached_picture,