2 This README gives some details about Nunit tests and samples for
3 System.Drawing classes.
5 Following is the directory structure for the tests and samples:
7 Test/ (all the nunit test classes go here)
9 System.Drawing.Drawing2D
10 System.Drawing.Imaging
11 System.Drawing.Printing
14 Samples/ (all the samples go here)
15 General (samples that affect more than a single area of SD)
17 System.Drawing.Drawing2D
18 System.Drawing.Imaging
19 System.Drawing.Printing
22 Please note the directory structure given above is based on System.Drawing
25 Advice for writing System.Drawing tests/samples
26 ===============================================
28 Tests are Nunit test classes and follow general Nunit test guidelines. When
29 you write a new test class, you need to add it to System.Drawing_test.dll.sources
30 file. Please follow the alphabetical order while adding the name of your test
33 Samples are independent C# programs with a Main method. Samples are supposed
34 to solve two purposes. First, samples expose the bugs that are not captured
35 by Nunit tests. To achieve this, it is advisable not to repeat the code in a
36 test and a sample for any class until unless required. Second, samples help
37 System.Drawing users in understanding System.Drawing components as well as in
38 writing System.Drawing applications. Writing too trivial samples for well known
39 classes might not be really helpful for the users. It is better to write a sample
40 to solve a particular problem.