[Mono-dev] ToolLocationHelper - NUnit Tests

Michael Franz mvfranz at gmail.com
Mon Nov 10 22:02:16 EST 2008


Hi,

I have put together some NUnit tests for ToolLocationHelper and have a few
questions that need to be clarified.

1. When mono is installed, is there a differentiation between the runtime
and the SDK?  Some methods return different results depending on which
runtimes and SDKs are actually installed.  Example are
GetPathToDotNetFrameworkFile depends on which runtimes are installed and
GetPathToDotNetFrameworkSdkFile depends on which SDK is installed.

2. Is Mono expected to return the same values for all methods regardless of
the platform it is running on?  An example is
GetDotNetFrameworkRootRegistryKey, on windows it returns
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework'.  Would Microsoft be
replaced with Novell?  Should the correct value be
HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Mono?

I created the test based on running the unimplemented method on windows and
determining what the output should be.  I also consulted the MSDN
documentation to get a better idea of what to expect.  In most cases running
the tests provided more information.

Thanks

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081110/f331bf71/attachment-0001.html 


More information about the Mono-devel-list mailing list