umbrello  2.31.90
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
testpythonwriter.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 TESTPYTHONWRITER_H
22 #define TESTPYTHONWRITER_H
23 
24 #include "testbase.h"
25 
30 {
31  Q_OBJECT
32 private slots:
33  void test_language();
34  void test_writeClass();
35  void test_reservedKeywords();
36 };
37 
38 #endif // TESTPYTHONWRITER_H
PythonWriterTest::findFileName
QString findFileName(UMLPackage *concept, const QString &ext)
Definition: testpythonwriter.cpp:34
pythonwriter.h
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:271
PythonWriter::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition: pythonwriter.cpp:440
TestPythonWriter
Definition: testpythonwriter.h:30
TestCodeGeneratorBase::temporaryPath
QString temporaryPath()
Definition: testbase.cpp:86
TestPythonWriter::test_reservedKeywords
void test_reservedKeywords()
Definition: testpythonwriter.cpp:62
Uml::ProgrammingLanguage::Python
@ Python
Definition: basictypes.h:286
TestCodeGeneratorBase
Definition: testbase.h:71
PythonWriter::writeClass
virtual void writeClass(UMLClassifier *c)
Definition: pythonwriter.cpp:180
testbase.h
IS_NOT_IMPL
const bool IS_NOT_IMPL
Definition: testpythonwriter.cpp:27
TestPythonWriter::test_language
void test_language()
Definition: testpythonwriter.cpp:40
testpythonwriter.h
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
PythonWriter
Definition: pythonwriter.h:27
PythonWriter::reservedKeywords
virtual QStringList reservedKeywords() const
Definition: pythonwriter.cpp:469
classifier.h
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
TestPythonWriter::test_writeClass
void test_writeClass()
Definition: testpythonwriter.cpp:47
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
PythonWriterTest
Definition: testpythonwriter.cpp:32
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