Cleanup tst_compression


* Do not derive from TestApi
* Do not wrap the test case into QtOpenAPI namespace,
  because it does not really belong there.
* Use a smaller scope for 'using namespace' declarations.

This is a pre-requisite for extending the test with more checks.

Task-number: QTBUG-143041
Pick-to: 6.11
Change-Id: Iec8308a9ed88096590257d7c8a8c9e1863b2d2c9
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commite89bbd6b124fb4b5bdf9d9bff25f792ab13b0cbb
parentfcc2b351354a41ffd019bb9789da8b527e8b31d7
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeThu, 15 Jan 2026 11:08:59 +0100