Make some qtestlib headers private.
These headers should have been private from Day One. Make them private now so that nobody will be tempted to use them outside testlib in the future. Change-Id: I5361777ade124d8187176f9af3cc79cd1a8ecb4f Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
5603f94eaa
commit
59f91c0194
@ -39,10 +39,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "QtTest/private/qabstracttestlogger_p.h"
|
||||
#include "QtTest/qtestassert.h"
|
||||
#include <QtTest/private/qabstracttestlogger_p.h>
|
||||
#include <QtTest/qtestassert.h>
|
||||
|
||||
#include "QtCore/qbytearray.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -42,6 +42,17 @@
|
||||
#ifndef QBENCHMARKMETRIC_P_H
|
||||
#define QBENCHMARKMETRIC_P_H
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists purely as an
|
||||
// implementation detail. This header file may change from version to
|
||||
// version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
||||
#include <QtTest/qtest_global.h>
|
||||
#include <QtTest/qbenchmarkmetric.h>
|
||||
|
||||
|
@ -39,11 +39,22 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QTESTCOREELEMENT_H
|
||||
#define QTESTCOREELEMENT_H
|
||||
#ifndef QTESTCOREELEMENT_P_H
|
||||
#define QTESTCOREELEMENT_P_H
|
||||
|
||||
#include <QtTest/qtestcorelist.h>
|
||||
#include <QtTest/qtestelementattribute.h>
|
||||
//
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists purely as an
|
||||
// implementation detail. This header file may change from version to
|
||||
// version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
||||
#include <QtTest/private/qtestcorelist_p.h>
|
||||
#include <QtTest/private/qtestelementattribute_p.h>
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
@ -39,8 +39,19 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QTESTCORELIST_H
|
||||
#define QTESTCORELIST_H
|
||||
#ifndef QTESTCORELIST_P_H
|
||||
#define QTESTCORELIST_P_H
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists purely as an
|
||||
// implementation detail. This header file may change from version to
|
||||
// version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
@ -39,7 +39,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtTest/qtestelement.h>
|
||||
#include <QtTest/private/qtestelement_p.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
@ -39,10 +39,21 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QTESTELEMENT_H
|
||||
#define QTESTELEMENT_H
|
||||
#ifndef QTESTELEMENT_P_H
|
||||
#define QTESTELEMENT_P_H
|
||||
|
||||
#include <QtTest/qtestcoreelement.h>
|
||||
//
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists purely as an
|
||||
// implementation detail. This header file may change from version to
|
||||
// version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
||||
#include <QtTest/private/qtestcoreelement_p.h>
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
@ -39,7 +39,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtTest/qtestelementattribute.h>
|
||||
#include <QtTest/private/qtestelementattribute_p.h>
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -39,10 +39,21 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QTESTELEMENTATTRIBUTE_H
|
||||
#define QTESTELEMENTATTRIBUTE_H
|
||||
#ifndef QTESTELEMENTATTRIBUTE_P_H
|
||||
#define QTESTELEMENTATTRIBUTE_P_H
|
||||
|
||||
#include <QtTest/qtestcorelist.h>
|
||||
//
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists purely as an
|
||||
// implementation detail. This header file may change from version to
|
||||
// version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
||||
#include <QtTest/private/qtestcorelist_p.h>
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
@ -39,10 +39,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtTest/qtestxunitstreamer.h>
|
||||
#include <QtTest/private/qtestxunitstreamer_p.h>
|
||||
#include <QtTest/private/qxunittestlogger_p.h>
|
||||
#include <QtTest/qtestelement.h>
|
||||
#include <QtTest/qtestelementattribute.h>
|
||||
#include <QtTest/private/qtestelement_p.h>
|
||||
#include <QtTest/private/qtestelementattribute_p.h>
|
||||
#include <QtTest/qtestassert.h>
|
||||
#include <QtTest/private/qtestlog_p.h>
|
||||
#include <QtTest/private/qtestresult_p.h>
|
||||
|
@ -39,8 +39,19 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QTESTXUNITSTREAMER_H
|
||||
#define QTESTXUNITSTREAMER_H
|
||||
#ifndef QTESTXUNITSTREAMER_P_H
|
||||
#define QTESTXUNITSTREAMER_P_H
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists purely as an
|
||||
// implementation detail. This header file may change from version to
|
||||
// version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
@ -40,8 +40,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtTest/private/qxunittestlogger_p.h>
|
||||
#include <QtTest/qtestelement.h>
|
||||
#include <QtTest/qtestxunitstreamer.h>
|
||||
#include <QtTest/private/qtestelement_p.h>
|
||||
#include <QtTest/private/qtestxunitstreamer_p.h>
|
||||
#include <QtTest/qtestcase.h>
|
||||
#include <QtTest/private/qtestresult_p.h>
|
||||
#include <QtTest/private/qbenchmark_p.h>
|
||||
|
@ -19,11 +19,7 @@ HEADERS = qbenchmark.h \
|
||||
qtestaccessible.h \
|
||||
qtestassert.h \
|
||||
qtestcase.h \
|
||||
qtestcoreelement.h \
|
||||
qtestcorelist.h \
|
||||
qtestdata.h \
|
||||
qtestelementattribute.h \
|
||||
qtestelement.h \
|
||||
qtestevent.h \
|
||||
qtesteventloop.h \
|
||||
qtest_global.h \
|
||||
@ -34,7 +30,7 @@ HEADERS = qbenchmark.h \
|
||||
qtestspontaneevent.h \
|
||||
qtestsystem.h \
|
||||
qtesttouch.h \
|
||||
qtestxunitstreamer.h
|
||||
|
||||
SOURCES = qtestcase.cpp \
|
||||
qtestlog.cpp \
|
||||
qtesttable.cpp \
|
||||
|
@ -514,11 +514,7 @@ QT_CLASS_LIB(QTest, QtTest, qtest.h)
|
||||
QT_CLASS_LIB(QtTestGui, QtTest, qtest_gui.h)
|
||||
QT_CLASS_LIB(QTestAccessibilityEvent, QtTest, qtestaccessible.h)
|
||||
QT_CLASS_LIB(QTestAccessibility, QtTest, qtestaccessible.h)
|
||||
QT_CLASS_LIB(QTestCoreElement, QtTest, qtestcoreelement.h)
|
||||
QT_CLASS_LIB(QTestCoreList, QtTest, qtestcorelist.h)
|
||||
QT_CLASS_LIB(QTestData, QtTest, qtestdata.h)
|
||||
QT_CLASS_LIB(QTestElement, QtTest, qtestelement.h)
|
||||
QT_CLASS_LIB(QTestElementAttribute, QtTest, qtestelementattribute.h)
|
||||
QT_CLASS_LIB(QTestEvent, QtTest, qtestevent.h)
|
||||
QT_CLASS_LIB(QTestKeyEvent, QtTest, qtestevent.h)
|
||||
QT_CLASS_LIB(QTestKeyClicksEvent, QtTest, qtestevent.h)
|
||||
@ -529,7 +525,6 @@ QT_CLASS_LIB(QTestEventLoop, QtTest, qtesteventloop.h)
|
||||
QT_CLASS_LIB(QEventSizeOfChecker, QtTest, qtestspontaneevent.h)
|
||||
QT_CLASS_LIB(QEventSizeOfChecker, QtTest, qtestspontaneevent.h)
|
||||
QT_CLASS_LIB(QSpontaneKeyEvent, QtTest, qtestspontaneevent.h)
|
||||
QT_CLASS_LIB(QTestXunitStreamer, QtTest, qtestxunitstreamer.h)
|
||||
QT_CLASS_LIB(QDBusAbstractAdaptor, QtDBus, qdbusabstractadaptor.h)
|
||||
QT_CLASS_LIB(QDBusAbstractInterfaceBase, QtDBus, qdbusabstractinterface.h)
|
||||
QT_CLASS_LIB(QDBusAbstractInterface, QtDBus, qdbusabstractinterface.h)
|
||||
|
Loading…
Reference in New Issue
Block a user