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)
5
2010, Hermann Vosseler <Ichthyostega@web.de>
6
7
**Lumiera** is free software; you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by the
9
Free Software Foundation; either version 2 of the License, or (at your
10
option) any later version. See the file COPYING for further details.
11
12
* *****************************************************************/
13
19
#include "
lib/test/run.hpp
"
20
//#include "lib/test/test-helper.hpp"
21
22
//#include "lib/p.hpp"
23
//#include "steam/assetmanager.hpp"
24
//#include "steam/asset/inventory.hpp"
25
//#include "steam/mobject/session/clip.hpp"
26
//#include "steam/mobject/session/fork.hpp"
27
//#include "lib/meta/trait-special.hpp"
28
//#include "lib/util-foreach.hpp"
29
//#include "lib/symbol.hpp"
30
#include "
common/advice.hpp
"
31
32
//#include <string>
33
34
//using lib::test::showSizeof;
35
//using lib::test::randStr;
36
//using util::isSameObject;
37
//using util::and_all;
38
//using util::for_each;
39
//using util::isnil;
40
//using lib::Literal;
41
//using lib::Symbol;
42
//using lib::P;
43
//using std::string;
44
45
46
47
namespace
lumiera
{
48
namespace
advice
{
49
namespace
test
{
50
51
namespace
{
52
}
53
54
55
56
/***************************************************************************/
66
class
AdviceMultiplicity_test
:
public
Test
67
{
68
69
virtual
void
70
run (Arg)
71
{
72
check_highLoadSimpleMatch
();
73
check_multipleMatch
();
74
check_unlockedDispatch
();
75
}
76
77
82
void
83
check_highLoadSimpleMatch
()
84
{
85
#if false
86
#endif
87
}
88
89
96
void
97
check_multipleMatch
()
98
{
99
#if false
100
#endif
101
}
102
103
112
void
113
check_unlockedDispatch
()
114
{
115
#if false
116
#endif
117
}
118
};
119
120
121
123
LAUNCHER (
AdviceMultiplicity_test
,
"function common"
);
124
125
126
}}}
// namespace lumiera::advice::test
lumiera::advice
Definition:
advice.cpp:105
test
Definition:
run.hpp:40
lumiera::advice::test::AdviceMultiplicity_test::check_multipleMatch
void check_multipleMatch()
Definition:
advice-multiplicity-test.cpp:97
lumiera::advice::test::AdviceMultiplicity_test
Definition:
advice-multiplicity-test.cpp:66
lumiera::advice::test::AdviceMultiplicity_test::check_unlockedDispatch
void check_unlockedDispatch()
Definition:
advice-multiplicity-test.cpp:113
advice.hpp
Expecting Advice and giving Advice: a cross-cutting collaboration of loosely coupled participants...
run.hpp
Simplistic test class runner.
lumiera
Lumiera public interface.
Definition:
advice.cpp:104
lumiera::advice::test::AdviceMultiplicity_test::check_highLoadSimpleMatch
void check_highLoadSimpleMatch()
Definition:
advice-multiplicity-test.cpp:83
library
advice
advice-multiplicity-test.cpp
Generated on Fri Dec 13 2024 05:05:32 for Lumiera by
1.8.13