File: testexception.cpp

package info (click to toggle)
kcalcore 5%3A5.78.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,736 kB
  • sloc: cpp: 23,105; perl: 136; sh: 11; makefile: 7
file content (21 lines) | stat: -rw-r--r-- 415 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
  This file is part of the kcalcore library.

  SPDX-FileCopyrightText: 2006 Allen Winter <winter@kde.org>

  SPDX-License-Identifier: LGPL-2.0-or-later
*/

#include "testexception.h"
#include "exceptions.h"

#include <QTest>
QTEST_MAIN(ExceptionTest)

using namespace KCalendarCore;

void ExceptionTest::testValidity()
{
    Exception ef(Exception::LoadError);
    QVERIFY(ef.code() == Exception::LoadError);
}