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

testcppwriter.h
Go to the documentation of this file.
1 /*
2 Copyright 2011 Andi Fischer <andi.fischer@hispeed.ch>
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of
7 the License or (at your option) version 3 or any later version
8 accepted by the membership of KDE e.V. (or its successor approved
9 by the membership of KDE e.V.), which shall act as a proxy
10 defined in Section 14 of version 3 of the license.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef TESTCPPWRITER_H
22 #define TESTCPPWRITER_H
23
24 #include "testbase.h"
25
29 class TestCppWriter: public TestCodeGeneratorBase
30 {
31 Q_OBJECT
32 private slots:
33 void test_language();
34 void test_writeClass();
35 void test_reservedKeywords();
36 void test_defaultDatatypes();
37 };
38
39 #endif // TESTCPPWRITER_H
testcppwriter.h
CppWriter::reservedKeywords
virtual QStringList reservedKeywords() const
Definition: cppwriter.cpp:1437
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:271
TestCppWriter::test_reservedKeywords
void test_reservedKeywords()
Definition: testcppwriter.cpp:68
UMLClassifier::createOperation
UMLOperation * createOperation(const QString &name=QString(), bool *isExistingOp=0, Model_Utils::NameAndType_List *params=0)
Definition: classifier.cpp:236
TestCodeGeneratorBase::temporaryPath
QString temporaryPath()
Definition: testbase.cpp:86
CppWriter
Definition: cppwriter.h:35
TestCppWriter::test_language
void test_language()
Definition: testcppwriter.cpp:40
TestCodeGeneratorBase
Definition: testbase.h:71
CppWriter::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition: cppwriter.cpp:79
CppWriter::writeClass
virtual void writeClass(UMLClassifier *c)
Definition: cppwriter.cpp:96
CppWriterTest
Definition: testcppwriter.cpp:32
IS_NOT_IMPL
const bool IS_NOT_IMPL
Definition: testcppwriter.cpp:27
testbase.h
TestCppWriter::test_writeClass
void test_writeClass()
Definition: testcppwriter.cpp:47
TestCppWriter
Definition: testcppwriter.h:30
CppWriterTest::findFileName
QString findFileName(UMLPackage *concept, const QString &ext)
Definition: testcppwriter.cpp:34
UMLClassifier::addOperation
bool addOperation(UMLOperation *op, int position=-1)
Definition: classifier.cpp:310
Uml::ProgrammingLanguage::Cpp
@ Cpp
Definition: basictypes.h:274
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
TestCppWriter::test_defaultDatatypes
void test_defaultDatatypes()
Definition: testcppwriter.cpp:78
classifier.h
CppWriter::defaultDatatypes
QStringList defaultDatatypes()
Definition: cppwriter.cpp:1428
UMLOperation
Definition: operation.h:25
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
cppwriter.h
UMLClassifier::createAttribute
virtual UMLAttribute * createAttribute(const QString &name=QString(), UMLObject *type=0, Uml::Visibility::Enum vis=Uml::Visibility::Private, const QString &init=QString())
Definition: classifier.cpp:756
SimpleCodeGenerator::findFileName
QString findFileName(UMLPackage *concept, const QString &ext)
Definition: simplecodegenerator.cpp:91
UMLClassifier::addAttribute
UMLAttribute * addAttribute(const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition: classifier.cpp:810
UMLPackage
Non-graphical information for a Package.
Definition: package.h:33