1

Closed

ExpectedException not Handled on Compact Framework

description

On CF all tests with Expected Exceptions are simply reporting the excetpion rather than handling it.
 
This appears to be due to one of several places where we catch a TargetInvocationException. expecting its Inner exception to be the actual exception. This works on desktop .NET but on CF the basic exception is thrown without wrapping it in a TargetInvocationException.
 
While fixing this, all catch blocks should be analyzed to make sure that they don't need a catch(Exception) as the last catch.
Closed Nov 4, 2007 at 12:56 AM by cpoole
In 0.2.0 release

comments