umbrello  2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
testclassifier.h
Go to the documentation of this file.
1 /*
2  SPDX-FileCopyrightText: 2011 Andi Fischer <andi.fischer@hispeed.ch>
3 
4  SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
5 */
6 
7 #ifndef TEST_CLASSIFIER_H
8 #define TEST_CLASSIFIER_H
9 
10 #include "testbase.h"
11 
16 {
17  Q_OBJECT
18 private slots:
19  void test_equal();
20  void test_copyInto();
21  void test_clone();
26  void test_getAttributeList();
31  void test_getOperationList();
36  void test_findTemplate();
37  void test_getTemplateList();
38  void test_takeItem();
39  void test_getFilteredList();
40  void test_resolveRef();
41  void test_findOperations();
43  void test_findOperation();
46  void test_setGetClassAssoc();
47  void test_isInterface();
48  void test_setGetOriginType();
50  void test_hasAbstractOps();
51  void test_makeChildObject();
53  void test_saveAndLoad();
54 };
55 
56 #endif // TEST_CLASSIFIER_H
TestUML
Definition: testbase.h:121
datatype.h
TestUMLClassifier
TestUML< UMLClassifier, const QString & > TestUMLClassifier
Definition: testclassifier.cpp:306
UMLOperation::addParm
void addParm(UMLAttribute *parameter, int position=-1)
Definition: operation.cpp:276
TEST_classifier::test_clone
void test_clone()
Definition: testclassifier.cpp:39
TEST_classifier::test_makeChildObject
void test_makeChildObject()
Definition: testclassifier.cpp:296
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:291
UMLClassifier::isInterface
bool isInterface() const
Definition: classifier.cpp:116
Uml::ProgrammingLanguage::PostgreSQL
@ PostgreSQL
Definition: basictypes.h:305
TEST_classifier::test_getAttributeList
void test_getAttributeList()
Definition: testclassifier.cpp:89
TEST_classifier::test_setGetIsReference
void test_setGetIsReference()
Definition: testclassifier.cpp:286
TEST_classifier::test_findSubClassConcepts
void test_findSubClassConcepts()
Definition: testclassifier.cpp:253
TEST_classifier::test_getTemplateList
void test_getTemplateList()
Definition: testclassifier.cpp:144
UMLDatatype
Non-graphical information for a Datatype.
Definition: datatype.h:20
operation.h
UMLClassifierListItem::getType
UMLClassifier * getType() const
Definition: classifierlistitem.cpp:98
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:373
UMLClassifier::findSuperClassConcepts
UMLClassifierList findSuperClassConcepts(ClassifierType type=ALL) const
Definition: classifier.cpp:609
TEST_classifier::test_findSuperClassConcepts
void test_findSuperClassConcepts()
Definition: testclassifier.cpp:240
association.h
TEST_classifier::test_setGetOriginType
void test_setGetOriginType()
Definition: testclassifier.cpp:281
model_utils.h
UMLClassifier::ALL
@ ALL
Definition: classifier.h:42
testbase.h
Model_Utils::NameAndType_List
QLinkedList< NameAndType > NameAndType_List
Auxiliary type for OpDescriptor.
Definition: model_utils.h:124
IS_NOT_IMPL
#define IS_NOT_IMPL()
Definition: testbase.h:23
TEST_classifier::test_hasAbstractOps
void test_hasAbstractOps()
Definition: testclassifier.cpp:291
TEST_classifier::test_takeItem
void test_takeItem()
Definition: testclassifier.cpp:149
TEST_classifier::test_addAttributeWithAttribute
void test_addAttributeWithAttribute()
Definition: testclassifier.cpp:65
UMLClassifierListItem::setTypeName
void setTypeName(const QString &type)
Definition: classifierlistitem.cpp:137
TEST_classifier
Definition: testclassifier.h:15
TEST_classifier::test_addOperationWithPosition
void test_addOperationWithPosition()
Definition: testclassifier.cpp:94
TEST_classifier::test_copyInto
void test_copyInto()
Definition: testclassifier.cpp:31
a
QString a
Definition: petalnode.cpp:13
TEST_classifier::test_findOperations
void test_findOperations()
Definition: testclassifier.cpp:164
UMLClassifier::setBaseType
void setBaseType(UMLObject::ObjectType ot)
Definition: classifier.cpp:81
TEST_classifier::test_addAttributeWithType
void test_addAttributeWithType()
Definition: testclassifier.cpp:46
TEST_classifier::test_findTemplate
void test_findTemplate()
Definition: testclassifier.cpp:139
UMLApp::setActiveLanguage
void setActiveLanguage(Uml::ProgrammingLanguage::Enum pl)
Definition: uml.cpp:2699
TEST_classifier::test_addOperationWithLog
void test_addOperationWithLog()
Definition: testclassifier.cpp:99
TEST_classifier::test_saveAndLoad
void test_saveAndLoad()
Definition: testclassifier.cpp:308
TEST_classifier::test_removeAndCountAttribute
void test_removeAndCountAttribute()
Definition: testclassifier.cpp:70
UMLClassifier::findSubClassConcepts
UMLClassifierList findSubClassConcepts(ClassifierType type=ALL) const
Definition: classifier.cpp:570
Uml::AssociationType::Generalization
@ Generalization
Definition: basictypes.h:93
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
TEST_classifier::test_equal
void test_equal()
Definition: testclassifier.cpp:19
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:349
Model_Utils::NameAndType
Definition: model_utils.h:111
UMLAttribute
Sets up attribute information.
Definition: attribute.h:22
TestUML::testSave1
QString testSave1()
Definition: testbase.h:134
testclassifier.h
TEST_classifier::test_addTemplateWithPosition
void test_addTemplateWithPosition()
Definition: testclassifier.cpp:129
classifier.h
TEST_classifier::test_getOperationList
void test_getOperationList()
Definition: testclassifier.cpp:114
TEST_classifier::test_removeAndCountOperation
void test_removeAndCountOperation()
Definition: testclassifier.cpp:109
TEST_classifier::test_getUniAssociationToBeImplemented
void test_getUniAssociationToBeImplemented()
Definition: testclassifier.cpp:301
UMLOperation
Definition: operation.h:19
TEST_classifier::test_resolveRef
void test_resolveRef()
Definition: testclassifier.cpp:159
uml.h
TEST_classifier::test_removeAndCountTemplate
void test_removeAndCountTemplate()
Definition: testclassifier.cpp:134
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:34
UMLCanvasObject::addAssociationEnd
bool addAssociationEnd(UMLAssociation *assoc)
Definition: umlcanvasobject.cpp:76
UMLAssociation
Sets up association information.
Definition: association.h:28
TestUML::testLoad1
bool testLoad1(const QString &xml)
Definition: testbase.h:145
TEST_classifier::test_setGetClassAssoc
void test_setGetClassAssoc()
Definition: testclassifier.cpp:266
TEST_classifier::test_addTemplateWithType
void test_addTemplateWithType()
Definition: testclassifier.cpp:119
TEST_classifier::test_findChildObjectById
void test_findChildObjectById()
Definition: testclassifier.cpp:187
TEST_classifier::test_getFilteredList
void test_getFilteredList()
Definition: testclassifier.cpp:154
TEST_classifier::test_findOperation
void test_findOperation()
Definition: testclassifier.cpp:192
b
bool b
Definition: cxx11-null-pointer-constant.h:6
UMLApp::activeLanguage
Uml::ProgrammingLanguage::Enum activeLanguage() const
Definition: uml.cpp:2708
TEST_classifier::test_addTemplateWithLog
void test_addTemplateWithLog()
Definition: testclassifier.cpp:124
TestBase
Definition: testbase.h:33
TEST_classifier::test_isInterface
void test_isInterface()
Definition: testclassifier.cpp:271
TEST_classifier::test_checkOperationSignature
void test_checkOperationSignature()
Definition: testclassifier.cpp:104
Uml::AssociationType::Realization
@ Realization
Definition: basictypes.h:104
UMLPackage
Non-graphical information for a Package.
Definition: package.h:27
TEST_classifier::test_addAttributeWithObject
void test_addAttributeWithObject()
Definition: testclassifier.cpp:60