From 99e16012c2ddbfa877a77c2176e15c3fea5643e6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 10 May 2025 22:51:01 +0900 Subject: Add cmake rules for tests files and make tests runnable. Signed-off-by: Michele Calgaro --- src/tests/mmftest.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/tests/mmftest.cpp') diff --git a/src/tests/mmftest.cpp b/src/tests/mmftest.cpp index 453fcaa..a534721 100644 --- a/src/tests/mmftest.cpp +++ b/src/tests/mmftest.cpp @@ -8,7 +8,9 @@ * (at your option) any later version. * ***************************************************************************/ +#include #include +#include #include @@ -24,7 +26,10 @@ using std::endl; int main(int argc, char *argv[]) { - TDEApplication a(argc, argv, "mmftest"); + TDEAboutData *about = new TDEAboutData("mmftest", I18N_NOOP("mmftest"), "1.0", + nullptr, TDEAboutData::License_GPL, nullptr, nullptr, nullptr, nullptr); + TDECmdLineArgs::init(argc, argv, about); + TDEApplication a; printf("Creating MMFImporter.\n"); MMFImporter importer; -- cgit v1.2.3