From c91d9e62801aca5a12ca37429c39a71e6351d6d5 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 3 Nov 2009 13:07:02 +0000 Subject: More test framework changes... --- client/test/testcomboboxedit.cc | 7 ++++--- client/test/testcomboboxsearch.cc | 1 + client/test/testcomboboxselect.cc | 7 ++++--- client/test/testlineedit.cc | 1 + client/test/util.h | 1 + 5 files changed, 11 insertions(+), 6 deletions(-) (limited to 'client/test') 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 #include "util.h" #include "combobox.h" @@ -24,7 +25,7 @@ static QString xml_select = " \n" "\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 #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 #include "util.h" #include "combobox.h" @@ -24,7 +25,7 @@ static QString xml_select = " \n" "\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 #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 -- cgit v1.2.3