aboutsummaryrefslogtreecommitdiff
path: root/tests/client
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-16 09:35:02 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-17 13:14:54 +0100
commitf4e75e132debc82f017ebb95c38b560cdd82d52c (patch)
tree92ca3bc27908d3fc03703d82987a5bfe25b74ae4 /tests/client
parentf8036895f95acc49f484af564d2b56f14c158dd9 (diff)
downloadqmenumodel-f4e75e132debc82f017ebb95c38b560cdd82d52c.tar.gz
qmenumodel-f4e75e132debc82f017ebb95c38b560cdd82d52c.tar.bz2
qmenumodel-f4e75e132debc82f017ebb95c38b560cdd82d52c.zip
Rename Unity* symbols
Diffstat (limited to 'tests/client')
-rw-r--r--tests/client/CMakeLists.txt2
-rw-r--r--tests/client/ayatanamenuactiontest.cpp14
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/client/CMakeLists.txt b/tests/client/CMakeLists.txt
index ce8192d..9021585 100644
--- a/tests/client/CMakeLists.txt
+++ b/tests/client/CMakeLists.txt
@@ -61,7 +61,7 @@ declare_test(qmltest)
declare_test(convertertest)
declare_test(modelsignalstest)
declare_test(treetest)
-declare_test(unitymenuactiontest)
+declare_test(ayatanamenuactiontest)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/qmlfiles.h.in
${CMAKE_CURRENT_BINARY_DIR}/qmlfiles.h)
diff --git a/tests/client/ayatanamenuactiontest.cpp b/tests/client/ayatanamenuactiontest.cpp
index 3dcec95..e01233c 100644
--- a/tests/client/ayatanamenuactiontest.cpp
+++ b/tests/client/ayatanamenuactiontest.cpp
@@ -23,7 +23,7 @@
#include <QObject>
#include <QtTest>
-class UnityMenuActionTest : public QObject
+class AyatanaMenuActionTest : public QObject
{
Q_OBJECT
private:
@@ -35,8 +35,8 @@ private Q_SLOTS:
*/
void testDestroyAfterModel()
{
- UnityMenuModel* model = new UnityMenuModel;
- UnityMenuAction* action = new UnityMenuAction;
+ AyatanaMenuModel* model = new AyatanaMenuModel;
+ AyatanaMenuAction* action = new AyatanaMenuAction;
action->setModel(model);
delete model;
@@ -48,8 +48,8 @@ private Q_SLOTS:
*/
void testDestroyBeforeModel()
{
- UnityMenuModel* model = new UnityMenuModel;
- UnityMenuAction* action = new UnityMenuAction;
+ AyatanaMenuModel* model = new AyatanaMenuModel;
+ AyatanaMenuAction* action = new AyatanaMenuAction;
action->setModel(model);
delete action;
@@ -57,6 +57,6 @@ private Q_SLOTS:
}
};
-QTEST_MAIN(UnityMenuActionTest)
+QTEST_MAIN(AyatanaMenuActionTest)
-#include "unitymenuactiontest.moc"
+#include "ayatanamenuactiontest.moc"