[Mono-dev] ToolLocationHelper - NUnit Tests
mvfranz at gmail.com
Mon Nov 10 22:02:16 EST 2008
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list