File indexing completed on 2024-04-21 03:52:39

0001 /*
0002   This file is part of the kcalcore library.
0003 
0004   SPDX-FileCopyrightText: 2006 Allen Winter <winter@kde.org>
0005 
0006   SPDX-License-Identifier: LGPL-2.0-or-later
0007 */
0008 
0009 #include "testexception.h"
0010 #include "exceptions.h"
0011 
0012 #include <QTest>
0013 QTEST_MAIN(ExceptionTest)
0014 
0015 using namespace KCalendarCore;
0016 
0017 void ExceptionTest::testValidity()
0018 {
0019     Exception ef(Exception::LoadError);
0020     QVERIFY(ef.code() == Exception::LoadError);
0021 }
0022 
0023 #include "moc_testexception.cpp"