[Mono-list] ArrayListTest

Dan Lewis dihlewis@yahoo.co.uk
Sun, 17 Feb 2002 11:15:54 +0000 (GMT)


 --- Nick Drochak <ndrochak@gol.com> wrote:
> It seems that ArrayListTest is causing the test suite to have some
> problems.  It is a similar symptom to when we needed to exclude
> System.Enum from corlib_res.dll.  However, I'm not sure what's up with
> this one.

When you say a similar symptom, I hope you're not getting the dreaded Fatal
Execution Engine Error. When I run NUnitConsole on ArrayListTest, it does a bit
and then says "Could not create and run test suite." (yeah very helpful, NUnit
:)

This seems to me to be caused by the unimplemented methods in ArrayList
throwing a NotImplementedException. Rather understandably, the spec doesn't
think they're supposed to throw this exception. But shouldn't NUnit catch
unexpected exceptions like this that are not explicitly caught - and probably
shouldn't be caught - by the Test case?

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com