umbrello  2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
testumlobject.h
Go to the documentation of this file.
1 /*
2  SPDX-FileCopyrightText: 2015 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 TESTUMLOBJECT_H
8 #define TESTUMLOBJECT_H
9 
10 #include "testbase.h"
11 
12 class TestUMLObject : public TestBase
13 {
14  Q_OBJECT
15 private slots:
16  void test_copyInto();
17  void test_clone();
18  void test_doc();
19  void test_equal();
21  void test_isAbstract();
22  void test_isStatic();
23  void test_resolveRef();
24  void test_saveAndLoad();
25  void test_setBaseType();
26  void test_setStereotype();
27  void test_setUMLPackage();
28  void test_setVisibility();
29  void test_toString();
30  void test_dynamic_cast();
31  void test_isUMLXXX();
32 };
33 
34 #endif // TESTUMLOBJECT_H
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:420
TestUMLObject::test_setUMLPackage
void test_setUMLPackage()
Definition: testumlobject.cpp:191
TestUML
Definition: testbase.h:121
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1389
UMLObject::toI18nString
static QString toI18nString(ObjectType t)
Definition: umlobject.cpp:1190
TestUMLObject::test_setVisibility
void test_setVisibility()
Definition: testumlobject.cpp:201
Uml::Visibility::Implementation
@ Implementation
Definition: basictypes.h:49
TestUMLObject::test_isUMLXXX
void test_isUMLXXX()
Definition: testumlobject.cpp:231
TestUMLObject
Definition: testumlobject.h:12
stereotype.h
Uml::ID::Reserved
const Type Reserved
special value for illegal ID
Definition: basictypes.h:374
TestUMLObject::test_isStatic
void test_isStatic()
Definition: testumlobject.cpp:109
TestUMLObject::test_toString
void test_toString()
Definition: testumlobject.cpp:215
UMLObject::ot_Class
@ ot_Class
Definition: umlobject.h:85
operation.h
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:373
Uml::ModelType::Logical
@ Logical
Definition: basictypes.h:28
TestUMLObject::test_clone
void test_clone()
Definition: testumlobject.cpp:46
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1300
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:674
TestBase::cleanupOnExit
virtual void cleanupOnExit(QObject *p)
Definition: testbase.cpp:49
Uml::Visibility::FromParent
@ FromParent
Definition: basictypes.h:50
UMLObject::ot_UMLObject
@ ot_UMLObject
Definition: umlobject.h:78
TestUMLObject::test_dynamic_cast
void test_dynamic_cast()
Definition: testumlobject.cpp:221
UMLObject
The base class for UML objects.
Definition: umlobject.h:69
testbase.h
TestUMLObject::test_setBaseType
void test_setBaseType()
Definition: testumlobject.cpp:175
UMLStereotype
Sets up stereotype information.
Definition: stereotype.h:35
TestUMLObject::test_doc
void test_doc()
Definition: testumlobject.cpp:55
Uml::Visibility::Public
@ Public
Definition: basictypes.h:46
UMLDoc::rootFolder
UMLFolder * rootFolder(Uml::ModelType::Enum mt) const
Definition: umldoc.cpp:3176
attribute.h
a
QString a
Definition: petalnode.cpp:13
folder.h
i18n
#define i18n
Definition: main.cpp:34
UMLDoc::createStereotype
UMLStereotype * createStereotype(const QString &name)
Definition: umldoc.cpp:1300
TestUMLObject::test_equal
void test_equal()
Definition: testumlobject.cpp:65
testumlobject.h
TestUMLObject::test_saveAndLoad
void test_saveAndLoad()
Definition: testumlobject.cpp:148
UMLObject::toString
static QString toString(ObjectType ot)
Definition: umlobject.cpp:1180
c
type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of the commands you use may be called something other than show w and show c
Definition: GPL-2.0-only.txt:301
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:275
UMLAttribute::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition: attribute.cpp:231
UMLAttribute
Sets up attribute information.
Definition: attribute.h:22
TestUMLObject::test_fullyQualifiedName
void test_fullyQualifiedName()
Definition: testumlobject.cpp:80
UMLFolder
Non-graphical management of objects and diagrams of a Folder.
Definition: folder.h:29
classifier.h
UMLOperation
Definition: operation.h:19
uml.h
UMLObject::setUMLPackage
bool setUMLPackage(UMLPackage *pPkg)
Definition: umlobject.cpp:619
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:34
umlobject.h
TESTUMLObject
TestUML< UMLObject, const QString & > TESTUMLObject
Definition: testumlobject.cpp:117
TestUMLObject::test_resolveRef
void test_resolveRef()
Definition: testumlobject.cpp:119
b
bool b
Definition: cxx11-null-pointer-constant.h:6
Uml::Visibility::Private
@ Private
Definition: basictypes.h:47
package.h
TestBase
Definition: testbase.h:33
Uml::Visibility::Protected
@ Protected
Definition: basictypes.h:48
TestUMLObject::test_isAbstract
void test_isAbstract()
Definition: testumlobject.cpp:101
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1063
umldoc.h
TestUMLObject::test_setStereotype
void test_setStereotype()
Definition: testumlobject.cpp:183
TestUMLObject::test_copyInto
void test_copyInto()
Definition: testumlobject.cpp:28
UMLPackage
Non-graphical information for a Package.
Definition: package.h:27