Sachin Kumar cb6d808af9 Add license and copyright to all source files in System.Drawing 21 лет назад
..
Assembly cb6d808af9 Add license and copyright to all source files in System.Drawing 21 лет назад
Samples 624b36fe83 * run-samples.sh: Added a script to run the samples. 21 лет назад
System.Drawing 82ed3e2366 ChangeLog: Update ChangeLog. 21 лет назад
System.Drawing.Design 05f220be4d 2003-06-30 Andreas Nahr <[email protected]> 22 лет назад
System.Drawing.Drawing2D 6a01fd4110 * DashCap.cs: fixed mismatches in enum field values 21 лет назад
System.Drawing.Imaging f5d2c69c7a * EmfPlusRecordType.cs: fixed mismatches in enum field values 21 лет назад
System.Drawing.Printing 1f5c87144a remove added extra dc 21 лет назад
System.Drawing.Text 1a3c323141 remove dead code 22 лет назад
Test 6a60709f88 *** empty log message *** 21 лет назад
cdeclRedirector 5cf18eb164 precompiled windows version updated 22 лет назад
.cvsignore 4bffd776c2 cleanup 22 лет назад
ChangeLog 038dc01003 * Makefile: Suppress compiler warning cs:618 for test dll. 21 лет назад
Makefile 038dc01003 * Makefile: Suppress compiler warning cs:618 for test dll. 21 лет назад
README 644e89a1c7 Minor sentence corrections. 21 лет назад
System.Drawing.dll.sources 1a3c323141 remove dead code 22 лет назад
System.Drawing_test.dll.sources da5d64df7e Remove trailing empty lines 21 лет назад

README


This README gives some details about Nunit tests and samples for
System.Drawing classes.

Following is the directory structure for the tests and samples:

Test/ (all the nunit test classes go here)
System.Drawing
System.Drawing.Drawing2D
System.Drawing.Imaging
System.Drawing.Printing
System.Drawing.Text

Samples/ (all the samples go here)
General (samples that affect more than a single area of SD)
System.Drawing
System.Drawing.Drawing2D
System.Drawing.Imaging
System.Drawing.Printing
System.Drawing.Text

Please note the directory structure given above is based on System.Drawing
namespaces.

Advice for writing System.Drawing tests/samples
===============================================

Tests are Nunit test classes and follow general Nunit test guidelines. When
you write a new test class, you need to add it to System.Drawing_test.dll.sources
file. Please follow the alphabetical order while adding the name of your test
class.

Samples are independent C# programs with a Main method. Samples are supposed
to solve two purposes. First, samples expose the bugs that are not captured
by Nunit tests. To achieve this, it is advisable not to repeat the code in a
test and a sample for any class until unless required. Second, samples help
System.Drawing users in understanding System.Drawing components as well as in
writing System.Drawing applications. Writing too trivial samples for well known
classes might not be really helpful for the users. It is better to write a sample
to solve a particular problem.