Lumiera
0.pre.03
»edit your freedom«
cmd-context-test.cpp
Go to the documentation of this file.
1
/*
2
CmdContext(Test) - verify access to command invocation state
3
4
Copyright (C) Lumiera.org
5
2017, Hermann Vosseler <Ichthyostega@web.de>
6
7
This program is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of
10
the License, or (at your option) any later version.
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, write to the Free Software
19
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21
* *****************************************************/
22
30
#include "
lib/test/run.hpp
"
31
//#include "lib/test/test-helper.hpp"
32
#include "
stage/interact/cmd-context.hpp
"
33
//#include "lib/idi/entry-id.hpp"
34
//#include "lib/diff/gen-node.hpp"
35
//#include "lib/util.hpp"
36
37
//#include <string>
38
39
40
//using std::string;
41
//using lib::idi::EntryID;
42
//using lib::diff::GenNode;
43
//using util::isSameObject;
44
//using util::isnil;
45
46
47
48
namespace
stage
{
49
namespace
interact {
50
namespace
test
{
51
52
// using lumiera::error::LUMIERA_ERROR_WRONG_TYPE;
53
54
55
/******************************************************************************/
63
class
CmdContext_test
:
public
Test
64
{
65
66
virtual
void
67
run (Arg)
68
{
69
UNIMPLEMENTED (
"context bound commands"
);
70
}
71
};
72
73
75
LAUNCHER (
CmdContext_test
,
"unit stage"
);
76
77
78
}}}
// namespace stage::interact::test
stage::interact::test::CmdContext_test
Definition:
cmd-context-test.cpp:63
test
Definition:
run.hpp:49
run.hpp
Simple test class runner.
stage
Lumiera GTK UI implementation root.
Definition:
guifacade.cpp:46
cmd-context.hpp
Abstraction: support for binding command invocation into an UI context.
stage
interact
cmd-context-test.cpp
Generated on Sat Apr 20 2024 02:03:38 for Lumiera by
1.8.13