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