diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client/CMakeLists.txt | 2 | ||||
-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" |