Commit Graph
2 Commits
Author SHA1 Message Date
Gert Driesen a9d44f8ddf * Path.cs: Fixed exception arguments to match MS. Removed obsolete
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
2008-06-21 15:09:21 +00:00
Sebastien Pouliot 9cc4dad5a4 2005-03-24 Sebastien Pouliot <[email protected]>
* 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
2005-03-24 14:18:23 +00:00