aboutsummaryrefslogtreecommitdiff
path: root/tests/client/modeltest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client/modeltest.cpp')
-rw-r--r--tests/client/modeltest.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/client/modeltest.cpp b/tests/client/modeltest.cpp
index bc5d95e..8be92a6 100644
--- a/tests/client/modeltest.cpp
+++ b/tests/client/modeltest.cpp
@@ -260,21 +260,6 @@ private Q_SLOTS:
delete model;
}
-
- /*
- * Test if the model is clearead after GMenuModel be destroyed
- */
- void testDestroyGMenuModel()
- {
- GMenu *menu = g_menu_new();
- g_menu_append(menu, "test-menu0", NULL);
- g_menu_append(menu, "test-menu1", NULL);
- TestMenuModel model(reinterpret_cast<GMenuModel*>(menu));
- QCOMPARE(model.rowCount(), 2);
-
- g_object_unref(menu);
- QCOMPARE(model.rowCount(), 0);
- }
};
QTEST_MAIN(ModelTest)