aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-09-25 09:47:00 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-09-26 05:58:07 +0000
commite7c740cee32e22621324f94589cee12c69f2b99a (patch)
tree8c4c2fe134d38376625232c1c59904f88c31ed60
parentbdd2b09bce067440996008469da70a14fbaeefc3 (diff)
Remove old precompiled header test data
This was forgotten in commit 0655ccbe. Change-Id: I2319193e4fecb7576d3eb8b2256a9d3708791225 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--tests/auto/api/testdata/precompiled-header/main.cpp55
-rw-r--r--tests/auto/api/testdata/precompiled-header/myobject.cpp41
-rw-r--r--tests/auto/api/testdata/precompiled-header/myobject.h43
-rw-r--r--tests/auto/api/testdata/precompiled-header/precompiled-header.qbs15
-rw-r--r--tests/auto/api/testdata/precompiled-header/stable.h37
5 files changed, 0 insertions, 191 deletions
diff --git a/tests/auto/api/testdata/precompiled-header/main.cpp b/tests/auto/api/testdata/precompiled-header/main.cpp
deleted file mode 100644
index b719b42e3..000000000
--- a/tests/auto/api/testdata/precompiled-header/main.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of Qbs.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "myobject.h"
-#include <algorithm>
-#include <iostream>
-#include <list>
-
-using namespace std;
-
-int main()
-{
- MyObject obj;
- list<int> lst;
- lst.push_back(1);
- lst.push_back(2);
- lst.push_back(3);
- lst.push_back(4);
- lst.push_back(5);
- lst.push_back(6);
- lst.push_back(7);
- lst.push_back(8);
- lst.push_back(9);
- reverse(lst.begin(), lst.end());
- for (list<int>::iterator it=lst.begin(); it != lst.end(); ++it)
- cout << *it << ", ";
- cout << endl;
- return 0;
-}
-
diff --git a/tests/auto/api/testdata/precompiled-header/myobject.cpp b/tests/auto/api/testdata/precompiled-header/myobject.cpp
deleted file mode 100644
index 018b91e9d..000000000
--- a/tests/auto/api/testdata/precompiled-header/myobject.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of Qbs.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <iostream>
-#include "myobject.h"
-
-MyObject::MyObject()
-{
- std::cout << "MyObject::MyObject()\n";
-}
-
-MyObject::~MyObject()
-{
- std::cout << "MyObject::~MyObject()" << std::endl;
-}
-
diff --git a/tests/auto/api/testdata/precompiled-header/myobject.h b/tests/auto/api/testdata/precompiled-header/myobject.h
deleted file mode 100644
index a84536002..000000000
--- a/tests/auto/api/testdata/precompiled-header/myobject.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of Qbs.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef MYOBJECT_H
-#define MYOBJECT_H
-
-#include <QtCore/QObject>
-
-class MyObject : public QObject
-{
- Q_OBJECT
-public:
- MyObject();
- ~MyObject();
-};
-
-#endif
-
diff --git a/tests/auto/api/testdata/precompiled-header/precompiled-header.qbs b/tests/auto/api/testdata/precompiled-header/precompiled-header.qbs
deleted file mode 100644
index 5f7b4b616..000000000
--- a/tests/auto/api/testdata/precompiled-header/precompiled-header.qbs
+++ /dev/null
@@ -1,15 +0,0 @@
-import qbs 1.0
-
-Product {
- type: "application"
- consoleApplication: true
- name: "MyApp"
- files: ["stable.h",
- "myobject.h",
- "main.cpp",
- "myobject.cpp"]
- Depends { name: "cpp" }
- cpp.precompiledHeader: "stable.h"
- Depends { name: "Qt.core" }
-}
-
diff --git a/tests/auto/api/testdata/precompiled-header/stable.h b/tests/auto/api/testdata/precompiled-header/stable.h
deleted file mode 100644
index d9a6222dd..000000000
--- a/tests/auto/api/testdata/precompiled-header/stable.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of Qbs.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-/* Add C includes here */
-
-#if defined __cplusplus
-/* Add C++ includes here */
-
-# include <iostream>
-# include <algorithm>
-#endif
-