aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/sdktool/addkeysoperation.h
diff options
context:
space:
mode:
authorMarcus Tillmanns <[email protected]>2022-04-04 14:31:22 +0200
committerMarcus Tillmanns <[email protected]>2022-04-04 14:27:46 +0000
commitc246caf7a96b1d689ee03d900f6bc503e00a4b02 (patch)
tree768b7d6cbdad9a0cdaad0e77d0a499ce8ab3b8b8 /src/tools/sdktool/addkeysoperation.h
parent055de08524fcaebbd2f5de9760d4ec9a06667544 (diff)
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 <[email protected]>
Diffstat (limited to 'src/tools/sdktool/addkeysoperation.h')
-rw-r--r--src/tools/sdktool/addkeysoperation.h3
1 files changed, 2 insertions, 1 deletions
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: