Files
fil/fixtures/batch/batch_extract_bytes_size_cap.json

52 lines
1.3 KiB
JSON
Raw Normal View History

2026-06-01 23:40:55 +02:00
{
"id": "batch_extract_bytes_size_cap",
"category": "batch",
"description": "batch_extract_bytes: archive size cap triggers error",
"call": "batch_extract_bytes",
"skip": {
"languages": [
"rust",
"node",
"python",
"php",
"wasm",
"go",
"r",
"ruby",
"csharp",
"elixir",
"kotlin",
"kotlin_android",
"swift",
"zig",
"java",
"dart"
],
"reason": "SecurityLimits.max_content_size is only enforced by archive/Excel extractors; test requires actual archive format to trigger error, which is not easily testable via byte fixtures"
},
"input": {
"items": [
{
"content": [
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97
],
"mime_type": "text/plain"
}
],
"config": {
"security_limits": {
"max_content_size": 1
}
}
},
"assertions": [
{
"type": "error"
}
]
}