summaryrefslogtreecommitdiff
path: root/client/test/testlineedit.cc
diff options
context:
space:
mode:
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()