Add test to check enumUnknownDefaultCase behavior


With enumUnknownDefaultCase option enabled, enum values sent from the
server that are unknown to the client should be mapped to a special new
case: 'unknown_default_open_api'.

Currently the UNKNOWN_DEFAULT_OPEN_API enum case is added when
enumUnknownDefaultCase is enabled but unknown values sent by the server
keep falling to INVALID_VALUE_OPENAPI_GENERATED enum case regardless of
enumUnknownDefaultCase value.
This should be fixed in QTBUG-144951.

Task-number: QTBUG-143713
Pick-to: 6.11
Change-Id: I1398f2872b4a471238774b2ba2dfdff47619bb5c
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit9032665ca4d532415c85fcae1ebb3e69b3ca0af9
parente9b36da726927b2a4e28626f273f93f3aeab6f5a
authorRym Bouabid <rym.bouabid@qt.io>
committerRym Bouabid <rym.bouabid@qt.io>
commit timeWed, 25 Mar 2026 09:52:52 +0100