From c246caf7a96b1d689ee03d900f6bc503e00a4b02 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Mon, 4 Apr 2022 14:31:22 +0200 Subject: sdktool: Change tests to use QTest * Moved all sdktool code into a static library, allowing us to link against the actual functionality in unittests * Convert all tests to proper unittests Change-Id: I5c93be0faecbd8b68e0923655483c870a2f408b5 Reviewed-by: hjk --- src/tools/sdktool/addkeysoperation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tools/sdktool/addkeysoperation.h') diff --git a/src/tools/sdktool/addkeysoperation.h b/src/tools/sdktool/addkeysoperation.h index 9623d715045..47e6f881992 100644 --- a/src/tools/sdktool/addkeysoperation.h +++ b/src/tools/sdktool/addkeysoperation.h @@ -47,7 +47,8 @@ public: int execute() const final; #ifdef WITH_TESTS - bool test() const final; + static void unittest(); + #endif private: -- cgit v1.2.3