diff options
author | Dominik Holland <dominik.holland@qt.io> | 2019-10-25 09:19:55 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2019-10-30 12:08:43 +0100 |
commit | 7e4e94f7e8ae83ba6930e496d789bc768eadcf7c (patch) | |
tree | 454c650878918b82f3381e800cb304d52f1f4dcf /tests | |
parent | 94e15d1212bace7745fe3e4599cb34c4260fd277 (diff) | |
download | qtivi-7e4e94f7e8ae83ba6930e496d789bc768eadcf7c.tar.gz |
Fix all plugin class names to be unique within the module
The plugin class name is used to instantiate the plugin when used as
static plugin and also defines the name for the cmake files to include
those plugins.
Using the same name sometimes caused build errors when generating the
same cmake file.
Change-Id: I28e6b83148d14265fb74690d2b912628446301eb
Fixes: AUTOSUITE-1322
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'tests')
9 files changed, 9 insertions, 10 deletions
diff --git a/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/backend_qtro.pro b/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/backend_qtro.pro index ce0da0f..fe69f82 100644 --- a/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/backend_qtro.pro +++ b/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/backend_qtro.pro @@ -7,7 +7,7 @@ CONFIG += warn_off ivigenerator plugin INCLUDEPATH += $$OUT_PWD/../frontend $$OUT_PWD/../common PLUGIN_TYPE = qtivi -PLUGIN_CLASS_NAME = IncludeTestPlugin +PLUGIN_CLASS_NAME = IncludeTestQtROPlugin QT += core ivicore diff --git a/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/backend_simulator.pro b/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/backend_simulator.pro index 819898e..b48d2c8 100644 --- a/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/backend_simulator.pro +++ b/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/backend_simulator.pro @@ -7,7 +7,7 @@ CONFIG += warn_off ivigenerator plugin INCLUDEPATH += $$OUT_PWD/../frontend $$OUT_PWD/../common PLUGIN_TYPE = qtivi -PLUGIN_CLASS_NAME = IncludeTestPlugin +PLUGIN_CLASS_NAME = IncludeTestSimulatorPlugin QT += core ivicore diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/backend_qtro.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/backend_qtro.pro index 4f13551..3fd1d44 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/backend_qtro.pro +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_qtro/backend_qtro.pro @@ -7,7 +7,7 @@ CONFIG += warn_off ivigenerator plugin INCLUDEPATH += $$OUT_PWD/../frontend PLUGIN_TYPE = qtivi -PLUGIN_CLASS_NAME = EchoPlugin +PLUGIN_CLASS_NAME = EchoQtROPlugin QT += core ivicore diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_simulator/backend_simulator.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_simulator/backend_simulator.pro index ffefda0..e8eedb7 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_simulator/backend_simulator.pro +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noannotation/backend_simulator/backend_simulator.pro @@ -7,7 +7,7 @@ CONFIG += warn_off ivigenerator plugin INCLUDEPATH += $$OUT_PWD/../frontend PLUGIN_TYPE = qtivi -PLUGIN_CLASS_NAME = EchoPlugin +PLUGIN_CLASS_NAME = EchoSimulatorPlugin QT += core ivicore diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/backend_simulator.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/backend_simulator.pro index c3ac195..fe5ec81 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/backend_simulator.pro +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/backend_simulator.pro @@ -7,7 +7,7 @@ CONFIG += warn_off ivigenerator plugin INCLUDEPATH += $$OUT_PWD/../frontend PLUGIN_TYPE = qtivi -PLUGIN_CLASS_NAME = EchoPlugin +PLUGIN_CLASS_NAME = EchoSimulatorPlugin QT += core ivicore diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/backend_qtro.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/backend_qtro.pro index 09efc01..3c84052 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/backend_qtro.pro +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/backend_qtro.pro @@ -7,7 +7,7 @@ CONFIG += warn_off ivigenerator plugin INCLUDEPATH += $$OUT_PWD/../frontend PLUGIN_TYPE = qtivi -PLUGIN_CLASS_NAME = EchoPlugin +PLUGIN_CLASS_NAME = EchoQtROPlugin QT += core ivicore diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp index 6f16ae2..2befbe2 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp @@ -28,7 +28,6 @@ ****************************************************************************/ #include "tst_echoqtro.h" -#include "echoplugin.h" #include "server.h" #include "echo.h" #include "echozoned.h" diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.cpp b/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.cpp index f0dca77..d2bb99f 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.cpp +++ b/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.cpp @@ -1,10 +1,10 @@ #include "echobackend.h" #include "echozonedbackend.h" -#include "echoplugin.h" +#include "echosimulatorplugin.h" QT_BEGIN_NAMESPACE -extern QVector<QIviFeatureInterface *> echoInterfaceBuilder(EchoPlugin *plugin) +extern QVector<QIviFeatureInterface *> echoInterfaceBuilder(EchoSimulatorPlugin *plugin) { QVector<QIviFeatureInterface *> res; res << new EchoBackend(plugin); diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.pro b/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.pro index 9922d05..242a073 100644 --- a/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.pro +++ b/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.pro @@ -7,7 +7,7 @@ CONFIG += warn_off ivigenerator plugin INCLUDEPATH += $$OUT_PWD/../frontend PLUGIN_TYPE = qtivi -PLUGIN_CLASS_NAME = EchoPlugin +PLUGIN_CLASS_NAME = EchoSimulatorPlugin QT += core ivicore |