This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
README.txt
44 lines (33 loc) · 1.53 KB
/
README.txt
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
==========================================
GdiTest: A GDI Implementation Tester
==========================================
GdiTest is a program written in C# that generates test data
readily usable in unit tests. GDI has many subtleties,
and implementing it without extensive unit testing
is often prone to errors.
Prerequisites
------------------------------------------
In order to compile and run GdiTest, you will need:
* Windows
* Gtk# for .NET
* Mono for Windows, Gtk#
* MonoDevelop for Windows
Actually, you can compile and run GdiTest on Linux or Mac OS X,
but the code will detect the absence of gdi32.dll and call
function stubs that do nothing instead.
In the future, however, it will be possible to wrap alternative
GDI implementations in C# so that they can be easily compared with
other implementations, such as the one provided in gdi32.dll. Since
gdi32.dll is only usable on Windows, it would also be a possibility
to make one instance of GdiTest running on Windows expose a service
to be used by remote instances running on Linux, through C# remoting.
Compilation
------------------------------------------
Once you have installed all prerequisites, simply open the solution
file in MonoDevelop and click run. That is simply it.
Usage
------------------------------------------
You will notice that GdiTest has a dropdown box that allows you to
select a particular test suite. Select the one you like, and click
"dump", you will then get the test data in the text box below.
To know more about each test case, look at the source code itself.