test: umfangreiche Testdaten (alle Dateitypen + Mail-Anhaenge)

- oCIS /testdata/: Bilder (jpg/png/webp/bmp/gif/tiff/svg), Audio (mp3/ogg/m4a/
  flac/wav), Video (mp4), PDFs (Text + Scan), Office (docx/xlsx/pptx), Text/Daten
  (md/txt/csv/json/xml/yaml/html/py/vcf/ics), Archive (zip/tar.gz).
- Maildir: Mails mit diversen Anhaengen (PDF/Bild/Word/Excel/MP3/MP4/PPTX/ZIP).
- TestFileTypes: read_file je Typ -> Content-Typ pruefen (image/text/resource).
- Generatoren tests/testdata/gen_testfiles.py + gen_maildir.py + upload_ocis.sh.
68 Tests gruen (vorher 54). Doku in MCPTEST.md.
This commit is contained in:
Stefan Lohmaier
2026-06-19 07:56:08 +02:00
parent 0a1576aaa5
commit 5f3181b162
15 changed files with 2383 additions and 23 deletions
@@ -0,0 +1,10 @@
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
From: test@example.com
To: mcptest@local
Subject: Willkommen
Date: Mon, 16 Jun 2026 09:00:00 +0200
SGFsbG8sIGRpZXMgaXN0IGVpbmUgVGVzdG5hY2hyaWNodCBmdWVyIHN0ZWZhbiB6dW0gU3VjaGVu
Lg==