[Mono-list] Unit test for System.IO.Path fails

Nick Drochak ndrochak@gol.com
Tue, 30 Oct 2001 00:44:06 +0900


Jim,

I am working my way through all the unit tests that fail or have errors.
On my Windows XP machine there are three tests that fail for
System.IO.Path.  Here's the output from NUnit:

TestChangeExtension(MonoTests.System.IO.PathTest)
"expected:<c:\foo\test.doc> but was:<c:\foo\testdoc>"
TestGetTempPath(MonoTests.System.IO.PathTest) "expected:<> but
was:</tmp>"
TestRooted(MonoTests.System.IO.PathTest) "expected:<True> but
was:<False>"

IsPathRooted() doesn't look for paths where there is a drive letter at
the beginning. The other two I didn't check as to why, but the tests
results already contain the clues.

Let me know if you have time to fix these and if not, then I'll do my
best to fix them.

Thanks,
Nick