umbrello 2.39.2 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

testassociation.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 TESTASSOCIATION_H
8#define TESTASSOCIATION_H
9
10#include "testbase.h"
11
12 class TestAssociation : public TestBase
13{
14 Q_OBJECT
15 protected:
16 SetLoading *_sl;
17 protected slots:
18 void initTestCase()
19 {
20 TestBase::initTestCase();
21 _sl = new SetLoading;
22 }
23
24 void cleanupTestCase()
25 {
26 delete _sl;
27 }
28
29 private slots:
30 void test_equal();
31 void test_toString();
32 void test_UMLRole();
33 void test_associationType();
34 void test_objectID();
35 void test_visibility();
36 void test_changeability();
37 void test_multiplicity();
38 void test_roleName();
39 void test_roleDoc();
40 void resolveRef();
41 void test_saveAndLoad();
42};
43
44#endif // TESTASSOCIATION_H
SetLoading
Definition testbase.h:74
TestAssociation
Definition testassociation.h:13
TestAssociation::test_toString
void test_toString()
Definition testassociation.cpp:44
TestAssociation::test_roleDoc
void test_roleDoc()
Definition testassociation.cpp:157
TestAssociation::test_associationType
void test_associationType()
Definition testassociation.cpp:68
TestAssociation::test_objectID
void test_objectID()
Definition testassociation.cpp:76
TestAssociation::test_multiplicity
void test_multiplicity()
Definition testassociation.cpp:131
TestAssociation::test_saveAndLoad
void test_saveAndLoad()
Definition testassociation.cpp:198
TestAssociation::test_UMLRole
void test_UMLRole()
Definition testassociation.cpp:59
TestAssociation::test_roleName
void test_roleName()
Definition testassociation.cpp:144
TestAssociation::resolveRef
void resolveRef()
Definition testassociation.cpp:170
TestAssociation::initTestCase
void initTestCase()
Definition testassociation.h:18
TestAssociation::test_visibility
void test_visibility()
Definition testassociation.cpp:85
TestAssociation::_sl
SetLoading * _sl
Definition testassociation.h:16
TestAssociation::test_equal
void test_equal()
Definition testassociation.cpp:24
TestAssociation::test_changeability
void test_changeability()
Definition testassociation.cpp:107
TestAssociation::cleanupTestCase
void cleanupTestCase()
Definition testassociation.h:24
TestBase
Definition testbase.h:34
TestBase::initTestCase
virtual void initTestCase()
Definition testbase.cpp:28
testbase.h