Use ExpectedException(string) when referring to internal exception types
authorRaja R Harinath <harinath@hurrynot.org>
Mon, 6 Jul 2009 16:02:16 +0000 (16:02 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Mon, 6 Jul 2009 16:02:16 +0000 (16:02 -0000)
commit3f9d37cf3958725a8826dfecbd5c0f1c6aa4e5eb
tree81b8254719140ea94546de95b19f2d237a10fd2a
parent3ae872a494beb0acc735db40fa1a8a1b00b8b004
Use ExpectedException(string) when referring to internal exception types

In class/System.Web/Test/System.Web.Compilation:

* TemplateControlCompilerTest.cs (InvalidPropertyBindTest1):
Don't use 'typeof' on a System.Web internal exception type.
(InvalidPropertyBindTest3): Likewise.

In class/System.Web/Test/System.Web.UI:

* PageParserTest.cs (MissingMasterFile): Don't use 'typeof' on a
System.Web internal exception type.

svn path=/trunk/mcs/; revision=137420
mcs/class/System.Web/Test/System.Web.Compilation/ChangeLog
mcs/class/System.Web/Test/System.Web.Compilation/TemplateControlCompilerTest.cs
mcs/class/System.Web/Test/System.Web.UI/ChangeLog
mcs/class/System.Web/Test/System.Web.UI/PageParserTest.cs