summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/ksqueezedtextlabeltest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/ksqueezedtextlabeltest.cpp')
-rw-r--r--tdeui/tests/ksqueezedtextlabeltest.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tdeui/tests/ksqueezedtextlabeltest.cpp b/tdeui/tests/ksqueezedtextlabeltest.cpp
new file mode 100644
index 000000000..62f3c1a76
--- /dev/null
+++ b/tdeui/tests/ksqueezedtextlabeltest.cpp
@@ -0,0 +1,13 @@
+#include "ksqueezedtextlabel.h"
+#include <kapplication.h>
+
+int main( int argc, char **argv )
+{
+ KApplication app( argc, argv, "KSqueezedTextLabelTest" );
+
+ KSqueezedTextLabel l( "This is a rather long string", 0);
+ app.setMainWidget( &l );
+ l.show();
+
+ return app.exec();
+}