From a22ddd13b744e8a75114a5312282ea1b263e558e Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 22 Aug 2024 18:53:24 -0400 Subject: [PATCH] Use QAbstractItemModelTester in ProfileManagerTest --- autotests/profilemanagertest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autotests/profilemanagertest.cpp b/autotests/profilemanagertest.cpp index 98b613c..935bcd1 100644 --- a/autotests/profilemanagertest.cpp +++ b/autotests/profilemanagertest.cpp @@ -13,6 +13,7 @@ private Q_SLOTS: void testDummyProfile() { ProfileManager profileManager; + QAbstractItemModelTester modelTester(&profileManager); QCOMPARE(profileManager.rowCount({}), 0); profileManager.load(); @@ -33,6 +34,7 @@ private Q_SLOTS: void testProfileManagement() { ProfileManager profileManager; + QAbstractItemModelTester modelTester(&profileManager); QCOMPARE(profileManager.rowCount({}), 0); profileManager.load();