summaryrefslogtreecommitdiffstats
path: root/tdeio/tdefile/tests/tdefilenotifytest.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-12-21 01:09:27 +0300
committerSlávek Banko <slavek.banko@axis.cz>2017-01-29 02:27:15 +0100
commited74769bfaae171809c0bc1a10a8ba0f6ff8895f (patch)
tree2be1a9e1f24c538b0f682e733794336f6fe54193 /tdeio/tdefile/tests/tdefilenotifytest.cpp
parentd556a8752c0862aa2d84a105dc8ac41b61ba7824 (diff)
downloadtdelibs-ed74769bfaae171809c0bc1a10a8ba0f6ff8895f.tar.gz
tdelibs-ed74769bfaae171809c0bc1a10a8ba0f6ff8895f.zip
tdeio: add tests
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'tdeio/tdefile/tests/tdefilenotifytest.cpp')
-rw-r--r--tdeio/tdefile/tests/tdefilenotifytest.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tdeio/tdefile/tests/tdefilenotifytest.cpp b/tdeio/tdefile/tests/tdefilenotifytest.cpp
new file mode 100644
index 000000000..10dd5959d
--- /dev/null
+++ b/tdeio/tdefile/tests/tdefilenotifytest.cpp
@@ -0,0 +1,10 @@
+#include <tdeapplication.h>
+#include <knotifydialog.h>
+
+int main( int argc, char **argv )
+{
+ TDEApplication app( argc, argv, "knotifytest", true );
+ KNotifyDialog *dlg = new KNotifyDialog();
+ dlg->addApplicationEvents( "twin" );
+ return dlg->exec();
+}