summaryrefslogtreecommitdiff
path: root/client/test/testlineedit.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-17 07:24:27 +0000
committerdeva <deva>2010-08-17 07:24:27 +0000
commit57c5ca5b7fc3db3ab16d9a1cf2760d114e5685ca (patch)
tree42a23e13f97b3d2d3eb65217312327a634608fad /client/test/testlineedit.cc
parent16fa999ed01f3f98e42e2b1248c7021d75b3ef75 (diff)
More tests
Diffstat (limited to 'client/test/testlineedit.cc')
-rw-r--r--client/test/testlineedit.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/test/testlineedit.cc b/client/test/testlineedit.cc
index 0cf70fd..577e0da 100644
--- a/client/test/testlineedit.cc
+++ b/client/test/testlineedit.cc
@@ -10,6 +10,15 @@ class TestLineEdit: public QObject
Q_OBJECT
private slots:
void creation() { TEST_CREATION(LineEdit); }
+
+ void memleak() {
+ QDomDocument doc; doc.setContent(xml);
+ QDomElement e = doc.documentElement();
+ MacroWindow *w = createMacroWindow();
+ TEST_MEMLEAK(LineEdit le(e, w));
+ delete w;
+ }
+
void disable() { TEST_DISABLE(LineEdit); }
void value() { TEST_VALUE(LineEdit); }
void edit()