mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
Use QAbstractItemModelTester in ProfileManagerTest
This commit is contained in:
parent
ba89c7f487
commit
a22ddd13b7
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue