Lumiera
0.pre.03
»edit your freedom«
advice-multiplicity-test.cpp
Go to the documentation of this file.
1
/*
2
AdviceMultiplicity(Test) - verify correctness when dispatching multiple Advices concurrently
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 "lib/p.hpp"
32
//#include "steam/assetmanager.hpp"
33
//#include "steam/asset/inventory.hpp"
34
//#include "steam/mobject/session/clip.hpp"
35
//#include "steam/mobject/session/fork.hpp"
36
//#include "lib/meta/trait-special.hpp"
37
//#include "lib/util-foreach.hpp"
38
//#include "lib/symbol.hpp"
39
#include "
common/advice.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
/***************************************************************************/
75
class
AdviceMultiplicity_test
:
public
Test
76
{
77
78
virtual
void
79
run (Arg)
80
{
81
check_highLoadSimpleMatch
();
82
check_multipleMatch
();
83
check_unlockedDispatch
();
84
}
85
86
91
void
92
check_highLoadSimpleMatch
()
93
{
94
#if false
95
#endif
96
}
97
98
105
void
106
check_multipleMatch
()
107
{
108
#if false
109
#endif
110
}
111
112
121
void
122
check_unlockedDispatch
()
123
{
124
#if false
125
#endif
126
}
127
};
128
129
130
132
LAUNCHER (
AdviceMultiplicity_test
,
"function common"
);
133
134
135
}}}
// namespace lumiera::advice::test
lumiera::advice
Definition:
advice.cpp:114
test
Definition:
run.hpp:49
lumiera::advice::test::AdviceMultiplicity_test::check_multipleMatch
void check_multipleMatch()
Definition:
advice-multiplicity-test.cpp:106
lumiera::advice::test::AdviceMultiplicity_test
Definition:
advice-multiplicity-test.cpp:75
lumiera::advice::test::AdviceMultiplicity_test::check_unlockedDispatch
void check_unlockedDispatch()
Definition:
advice-multiplicity-test.cpp:122
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
lumiera::advice::test::AdviceMultiplicity_test::check_highLoadSimpleMatch
void check_highLoadSimpleMatch()
Definition:
advice-multiplicity-test.cpp:92
library
advice
advice-multiplicity-test.cpp
Generated on Sat Apr 20 2024 02:03:38 for Lumiera by
1.8.13