Move extension system auto tests.

This commit is contained in:
con
2010-11-08 14:36:26 +01:00
parent 06afc48da1
commit 71fd308c61
59 changed files with 0 additions and 27 deletions

View File

@@ -0,0 +1,5 @@
<plugin name="plugin3" version="1.0.0" compatVersion="1.0.0">
<dependencyList>
<dependency name="plugin1" version="1.0.0"/>
</dependencyList>
</plugin>

View File

@@ -0,0 +1,49 @@
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
**
** Alternatively, 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.
**
** If you are unsure which license is appropriate for your use, please
** contact the sales department at http://qt.nokia.com/contact.
**
**************************************************************************/
#include "plugin3.h"
#include <QtCore/qplugin.h>
using namespace Plugin3;
MyPlugin3::MyPlugin3()
{
}
bool MyPlugin3::initialize(const QStringList &, QString *)
{
return true;
}
void MyPlugin3::extensionsInitialized()
{
}
Q_EXPORT_PLUGIN(MyPlugin3)

View File

@@ -0,0 +1,52 @@
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
**
** Alternatively, 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.
**
** If you are unsure which license is appropriate for your use, please
** contact the sales department at http://qt.nokia.com/contact.
**
**************************************************************************/
#ifndef PLUGIN3_H
#define PLUGIN3_H
#include <extensionsystem/iplugin.h>
#include <QtCore/QObject>
namespace Plugin3 {
class MyPlugin3 : public ExtensionSystem::IPlugin
{
Q_OBJECT
public:
MyPlugin3();
bool initialize(const QStringList &arguments, QString *errorString);
void extensionsInitialized();
};
} // namespace Plugin3
#endif // PLUGIN3_H

View File

@@ -0,0 +1,16 @@
TEMPLATE = lib
SOURCES += plugin3.cpp
HEADERS += plugin3.h
OTHER_FILES = $$PWD/plugin.xml
include(../../../../../../../../qtcreator.pri)
include(../../../../../extensionsystem.pri)
include(../../../../../../../../tests/auto/qttestrpath.pri)
COPYDIR = $$OUT_PWD
COPYFILES = $$OTHER_FILES
include(../../../copy.pri)
TARGET = $$qtLibraryName(plugin3)