-
Notifications
You must be signed in to change notification settings - Fork 17
/
main.cpp
66 lines (60 loc) · 3.61 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#include <unitTest/base/base.event.h>
#include <unitTest/base/base.binding.h>
#include <unitTest/base/base.command.h>
#include <unitTest/base/base.geometry.h>
#include <unitTest/parser/parser.html.AST.h>
#include <unitTest/parser/parser.html.lexer.h>
#include <unitTest/base/base.object.property.h>
#include <unitTest/renderer/renderer.color.factory.h>
int main() {
// Start VTest
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");
VTestTask baseObjectCreate(VUnitTestM(ObjectProperty, Create), "base.object.create");
VTestTask baseObjectRead(VUnitTestM(ObjectProperty, Read), "base.object.read");
VTestTask baseObjectMemoryLeak(VUnitTestM(ObjectProperty, Read), "base.object.memory.leak");
VTestTask rendererColorFactoryHexCreate(VUnitTestM(RendererColorFactory, HexCreate), "renderer.color.hex_create");
VTestTask parserHTMLLexer(VUnitTestM(HTMLParser, Lexer), "parser.html.lexer");
VTestTask parserHTMLAST(VUnitTestM(HTMLParser, AST), "parser.html.AST");
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.AddTask(baseObjectCreate);
conductor.AddTask(baseObjectRead);
conductor.AddTask(baseObjectMemoryLeak);
conductor.AddTask(rendererColorFactoryHexCreate);
conductor.AddTask(parserHTMLLexer);
conductor.AddTask(parserHTMLAST);
conductor.StartTasks();
return 0;
}