summaryrefslogtreecommitdiffstats
path: root/src/tests/mmftest.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-10 22:51:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-22 13:28:42 +0900
commit7a5739d94f1b459c01c7f6acf5f3b1d99829d352 (patch)
tree92ebd768f13cf56c09ff97a23e662a941397de13 /src/tests/mmftest.cpp
parente3823d26a868a9ebb395f4b6e6ff874acae4b595 (diff)
downloadkrecipes-7a5739d9.tar.gz
krecipes-7a5739d9.zip
Add cmake rules for tests files and make tests runnable.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 99e16012c2ddbfa877a77c2176e15c3fea5643e6)
Diffstat (limited to 'src/tests/mmftest.cpp')
-rw-r--r--src/tests/mmftest.cpp7
1 files changed, 6 insertions, 1 deletions
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 <tdeaboutdata.h>
#include <tdeapplication.h>
+#include <tdecmdlineargs.h>
#include <tqstring.h>
@@ -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;