aboutsummaryrefslogtreecommitdiff
path: root/tests/client
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-17 13:18:35 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-17 13:18:35 +0100
commit62a8b8b6886c3b638e309ae3dd28390b1dda83f9 (patch)
tree92ca3bc27908d3fc03703d82987a5bfe25b74ae4 /tests/client
parent8089cd5052ff617c05ef981b24881d4b89b5436c (diff)
parentf4e75e132debc82f017ebb95c38b560cdd82d52c (diff)
downloadqmenumodel-62a8b8b6886c3b638e309ae3dd28390b1dda83f9.tar.gz
qmenumodel-62a8b8b6886c3b638e309ae3dd28390b1dda83f9.tar.bz2
qmenumodel-62a8b8b6886c3b638e309ae3dd28390b1dda83f9.zip
Merge branch 'tari01-pr/rename-unity-symbols'
Attributes GH PR #8: https://github.com/AyatanaIndicators/qmenumodel/pull/8
Diffstat (limited to 'tests/client')
-rw-r--r--tests/client/CMakeLists.txt2
-rw-r--r--tests/client/ayatanamenuactiontest.cpp (renamed from tests/client/unitymenuactiontest.cpp)18
2 files changed, 10 insertions, 10 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/unitymenuactiontest.cpp b/tests/client/ayatanamenuactiontest.cpp
index d33ab2e..e01233c 100644
--- a/tests/client/unitymenuactiontest.cpp
+++ b/tests/client/ayatanamenuactiontest.cpp
@@ -17,13 +17,13 @@
* Nick Dedekind <nick.dedekind@canonical.com>
*/
-#include "unitymenumodel.h"
-#include "unitymenuaction.h"
+#include "ayatanamenumodel.h"
+#include "ayatanamenuaction.h"
#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"