Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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"
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 namespace gui {
48 namespace interact {
49 namespace test {
50 
51 // using lumiera::error::LUMIERA_ERROR_WRONG_TYPE;
52 
53 
54  /******************************************************************************/
62  class CmdContext_test : public Test
63  {
64 
65  virtual void
66  run (Arg)
67  {
68  UNIMPLEMENTED ("context bound commands");
69  }
70  };
71 
72 
74  LAUNCHER (CmdContext_test, "unit gui");
75 
76 
77 }}} // namespace gui::interact::test
Definition: run.hpp:49
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:47
std::vector< string > & Arg
Definition: run.hpp:54
Simple test class runner.
LAUNCHER(CmdContext_test,"unit gui")
Register this test class...
Abstraction: support for binding command invocation into an UI context.