umbrello  2.31.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
testoptionstate.h
Go to the documentation of this file.
1 /*
2  Copyright 2015 Ralf Habacker <ralf.habacker@freenet.de>
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 TESTOPTIONSTATE_H
22 #define TESTOPTIONSTATE_H
23 
24 #include "testbase.h"
25 
26 class TestOptionState : public TestBase
27 {
28  Q_OBJECT
29 
30 private slots:
31  void test_create();
32  void test_saveAndLoad();
33 };
34 
35 #endif // TESTOPTIONSTATE_H
Settings::OptionState::uiState
UIState uiState
Definition: optionstate.h:336
FindNamedClassVisitor
Definition: testllvmparser.cpp:33
FindNamedClassAction
Definition: testllvmparser.cpp:85
FindNamedClassVisitor::FindNamedClassVisitor
FindNamedClassVisitor(ASTContext *Context)
Definition: testllvmparser.cpp:36
FindNamedClassVisitor::Context
ASTContext * Context
Definition: testllvmparser.cpp:64
Settings::OptionState::loadFromXMI1
bool loadFromXMI1(QDomElement &element)
Definition: optionstate.cpp:422
main
int main(int argc, const char **argv)
Definition: testllvm.cpp:43
TestOptionState::test_saveAndLoad
void test_saveAndLoad()
Definition: testoptionstate.cpp:38
FindNamedClassConsumer::HandleTranslationUnit
virtual void HandleTranslationUnit(clang::ASTContext &Context)
Definition: testllvmparser.cpp:75
testbase.h
optionstate.h
testoptionstate.h
TestOptionState::test_create
void test_create()
Definition: testoptionstate.cpp:25
UniqueID::get
Uml::ID::Type get()
Definition: uniqueid.cpp:53
Settings::OptionState::saveToXMI1
void saveToXMI1(QDomElement &element)
Definition: optionstate.cpp:410
main
int main(int argc, char **argv)
Definition: testllvmparser.cpp:97
FindNamedClassConsumer
Definition: testllvmparser.cpp:67
Settings::UIState::useFillColor
bool useFillColor
Definition: optionstate.h:95
Settings::ClassState::showOps
bool showOps
Definition: optionstate.h:131
CommonHelp
static cl::extrahelp CommonHelp(CommonOptionsParser::HelpMessage)
TestOptionState
Definition: testoptionstate.h:26
Settings::OptionState
Definition: optionstate.h:322
Settings::OptionState::classState
ClassState classState
Definition: optionstate.h:337
MoreHelp
static cl::extrahelp MoreHelp("\nMore help text...")
FindNamedClassConsumer::FindNamedClassConsumer
FindNamedClassConsumer(ASTContext *Context)
Definition: testllvmparser.cpp:70
FindNamedClassAction::CreateASTConsumer
virtual std::unique_ptr< clang::ASTConsumer > CreateASTConsumer(clang::CompilerInstance &Compiler, llvm::StringRef InFile)
Definition: testllvmparser.cpp:89
FindNamedClassVisitor::VisitStmt
bool VisitStmt(Stmt *s)
Definition: testllvmparser.cpp:41
Settings::ClassState::showAtts
bool showAtts
Definition: optionstate.h:130
TestBase
Definition: testbase.h:47
FindNamedClassConsumer::Visitor
FindNamedClassVisitor Visitor
Definition: testllvmparser.cpp:82
FindNamedClassVisitor::VisitCXXRecordDecl
bool VisitCXXRecordDecl(CXXRecordDecl *Declaration)
Definition: testllvmparser.cpp:47
MyToolCategory
static cl::OptionCategory MyToolCategory("my-tool options")