Lumiera
0.pre.03
»edit your freedom«
advice-configuration-test.cpp
Go to the documentation of this file.
1
/*
2
AdviceConfiguration(Test) - cover the various policies to configure Advice
3
4
Copyright (C) Lumiera.org
5
2010, 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
28
#include "
lib/test/run.hpp
"
29
//#include "lib/test/test-helper.hpp"
30
31
#include "
common/advice.hpp
"
32
//#include "lib/p.hpp"
33
//#include "steam/assetmanager.hpp"
34
//#include "steam/asset/inventory.hpp"
35
//#include "steam/mobject/session/clip.hpp"
36
//#include "steam/mobject/session/fork.hpp"
37
//#include "lib/meta/trait-special.hpp"
38
//#include "lib/util-foreach.hpp"
39
//#include "lib/symbol.hpp"
40
41
//#include <string>
42
43
//using lib::test::showSizeof;
44
//using lib::test::randStr;
45
//using util::isSameObject;
46
//using util::and_all;
47
//using util::for_each;
48
//using util::isnil;
49
//using lib::Literal;
50
//using lib::Symbol;
51
//using lib::P;
52
//using std::string;
53
54
55
56
namespace
lumiera
{
57
namespace
advice
{
58
namespace
test
{
59
60
namespace
{
61
}
62
63
64
65
/***************************************************************************/
79
class
AdviceConfiguration_test
:
public
Test
80
{
81
82
virtual
void
83
run (Arg)
84
{
85
checkDefaultAdvice
();
86
blockOnAdvice
();
87
checkSignals
();
88
}
89
90
95
void
96
checkDefaultAdvice
()
97
{
98
#if false
99
#endif
100
}
101
102
107
void
108
checkSignals
()
109
{
110
#if false
111
#endif
112
}
113
114
119
void
120
blockOnAdvice
()
121
{
122
#if false
123
#endif
124
}
125
};
126
127
128
130
LAUNCHER (
AdviceConfiguration_test
,
"unit common"
);
131
132
133
}}}
// namespace lumiera::advice::test
lumiera::advice::test::AdviceConfiguration_test::blockOnAdvice
void blockOnAdvice()
Definition:
advice-configuration-test.cpp:120
lumiera::advice::test::AdviceConfiguration_test
Definition:
advice-configuration-test.cpp:79
lumiera::advice::test::AdviceConfiguration_test::checkDefaultAdvice
void checkDefaultAdvice()
Definition:
advice-configuration-test.cpp:96
lumiera::advice
Definition:
advice.cpp:114
test
Definition:
run.hpp:49
lumiera::advice::test::AdviceConfiguration_test::checkSignals
void checkSignals()
Definition:
advice-configuration-test.cpp:108
advice.hpp
Expecting Advice and giving Advice: a cross-cutting collaboration of loosely coupled participants...
run.hpp
Simple test class runner.
lumiera
Lumiera public interface.
Definition:
advice.cpp:113
library
advice
advice-configuration-test.cpp
Generated on Sat Apr 20 2024 02:03:38 for Lumiera by
1.8.13