File indexing completed on 2025-03-09 04:54:36
0001 /* 0002 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "openwithurlinfotest.h" 0008 #include "openurlwith/openwithurlinfo.h" 0009 #include <QTest> 0010 QTEST_MAIN(OpenWithUrlInfoTest) 0011 OpenWithUrlInfoTest::OpenWithUrlInfoTest(QObject *parent) 0012 : QObject{parent} 0013 { 0014 } 0015 0016 void OpenWithUrlInfoTest::shouldHaveDefaultValues() 0017 { 0018 MessageViewer::OpenWithUrlInfo info; 0019 QVERIFY(!info.isValid()); 0020 QVERIFY(info.url().isEmpty()); 0021 QVERIFY(info.command().isEmpty()); 0022 QVERIFY(info.commandLine().isEmpty()); 0023 } 0024 0025 #include "moc_openwithurlinfotest.cpp"