umbrello: unittests/testpackage.h Source File

umbrello 2.39.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

testpackage.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2019 Ralf Habacker <ralf.habacker@freenet.de>
3
4 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
5*/
6
7#ifndef TESTPACKAGE_H
8#define TESTPACKAGE_H
9
10#include "testbase.h"
11
12 class TestPackage : public TestBase
13{
14 Q_OBJECT
15protected:
16 SetLoading *_sl;
17protected Q_SLOTS:
18 void initTestCase()
19 {
20 TestBase::initTestCase();
21 _sl = new SetLoading;
22 }
23
24 void cleanupTestCase()
25 {
26 delete _sl;
27 }
28
29private Q_SLOTS:
30 void test_appendClassesAndInterfaces();
31 void test_saveAndLoad();
32};
33
34#endif // TESTASSOCIATION_H
SetLoading
Definition testbase.h:74
TestBase
Definition testbase.h:34
TestBase::initTestCase
virtual void initTestCase()
Definition testbase.cpp:28
TestPackage
Definition testpackage.h:13
TestPackage::test_saveAndLoad
void test_saveAndLoad()
Definition testpackage.cpp:30
TestPackage::cleanupTestCase
void cleanupTestCase()
Definition testpackage.h:24
TestPackage::initTestCase
void initTestCase()
Definition testpackage.h:18
TestPackage::_sl
SetLoading * _sl
Definition testpackage.h:16
TestPackage::test_appendClassesAndInterfaces
void test_appendClassesAndInterfaces()
Definition testpackage.cpp:13
testbase.h