QDoc: Add tests for IR::Document since field serialization


The since field has conditional JSON emission (omitted when empty,
present when set), but this behavior has no explicit test coverage.
Readers relying on the JSON contract need confidence that the
presence/absence semantics are correct and won't regress.

Fixes: QTBUG-144118
Change-Id: If78a5bedc9ddf39e174d19add57731ba5a6a10a8
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commitf8b19d69120641d70aae01f19179c151b4e9feaa
parent32a4d609dd80d78053604da8e5ce2102e3164c35
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 16 Feb 2026 12:54:26 +0100