Lumiera
0.pre.03
»edit your freedom«
scheduler-usage-test.cpp
Go to the documentation of this file.
1
/*
2
SchedulerUsage(Test) - verify standard usage patterns of the scheduler service
3
4
Copyright (C) Lumiera.org
5
2023, 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 "
vault/gear/scheduler.hpp
"
30
//#include "lib/time/timevalue.hpp"
31
//#include "lib/format-cout.hpp"
32
//#include "lib/util.hpp"
33
34
//#include <utility>
35
36
using
test::Test
;
37
//using std::move;
38
//using util::isSameObject;
39
40
41
namespace
vault
{
42
namespace
gear {
43
namespace
test
{
44
45
// using lib::time::FrameRate;
46
// using lib::time::Offset;
47
// using lib::time::Time;
48
49
50
51
52
53
/*************************************************************************/
59
class
SchedulerUsage_test
:
public
Test
60
{
61
62
virtual
void
63
run (Arg)
64
{
65
simpleUsage
();
66
walkingDeadline
();
67
setupLalup
();
68
}
69
70
73
void
74
simpleUsage
()
75
{
76
}
77
78
79
82
void
83
walkingDeadline
()
84
{
85
}
86
87
88
91
void
92
setupLalup
()
93
{
94
}
95
};
96
97
99
LAUNCHER (
SchedulerUsage_test
,
"unit engine"
);
100
101
102
103
}}}
// namespace vault::gear::test
test
Definition:
run.hpp:49
test::Test
Abstract Base Class for all testcases.
Definition:
run.hpp:62
scheduler.hpp
Service for coordination and dispatch of render activities.
vault::gear::test::SchedulerUsage_test
Definition:
scheduler-usage-test.cpp:59
vault::gear::test::SchedulerUsage_test::walkingDeadline
void walkingDeadline()
Definition:
scheduler-usage-test.cpp:83
run.hpp
Simple test class runner.
vault::gear::test::SchedulerUsage_test::setupLalup
void setupLalup()
Definition:
scheduler-usage-test.cpp:92
vault
Vault-Layer implementation namespace root.
Definition:
vault/common.hpp:63
vault::gear::test::SchedulerUsage_test::simpleUsage
void simpleUsage()
Definition:
scheduler-usage-test.cpp:74
vault
gear
scheduler-usage-test.cpp
Generated on Sat Apr 20 2024 02:03:41 for Lumiera by
1.8.13