1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include <QtTest/QtTest> #include "util.h" #include "resumewidget.h" class TestResumeWidget: public QObject { Q_OBJECT private slots: void memleak() { TEST_MEMLEAK(ResumeWidget r(false)); } }; QTEST_MAIN(TestResumeWidget) #include "testresumewidget.moc"