Changeset View
Changeset View
Standalone View
Standalone View
Modules/samba/autotests/smbmountmodeltest.cpp
- This file was added.
1 | /* | ||||
---|---|---|---|---|---|
2 | SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org> | ||||
3 | SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL | ||||
4 | */ | ||||
5 | | ||||
6 | #include <QTest> | ||||
7 | #include <QAbstractItemModelTester> | ||||
8 | | ||||
9 | #include "../smbmountmodel.h" | ||||
10 | | ||||
11 | class SmbMountModelTest : public QObject | ||||
12 | { | ||||
13 | Q_OBJECT | ||||
14 | private Q_SLOTS: | ||||
15 | void testModel() | ||||
16 | { | ||||
17 | QAbstractItemModelTester tester(new SmbMountModel); | ||||
18 | } | ||||
19 | }; | ||||
20 | | ||||
21 | QTEST_GUILESS_MAIN(SmbMountModelTest) | ||||
22 | | ||||
23 | #include "smbmountmodeltest.moc" |