better naming of the test facility

I think it is a shame to waste the nice name "nexus"
just for a test facility; rather I've named our central
routing hub in the UI-Bus gui::ctrl::Nexus


So it makes sense to name the fake for unit testing
the test-nexus (we're not at nexus 5 yet)
This commit is contained in:
Fischlurch 2015-12-18 17:40:42 +01:00
parent f19ebd63d0
commit d673d1ed1c
3 changed files with 8 additions and 10 deletions

View file

@ -48,9 +48,7 @@
#include "lib/test/event-log.hpp"
#include "gui/model/tangible.hpp"
#include "lib/diff/record.hpp"
#include "test/nexus.hpp"
//#include <boost/noncopyable.hpp>
#include "test/test-nexus.hpp"
#include <string>

View file

@ -21,7 +21,7 @@
* *****************************************************/
/** @file test/nexus.cpp
/** @file test/test-nexus.cpp
** Implementation of a fake UI backbone for testing.
** This compilation unit provides the actual setup for running a faked
** user interface from unit tests.
@ -36,7 +36,7 @@
//#include "lib/util.hpp"
//#include "lib/symbol.hpp"
//#include "include/logging.h"
#include "test/nexus.hpp"
#include "test/test-nexus.hpp"
#include "gui/ctrl/nexus.hpp"
#include "lib/depend.hpp"

View file

@ -1,5 +1,5 @@
/*
test/NEXUS.hpp - fake user interface backbone for test support
TEST-NEXUS.hpp - fake user interface backbone for test support
Copyright (C) Lumiera.org
2015, Hermann Vosseler <Ichthyostega@web.de>
@ -21,7 +21,7 @@
*/
/** @file test/nexus.hpp
/** @file test/test-nexus.hpp
** A fake UI backbone for investigations and unit testing.
** Any relevant element within the Lumiera GTK UI is connected to the [UI-Bus][ui-bus.hpp]
** So for testing and investigation we need a white room setup to provide an instrumented
@ -38,8 +38,8 @@
*/
#ifndef GUI_TEST_NEXUS_H
#define GUI_TEST_NEXUS_H
#ifndef GUI_TEST_TEST_NEXUS_H
#define GUI_TEST_TEST_NEXUS_H
#include "lib/error.hpp"
@ -83,4 +83,4 @@ namespace test{
}} // namespace gui::test
#endif /*GUI_TEST_NEXUS_H*/
#endif /*GUI_TEST_TEST_NEXUS_H*/