qtgrpc/tests
Dennis Oberst 7bce09d7f7 Long Live mockserver!
Our current test strategy relies on having a dedicated server running.
While this tests the most 'accurate' flow of the system, it is really
hard to verify the server behavior due to missing flexibility.

Introduce the mockserver to solve this problem. It wraps the low-level
async gRPC server API and allows for non-blocking processing of
operations. This allows it to run nicely together with the Qt Even Loop,
which is blocking.

Provide the server-handling code by using CallbackTags with Lambdas, or
by subclassing the AbstractRpcTag interface.

Change-Id: I086cbd1d6d8542c717ae036bdf54ba96c55afb58
Fixes: QTBUG-139285
Pick-to: 6.8
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit bc052fbd51)
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
2025-10-02 13:16:41 +00:00
..
auto Long Live mockserver! 2025-10-02 13:16:41 +00:00
benchmarks CMake: Add qt_autogen_tools_initial_setup calls 2025-01-06 15:41:39 -03:00
manual grpc benchmarks: fix compiler warnings 2025-08-06 11:24:25 +02:00
CMakeLists.txt Use the upper-case Protobuf module name when looking it 2024-12-03 16:18:57 +01:00