qtgrpc/tests/auto
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
..
grpc Long Live mockserver! 2025-10-02 13:16:41 +00:00
grpcgen Move the required declarations of out SKIP_COMMAND_LINE_TESTS 2025-08-01 11:41:23 +00:00
grpcquick React on QQmlGrpcMetadata::dataChanged in QQmlGrpcChannelOptions 2024-08-28 14:47:48 +02:00
protobuf Allow enums be non-packed 2025-08-13 09:27:24 +00:00
protobufgen Avoid checking the protoc availablity when crosscompiling 2025-09-13 17:34:09 +00:00
protobufqml Long live mutable getters 2025-04-04 17:45:22 +02:00
protobufqttypes Include what you need: qquaternion.h 2025-07-04 10:57:34 +00:00
protocplugintestcommon CMake: Add qt_autogen_tools_initial_setup calls 2024-10-15 08:24:49 +02:00
shared/data/proto Long live mutable getters 2025-04-04 17:45:22 +02:00
CMakeLists.txt DRY qtgrpcgen and qtprotobufgen tests 2024-09-30 16:06:20 +02:00