From f4e75e132debc82f017ebb95c38b560cdd82d52c Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 16 Nov 2021 09:35:02 +0100 Subject: Rename Unity* symbols --- tests/client/CMakeLists.txt | 2 +- tests/client/ayatanamenuactiontest.cpp | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tests') 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 #include -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" -- cgit v1.2.3