Doxygen: supply missing file level comments for test support helpers

This commit is contained in:
Fischlurch 2017-02-22 01:58:49 +01:00
parent 24b3bec4be
commit 42d97f6cf6
19 changed files with 79 additions and 48 deletions

View file

@ -20,8 +20,12 @@
*/ */
/** @file §§§ /** @file media-access-mock.hpp
** unit test TODO §§§ ** Unit test helper to access an emulated media file.
** This can be used to inject specific metadata or media properties,
** or even to feed generated media content into the code to be tested.
**
** @todo this facility was occasionally used until 2011, yet never really completed
*/ */

View file

@ -20,8 +20,8 @@
* *****************************************************/ * *****************************************************/
/** @file §§§ /** @file testasset.cpp
** unit test TODO §§§ ** Implementation of a mocked Asset for unit tests
*/ */

View file

@ -20,8 +20,8 @@
*/ */
/** @file §§§ /** @file testasset.hpp
** unit test TODO §§§ ** A mock asset to support unit testing
*/ */

View file

@ -20,8 +20,8 @@
*/ */
/** @file §§§ /** @file testclipasset.hpp
** unit test TODO §§§ ** A placeholder Clip asset to support unit testing
*/ */

View file

@ -20,8 +20,8 @@
* *****************************************************/ * *****************************************************/
/** @file §§§ /** @file testframe.cpp
** unit test TODO §§§ ** Implementation of fake data frames to support unit testing
*/ */

View file

@ -20,8 +20,8 @@
*/ */
/** @file §§§ /** @file testframe.hpp
** unit test TODO §§§ ** Unit test helper to generate fake test data frames
*/ */

View file

@ -20,8 +20,9 @@
*/ */
/** @file §§§ /** @file test-scope-invalid.hpp
** unit test TODO §§§ ** Unit test helper to generate deliberately wrong placement scopes.
** Usable to cover error handling related to QueryFocus and ScopePath
*/ */

View file

@ -20,8 +20,10 @@
* *****************************************************/ * *****************************************************/
/** @file §§§ /** @file test-scopes.cpp
** unit test TODO §§§ ** Implementation of nested test scopes to cover the placement index.
** This translation unit builds mock "session content" with a fixed, known layout,
** which can be used to verify the behaviour of session query and content discovery
*/ */

View file

@ -20,8 +20,11 @@
*/ */
/** @file §§§ /** @file test-scopes.hpp
** unit test TODO §§§ ** Unit test helper to generate a system of nested test scopes.
** These can be used to verify session search and discovery functionality.
** The build_testScopes() function generates a system of placements and MObjects
** with a known, fixed layout.
*/ */

View file

@ -20,8 +20,8 @@
* *****************************************************/ * *****************************************************/
/** @file §§§ /** @file testclip.cpp
** unit test TODO §§§ ** Implementation of a stubbed clip object to support unit testing
*/ */

View file

@ -20,8 +20,8 @@
*/ */
/** @file §§§ /** @file testclip.hpp
** unit test TODO §§§ ** A stub implementation of the Clip interface for unit testing
*/ */

View file

@ -20,8 +20,10 @@
*/ */
/** @file §§§ /** @file testroot.hpp
** unit test TODO §§§ ** Setup of a faked session root for unit testing.
** This works together with some likewise manipulated mock rules to build content
** with known layout to be scrutinised in test
*/ */

View file

@ -20,8 +20,11 @@
*/ */
/** @file §§§ /** @file testsession1.hpp
** unit test TODO §§§ ** Dummy session content prepared for unit test
** @todo this is an idea from the early stages of the project and was never really implemented.
** But it still seems like a good idea (as of 2016), while likely the implementation will be
** completely different, based on JSON to be injected via the diff system
*/ */

View file

