diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-10 22:51:01 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-22 13:28:42 +0900 |
| commit | 7a5739d94f1b459c01c7f6acf5f3b1d99829d352 (patch) | |
| tree | 92ebd768f13cf56c09ff97a23e662a941397de13 /src/tests/mx2test.cpp | |
| parent | e3823d26a868a9ebb395f4b6e6ff874acae4b595 (diff) | |
| download | krecipes-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/mx2test.cpp')
| -rw-r--r-- | src/tests/mx2test.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tests/mx2test.cpp b/src/tests/mx2test.cpp index daa379e..5388b20 100644 --- a/src/tests/mx2test.cpp +++ b/src/tests/mx2test.cpp @@ -8,7 +8,9 @@ * (at your option) any later version. * ***************************************************************************/ +#include <tdeaboutdata.h> #include <tdeapplication.h> +#include <tdecmdlineargs.h> #include <tqstring.h> @@ -22,7 +24,10 @@ using std::endl; int main(int argc, char *argv[]) { - TDEApplication a(argc, argv, "mx2test"); + TDEAboutData *about = new TDEAboutData("mx2test", I18N_NOOP("mx2test"), "1.0", + nullptr, TDEAboutData::License_GPL, nullptr, nullptr, nullptr, nullptr); + TDECmdLineArgs::init(argc, argv, about); + TDEApplication a; printf("Creating MX2Importer.\n"); MX2Importer importer; |
