umbrello  2.39.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
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:
17 protected slots:
18  void initTestCase()
19  {
21  _sl = new SetLoading;
22  }
23 
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
Definition: testbase.h:74
Definition: testassociation.h:13
void test_toString()
Definition: testassociation.cpp:44
void test_roleDoc()
Definition: testassociation.cpp:157
void test_associationType()
Definition: testassociation.cpp:68
void test_objectID()
Definition: testassociation.cpp:76
void test_multiplicity()
Definition: testassociation.cpp:131
void test_saveAndLoad()
Definition: testassociation.cpp:198
void test_UMLRole()
Definition: testassociation.cpp:59
void test_roleName()
Definition: testassociation.cpp:144
void resolveRef()
Definition: testassociation.cpp:170
void initTestCase()
Definition: testassociation.h:18
void test_visibility()
Definition: testassociation.cpp:85
SetLoading * _sl
Definition: testassociation.h:16
void test_equal()
Definition: testassociation.cpp:24
void test_changeability()
Definition: testassociation.cpp:107
void cleanupTestCase()
Definition: testassociation.h:24
Definition: testbase.h:34
virtual void initTestCase()
Definition: testbase.cpp:28