LAMESPEC comment. In GetPathRoot, throw ArgumentException if path
is whitespace-only. Throw ArgumentException in HasExtension, if path
contains invalid path characters.
* PathCas.cs: Updated method names to reflect changes in PathTest.
* PathTest.cs: Renamed tests. Use String.Empty instead of "". Added
argument check tests, and moved tests to separate methods. Avoid using
ExpectedException.
svn path=/trunk/mcs/; revision=106353
* DirectoryCas.cs: Added partial trust unit tests.
* DirectoryTest.cs: Added missing [Test] attribute to
SetCreationTimeException1.
* FileStreamCas.cs: New. CAS unit tests for FileStream.
* PathCas.cs: New. CAS unit tests for Path.
* PathTest.cs: Splitted TestGetPathRoot test in two so the second part
could be re-used in partial trust tests.
svn path=/trunk/mcs/; revision=42213