diff options
author | deva <deva> | 2009-11-03 13:07:02 +0000 |
---|---|---|
committer | deva <deva> | 2009-11-03 13:07:02 +0000 |
commit | c91d9e62801aca5a12ca37429c39a71e6351d6d5 (patch) | |
tree | c4bac8ca4208e184479e6fd87f3e7de5d4ef9463 /client/test | |
parent | 774ff6333ec68481e2536931b539d241cc7380db (diff) |
More test framework changes...
Diffstat (limited to 'client/test')
-rw-r--r-- | client/test/testcomboboxedit.cc | 7 | ||||
-rw-r--r-- | client/test/testcomboboxsearch.cc | 1 | ||||
-rw-r--r-- | client/test/testcomboboxselect.cc | 7 | ||||
-rw-r--r-- | client/test/testlineedit.cc | 1 | ||||
-rw-r--r-- | client/test/util.h | 1 |
5 files changed, 11 insertions, 6 deletions
diff --git a/client/test/testcomboboxedit.cc b/client/test/testcomboboxedit.cc index 5294886..7fdbfb1 100644 --- a/client/test/testcomboboxedit.cc +++ b/client/test/testcomboboxedit.cc @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include <QtTest/QtTest> #include "util.h" #include "combobox.h" @@ -24,7 +25,7 @@ static QString xml_select = " <item value=\"item2\" caption=\"Item 2\"/>\n" "</combobox>\n"; -class TestComboBox: public QObject +class TestComboBoxEdit: public QObject { Q_OBJECT private slots: @@ -66,7 +67,7 @@ private slots: } }; -QTEST_MAIN(TestComboBox) -#include "testcombobox.moc" +QTEST_MAIN(TestComboBoxEdit) +#include "testcomboboxedit.moc" diff --git a/client/test/testcomboboxsearch.cc b/client/test/testcomboboxsearch.cc index 84f03c4..7ac0db4 100644 --- a/client/test/testcomboboxsearch.cc +++ b/client/test/testcomboboxsearch.cc @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include <QtTest/QtTest> #include "util.h" #include "combobox.h" diff --git a/client/test/testcomboboxselect.cc b/client/test/testcomboboxselect.cc index 5294886..1439440 100644 --- a/client/test/testcomboboxselect.cc +++ b/client/test/testcomboboxselect.cc @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include <QtTest/QtTest> #include "util.h" #include "combobox.h" @@ -24,7 +25,7 @@ static QString xml_select = " <item value=\"item2\" caption=\"Item 2\"/>\n" "</combobox>\n"; -class TestComboBox: public QObject +class TestComboBoxSelect: public QObject { Q_OBJECT private slots: @@ -66,7 +67,7 @@ private slots: } }; -QTEST_MAIN(TestComboBox) -#include "testcombobox.moc" +QTEST_MAIN(TestComboBoxSelect) +#include "testcomboboxselect.moc" diff --git a/client/test/testlineedit.cc b/client/test/testlineedit.cc index c5ab8b3..8b30295 100644 --- a/client/test/testlineedit.cc +++ b/client/test/testlineedit.cc @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include <QtTest/QtTest> #include "util.h" #include "lineedit.h" diff --git a/client/test/util.h b/client/test/util.h index 98da0e9..89a887d 100644 --- a/client/test/util.h +++ b/client/test/util.h @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include "macrowindow.h" #include <QDomElement> |