-
Notifications
You must be signed in to change notification settings - Fork 17
/
main.cpp
48 lines (43 loc) · 2.65 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#include <unitTest/base/base.binding.h>
#include <unitTest/base/base.command.h>
#include <unitTest/base/base.event.h>
#include <unitTest/base/base.geometry.h>
int main() {
VTestTask baseEventTest(VUnitTestM(BaseEvent, Recall), "base.event.free_function.recall");
VTestTask baseEventBlockTest(VUnitTestM(BaseEvent, Block), "base.event.free_function.block");
VTestTask baseEventRemoveTest(VUnitTestM(BaseEvent, Remove), "base.event.free_function.remove");
VTestTask baseClassEventTest(VUnitTestM(BaseEventClass, Recall), "base.event.class.recall");
VTestTask baseClassEventBlockTest(VUnitTestM(BaseEventClass, Block), "base.event.class.block");
VTestTask baseClassEventRemoveTest(VUnitTestM(BaseEventClass, Remove), "base.event.class.remove");
VTestTask baseBindingValueTest(VUnitTestM(BaseBinding, ValueTest), "base.binding.value");
VTestTask baseBindingBindingValueTest(VUnitTestM(BaseBinding, BindingValueTest), "base.binding.reference.value");
VTestTask baseBindingUnbindTest(VUnitTestM(BaseBinding, BindingValueTest), "base.binding.unbind");
VTestTask baseBindingValueCompareTest(VUnitTestM(BaseBinding, ValueCompareTest), "base.binding.compare.value");
VTestTask baseCommandRecall(VUnitTestM(BaseCommand, Recall), "base.command.recall");
VTestTask baseCommandClassRecall(VUnitTestM(BaseCommand, ClassRecall), "base.command.class.recall");
VTestTask baseGeometryPointConstruction(VUnitTestM(BaseGeometryPoint, Init), "base.geometry.point.init");
VTestTask baseGeometryPointCalculate(VUnitTestM(BaseGeometryPoint, Calculate), "base.geometry.point.calculate");
VTestTask baseGeometryPointCompare(VUnitTestM(BaseGeometryPoint, Compare), "base.geometry.point.compare");
VTestTask baseGeometryRectConstruction(VUnitTestM(BaseGeometryRect, Init), "base.geometry.rect.init");
VTestTask baseGeometryRectCompare(VUnitTestM(BaseGeometryRect, Compare), "base.geometry.rect.compare");
VTestConductor conductor;
conductor.AddTask(baseEventTest);
conductor.AddTask(baseEventBlockTest);
conductor.AddTask(baseEventRemoveTest);
conductor.AddTask(baseClassEventTest);
conductor.AddTask(baseClassEventBlockTest);
conductor.AddTask(baseClassEventRemoveTest);
conductor.AddTask(baseBindingValueTest);
conductor.AddTask(baseBindingBindingValueTest);
conductor.AddTask(baseBindingUnbindTest);
conductor.AddTask(baseBindingValueCompareTest);
conductor.AddTask(baseCommandRecall);
conductor.AddTask(baseCommandClassRecall);
conductor.AddTask(baseGeometryPointConstruction);
conductor.AddTask(baseGeometryPointCalculate);
conductor.AddTask(baseGeometryPointCompare);
conductor.AddTask(baseGeometryRectConstruction);
conductor.AddTask(baseGeometryRectCompare);
conductor.StartTasks();
return 0;
}