Kevin Bortis
2a2db120cf
test: add aaruf_identify and aaruf_identify_stream tests
15 tests covering the image identification API:
- Happy path: valid V1 and V2 images via both file path and stream
- Error handling: NULL stream, empty file, truncated header
- Format validation: wrong magic bytes, future version, legacy DIC_MAGIC
- Stream behavior: mid-position seek-to-zero before reading
- File path errors: non-existent path, non-Aaru file, NULL path
Uses existing V1/V2 .aif fixtures from tests/data/ plus crafted
in-memory headers via tmpfile() for edge cases.
2026-04-02 07:55:58 +02:00
..
2026-03-15 21:03:40 +00:00
2026-03-29 18:30:59 +01:00
2026-04-02 07:55:58 +02:00
2025-12-23 08:15:35 +00:00
2025-12-23 08:23:40 +00:00
2025-12-23 08:23:40 +00:00
2026-03-15 18:18:15 +00:00
2026-04-01 20:24:13 +02:00
2026-04-02 07:55:58 +02:00
2025-12-23 08:23:40 +00:00
2025-12-23 08:23:40 +00:00
2026-03-16 19:30:07 +00:00
2025-12-31 16:58:31 +00:00
2026-03-16 10:48:54 +00:00
2026-03-15 18:32:08 +00:00
2026-03-15 18:32:08 +00:00
2026-03-16 19:07:19 +00:00
2026-03-16 19:07:19 +00:00
2026-03-16 19:07:19 +00:00
2025-10-03 01:49:44 +01:00
2025-12-23 08:23:40 +00:00
2025-12-23 08:23:40 +00:00
2026-04-01 20:49:25 +02:00