summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Kearns <ext-shane.2.kearns@nokia.com>2012-04-16 19:11:59 +0100
committerShane Kearns <shane.kearns@accenture.com>2012-04-20 12:29:00 +0200
commit5a12bc0e9ed4335a36c54275ce64bf78ab669735 (patch)
tree5aae232ec1ad8587fcbd22587a5ca5415808e104
parent735290a1af8e93cc9a5a989990308593e152d101 (diff)
Add headersclean test
Change-Id: I27c3c6d0e36b65f995de05820779b3d2a56d1a18 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--tests/auto/auto.pro1
-rw-r--r--tests/auto/headersclean/headersclean.pro2
-rw-r--r--tests/auto/headersclean/qt_headersclean_headers.h52
3 files changed, 55 insertions, 0 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 97841e2..60b4806 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,3 +1,4 @@
TEMPLATE = subdirs
+SUBDIRS += headersclean
SUBDIRS += qhttp
diff --git a/tests/auto/headersclean/headersclean.pro b/tests/auto/headersclean/headersclean.pro
new file mode 100644
index 0000000..c172387
--- /dev/null
+++ b/tests/auto/headersclean/headersclean.pro
@@ -0,0 +1,2 @@
+QT = core testlib http
+include($${QT.core.sources}/../../tests/auto/other/headersclean/headersclean.pri)
diff --git a/tests/auto/headersclean/qt_headersclean_headers.h b/tests/auto/headersclean/qt_headersclean_headers.h
new file mode 100644
index 0000000..3d1ca26
--- /dev/null
+++ b/tests/auto/headersclean/qt_headersclean_headers.h
@@ -0,0 +1,52 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/
+**
+** This file is part of the test suite of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** GNU Lesser General Public License Usage
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QT_HEADERSCLEAN_HEADERS
+#define QT_HEADERSCLEAN_HEADERS
+
+/*
+ This file should include all the headers to be tested by the headersclean
+ test. It may be copied and customized for each module.
+*/
+
+#include <QtHttp/QtHttp>
+
+#endif