@ -1,20 +1,20 @@
/** @file say-hello.h
** A mock interface to support testing of the interface system
*/
#ifndef TEST_INCLUDE_SAY_HELLO_H
#define TEST_INCLUDE_SAY_HELLO_H
#include "common/interface.h" #include "common/interface.h"
/* /** mock interface which can greet in different languages */
one interface which can greet in different languages
*/
/** @file §§§
** unit test TODO §§§
*/
LUMIERA_INTERFACE_DECLARE (lumieraorg_testhello, 0, LUMIERA_INTERFACE_DECLARE (lumieraorg_testhello, 0,
LUMIERA_INTERFACE_SLOT (void, hello, (void)), LUMIERA_INTERFACE_SLOT (void, hello, (void)),
LUMIERA_INTERFACE_SLOT (void, goodbye, (const char*)), LUMIERA_INTERFACE_SLOT (void, goodbye, (const char*)),
); );
/* /** mock interface to test opening and closing of dependent interfaces */
and now one which will be used to test if interfaces can open and call each other
*/
LUMIERA_INTERFACE_DECLARE (lumieraorg_testtest, 0, LUMIERA_INTERFACE_DECLARE (lumieraorg_testtest, 0,
LUMIERA_INTERFACE_SLOT (void, testit, (void)), LUMIERA_INTERFACE_SLOT (void, testit, (void)),
); );

View file

@ -20,8 +20,10 @@
*/ */
/** @file §§§ /** @file test-target-obj.hpp
** unit test TODO §§§ ** Dummy target object to be created by factory for unit tests
** Used to verify sane memory management and instance lifecycle for such
** objects generated as singleton or by factory
*/ */

View file

@ -1,5 +1,5 @@
/* /*
example_plugin - example plugin for testing the interface/plugin system ExamplePlugin - example plugin for testing the interface/plugin system
Copyright (C) Lumiera.org Copyright (C) Lumiera.org
2008, Christian Thaeter <ct@pipapo.org> 2008, Christian Thaeter <ct@pipapo.org>
@ -20,8 +20,11 @@
* *****************************************************/ * *****************************************************/
/** @file §§§ /** @file example-plugin.c
** unit test TODO §§§ ** Dummy C plug-in to cover the plugin loader for unit test
** This file defines a Lumiera plug-in written in plain C,
** implementing the `lumieraorg_testhello` interface
** @see test-interfaces.c
*/ */
@ -30,7 +33,7 @@
#include "common/interface-descriptor.h" #include "common/interface-descriptor.h"
#include "common/config-interface.h" #include "common/config-interface.h"
#include "interface/say_hello.h" #include "interface/say-hello.h"
LUMIERA_PLUGIN_INTERFACEHANDLE; LUMIERA_PLUGIN_INTERFACEHANDLE;

View file

@ -21,8 +21,11 @@
* *****************************************************/ * *****************************************************/
/** @file §§§ /** @file example-plugin.cpp
** unit test TODO §§§ ** Dummy C++ plug-in to cover the plugin loader for unit test
** This file defines a Lumiera plug-in written in C++,
** implementing the `lumieraorg_testhello` interface
** @see test-interfaces.c
*/ */
@ -35,7 +38,7 @@ extern "C" {
#include "common/interface.h" #include "common/interface.h"
#include "common/interface-descriptor.h" #include "common/interface-descriptor.h"
#include "interface/say_hello.h" #include "interface/say-hello.h"
} }
#include <iostream> #include <iostream>

View file

@ -21,8 +21,11 @@
* *****************************************************/ * *****************************************************/
/** @file §§§ /** @file testrunner.cpp
** unit test TODO §§§ ** Lumiera unit test suite
** A simple test runner application.
** The build system will link the individual shared libraries with the test code
** together with this translation unit into the executable `target/test-suite`
*/ */
#include "include/lifecycle.h" #include "include/lifecycle.h"

View file

@ -19,8 +19,13 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/** @file §§§ /** @file vgsuppression.c
** unit test TODO §§§ ** dummy executable to generate _valgrind suppressions_.
** When running code under `valgrind` to detect memory leaks, typically a well known set
** of false alarms will be reported. The reason is that some facilities, either implemented
** by our own or from third party libraries, just choose never to free some working buffers.
** To deal with this well known issue, `valgrind` allows to be "primed" with a specifically
** crafted executable, which deliberately triggers just these false memory leak alarms.
*/ */
/* /*