[Mono-list] Bug in NUnit when initialising decimal

Krister Hansson ds99krha@thn.htu.se
Tue, 21 May 2002 23:43:39 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0034_01C20121.552FCDE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Asked about this before but really need help with this.

I'm trying to get failures and errors out of MonoTests.System.Convert =
but it seems like when I'm assigning a value to tryDec in SetUp() the =
test just halts.

Here are the inputs and outputs of whar I do:

$ mono NUnitConsole_mono.exe =
MonoTests.System.ConvertTest,corlib_linux_test.dll

Output is:
.E.

The same thing is happed when I added a decimal in =
MonoTests.System.ConsoleTest.SetUp()

If tryDec is commented out in SetUp() all the tests run.=20

Can anyone make anything out of this?? Don't whant to leav the decimal =
out of the test.

BTW the test seems to run fine when i run make test in mono/mcs/

/Krister

------=_NextPart_000_0034_01C20121.552FCDE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Asked about this before but really need =
help with=20
this.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to get failures and errors =
out of=20
MonoTests.System.Convert but it seems like when I'm assigning a value to =
tryDec=20
in SetUp() the test just halts.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here are the inputs and outputs of whar =
I=20
do:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>$ mono NUnitConsole_mono.exe=20
MonoTests.System.ConvertTest,corlib_linux_test.dll</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Output is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>.E.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The same thing is happed when I added a =
decimal in=20
MonoTests.System.ConsoleTest.SetUp()</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If tryDec is commented out in SetUp() =
all the tests=20
run. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can anyone make anything out of this?? =
Don't whant=20
to leav the decimal out of the test.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>BTW the test seems to run fine when i =
run make test=20
in mono/mcs/</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/Krister</FONT></DIV></BODY></HTML>

------=_NextPart_000_0034_01C20121.552FCDE0--