Andrew Skiba 4e701cdbd5 * DrawingTest.cs: add nunit assert to Compare functions 20 rokov pred
..
Assembly 68a46e3c0a System.Drawing compiles on GH! 20 rokov pred
Samples 9380014bd6 Image stream sample 20 rokov pred
System.Drawing 68a46e3c0a System.Drawing compiles on GH! 20 rokov pred
System.Drawing.Design 68a46e3c0a System.Drawing compiles on GH! 20 rokov pred
System.Drawing.Drawing2D 854f8aaa89 TARGET_JVM implementation of this namespace 20 rokov pred
System.Drawing.Imaging 68a46e3c0a System.Drawing compiles on GH! 20 rokov pred
System.Drawing.Printing cb10e45441 2005-03-23 Jordi Mas i Hernandez <[email protected]> 21 rokov pred
System.Drawing.Text 6da5602f97 * FontCollection.jvm.cs, InstalledFontCollection.jvm.cs, 20 rokov pred
Test 4e701cdbd5 * DrawingTest.cs: add nunit assert to Compare functions 20 rokov pred
cdeclRedirector 5cf18eb164 precompiled windows version updated 22 rokov pred
ChangeLog 68a46e3c0a System.Drawing compiles on GH! 20 rokov pred
Makefile 8294e1ecae reduce warnings when compiling unit tests 21 rokov pred
README 644e89a1c7 Minor sentence corrections. 21 rokov pred
SD.csproj 0f04782509 Removed a wrong entry from files list. 21 rokov pred
System.Drawing.dll.sources 47876a3539 more copy and paste reuse going away 20 rokov pred
System.Drawing.sln 68a46e3c0a System.Drawing compiles on GH! 20 rokov pred
System.Drawing.vmwcsproj 68a46e3c0a System.Drawing compiles on GH! 20 rokov pred
System.Drawing_test.dll.sources 57fba95e89 Rectangle and RectangleF basic testing units 20 rokov pred

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.