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. Sample 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 that we don't repeat the
36 code in a test and sample for any class until unless required. Second, samples
37 help System.Drawing users in understanding System.Drawing components as well
38 as in writing System.Drawing applications. Writing too trivial samples for
39 well known classes might not be really helpful for the users. It is better
40 to write a sample to solve a particular problem.