6 references to testRegistryPath
Microsoft.Build.Engine.UnitTests (6)
Definition\ToolsetRegistryReader_Tests.cs (6)
50
_currentVersionRegistryKey = Registry.CurrentUser.CreateSubKey(
testRegistryPath
+ "\\" + Constants.AssemblyVersion);
51
_toolsVersionsRegistryKey = Registry.CurrentUser.CreateSubKey(
testRegistryPath
+ "\\ToolsVersions");
69
if (Registry.CurrentUser.OpenSubKey(
testRegistryPath
) != null)
71
Registry.CurrentUser.DeleteSubKeyTree(
testRegistryPath
);
123
using var registry = new MockRegistryKey(
testRegistryPath
, "3.5" /* fail to find subkey 3.5 */);
471
var registry = new MockRegistryKey(
testRegistryPath
);