[Mono-list] testcases for System.IO.File/Directory etc.

Jonathan Pryor jonpryor@vt.edu
Fri, 09 Jul 2004 07:43:47 -0400


On Thu, 2004-07-08 at 06:10, vaidyanathan.nemmara@philips.com wrote:
> I'm looking for the test cases used for testing the
> System.IO/File/Directory etc. I checked in the mcs/tests but I
> couldn't find it. Can anybody point me to 
> the directory where I can find it, and specifically to the test file
> numbers. 

Tests for an assembly are in the same directory as that assembly. 
mcs/tests are the test cases for mcs, not for any of the class
libraries.

Consequently, the System.IO.* tests are in class/corlib/Test/System.IO.

> Also, if there are other tests out there relating to System.IO can I
> use them as tests on mono as well as .net on windows.

I'm not sure I understand the question.  All tests within the mcs
repository should work under both Mono and .NET, with some exceptions
(unimplemented functionality in Mono, bugs, etc.).

 - Jon