Fixed test case filenames to lower case
authorKaj Wallin <kaj.wallin@ixonos.com>
Wed, 31 Mar 2010 07:56:17 +0000 (10:56 +0300)
committerKaj Wallin <kaj.wallin@ixonos.com>
Wed, 31 Mar 2010 07:56:17 +0000 (10:56 +0300)
tests/testUI/testTabs/testTabs [deleted file]
tests/testUI/testTabs/testTabs.pro [deleted file]
tests/testUI/testTabs/testtabs.cpp [deleted file]
tests/testUI/testtabs/testtabs [new file with mode: 0755]
tests/testUI/testtabs/testtabs.cpp [new file with mode: 0644]
tests/testUI/testtabs/testtabs.pro [new file with mode: 0644]

diff --git a/tests/testUI/testTabs/testTabs b/tests/testUI/testTabs/testTabs
deleted file mode 100755 (executable)
index e0f4b1e..0000000
Binary files a/tests/testUI/testTabs/testTabs and /dev/null differ
diff --git a/tests/testUI/testTabs/testTabs.pro b/tests/testUI/testTabs/testTabs.pro
deleted file mode 100644 (file)
index 2871166..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# #####################################################################
-# Automatically generated by qmake (2.01a) Wed Mar 31 09:43:35 2010
-# #####################################################################
-CONFIG += qtestlib
-TEMPLATE = app
-TARGET = 
-DEPENDPATH += .
-INCLUDEPATH += .
-
-# Input
-SOURCES += testtabs.cpp \
-    ../../../src/ui/mapviewtab.cpp \
-    ../../../src/ui/mainwindow.cpp \
-    ../../../src/ui/listviewtab.cpp
-HEADERS += ../../../src/ui/mapviewtab.h \
-    ../../../src/ui/mainwindow.h \
-    ../../../src/ui/listviewtab.h
diff --git a/tests/testUI/testTabs/testtabs.cpp b/tests/testUI/testTabs/testtabs.cpp
deleted file mode 100644 (file)
index 875af9c..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
- /*
-    Situare - A location system for Facebook
-    Copyright (C) 2010  Ixonos Plc. Authors:
-
-        Kaj Wallin - kaj.wallin@ixonos.com
-
-    Situare is free software; you can redistribute it and/or
-    modify it under the terms of the GNU General Public License
-    version 2 as published by the Free Software Foundation.
-
-    Situare is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with Situare; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
-    USA.
- */
-
-#include <QtTest/QtTest>
-#include <QtCore>
-#include <QtGui>
-
-#include "../../../src/ui/mapviewtab.h"
-#include "../../../src/ui/listviewtab.h"
-#include "../../../src/ui/mainwindow.h"
-
-class testTabs : public QObject
-{
-    Q_OBJECT
-private slots:
-    void testTabChanges();
-};
-
-void testTabs::testTabChanges()
-{
-    MainWindow mainwindow;
-    mainwindow.toListView();
-    QCOMPARE(mainwindow.situareViews->currentIndex(), 0);
-    mainwindow.toMapView();
-    QCOMPARE(mainwindow.situareViews->currentIndex(), 1);
-    mainwindow.toMapView();
-    QCOMPARE(mainwindow.situareViews->currentIndex(), 1);
-    mainwindow.toListView();
-    QCOMPARE(mainwindow.situareViews->currentIndex(), 0);
-}
-
-QTEST_MAIN(testTabs)
-#include "testtabs.moc"
diff --git a/tests/testUI/testtabs/testtabs b/tests/testUI/testtabs/testtabs
new file mode 100755 (executable)
index 0000000..2a002e0
Binary files /dev/null and b/tests/testUI/testtabs/testtabs differ
diff --git a/tests/testUI/testtabs/testtabs.cpp b/tests/testUI/testtabs/testtabs.cpp
new file mode 100644 (file)
index 0000000..875af9c
--- /dev/null
@@ -0,0 +1,51 @@
+ /*
+    Situare - A location system for Facebook
+    Copyright (C) 2010  Ixonos Plc. Authors:
+
+        Kaj Wallin - kaj.wallin@ixonos.com
+
+    Situare is free software; you can redistribute it and/or
+    modify it under the terms of the GNU General Public License
+    version 2 as published by the Free Software Foundation.
+
+    Situare is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with Situare; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
+    USA.
+ */
+
+#include <QtTest/QtTest>
+#include <QtCore>
+#include <QtGui>
+
+#include "../../../src/ui/mapviewtab.h"
+#include "../../../src/ui/listviewtab.h"
+#include "../../../src/ui/mainwindow.h"
+
+class testTabs : public QObject
+{
+    Q_OBJECT
+private slots:
+    void testTabChanges();
+};
+
+void testTabs::testTabChanges()
+{
+    MainWindow mainwindow;
+    mainwindow.toListView();
+    QCOMPARE(mainwindow.situareViews->currentIndex(), 0);
+    mainwindow.toMapView();
+    QCOMPARE(mainwindow.situareViews->currentIndex(), 1);
+    mainwindow.toMapView();
+    QCOMPARE(mainwindow.situareViews->currentIndex(), 1);
+    mainwindow.toListView();
+    QCOMPARE(mainwindow.situareViews->currentIndex(), 0);
+}
+
+QTEST_MAIN(testTabs)
+#include "testtabs.moc"
diff --git a/tests/testUI/testtabs/testtabs.pro b/tests/testUI/testtabs/testtabs.pro
new file mode 100644 (file)
index 0000000..c4f7930
--- /dev/null
@@ -0,0 +1,19 @@
+######################################################################
+# Automatically generated by qmake (2.01a) Wed Mar 31 10:55:19 2010
+######################################################################
+
+CONFIG += qtestlib
+TEMPLATE = app
+TARGET = 
+DEPENDPATH += .
+INCLUDEPATH += .
+
+# Input
+HEADERS += ../../../src/ui/mapviewtab.h \
+           ../../../src/ui/listviewtab.h \
+           ../../../src/ui/mainwindow.h \
+           testtabs.moc
+SOURCES += testtabs.cpp \
+           ../../../src/ui/mapviewtab.cpp \
+           ../../../src/ui/listviewtab.cpp \
+           ../../../src/ui/mainwindow.cpp