-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathProgram.cs
46 lines (38 loc) · 904 Bytes
/
Program.cs
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
using System;
using System.Windows.Forms;
using RDBMS.QueryManager;
using RDBMS.Testing;
using RDBMS.Util;
namespace RDBMS
{
internal class Program
{
private static void Main(string[] args)
{
//doing the testing
InitTests();
//do the work here
SqlForm form = new SqlForm();
Application.EnableVisualStyles();
Application.Run(form);
Console.ReadKey();
}
/**
* Calls test methods of the project
* Tests fail if some error is there in
* the implementation
*/
private static void InitTests()
{
new Logger().CleanUp();
var storageManagerTest = new StorageManagerTest();
storageManagerTest.Init();
var converterTest = new ConverterTest();
converterTest.Init();
var databaseManagerTest = new DatabaseManagerTest();
databaseManagerTest.Init();
var tableManagerTest = new TableManagerTest();
tableManagerTest.Init();
}
}
}