[Mono-list] a coverage analysis program for mono

Varga Zoltan vargaz@freemail.hu
Mon, 30 Dec 2002 15:00:58 +0100 (CET)


                                         Hi All,

  During the holidays, I put together a Coverage Analysis
program for 
mono. It is available at:

http://www.nexus.hu/vargaz2/

The current version is not very user-friendly, mainly
because it requires
a modified runtime to collect the coverage info. I tried
measuring the
coverage of the corlib unit tests, but the tests fail with
the following
exception:

Unhandled Exception: System.NullReferenceException: A null
value was found where an object instance was required
in <0x000d3> 00 System.Reflection.AssemblyName:get_FullName ()
in <0x0001a> 00 System.Reflection.AssemblyName:ToString ()
in <0x0002e> 00 System.Reflection.Assembly:get_FullName ()
in <0x00032> 00
NUnit.Framework.TestDomain:MakeRemoteTestRunner
(System.IO.FileInfo,System.AppDomain)


It seems that  the cultureInfo field of AssemblyName is not
set and that
is causing the exception. A simple test case is:

typeof(int).Assembly.FullName

                                                           
               happy new year

                                                           
                          Zoltan