public void CheckRegistryKeySettings() { var rkt = new RegistryKeyTest(); var expectedEntries = new List<RegistryKeyTest.RegistryEntry> { new RegistryKeyTest.RegistryEntry {ValueName = "JobMinimumRetryDelay", ExpectedValue = 0x258}, new RegistryKeyTest.RegistryEntry {ValueName = "JobInactivityTimeout", ExpectedValue = 0x0076a700} }; rkt.BaseKey = RegistryKeyTest.RegistryBaseKey.HKEY_LOCAL_MACHINE; rkt.Path = "Software/Microsoft/Windows/CurrentVersion/BITS"; rkt.ExpectedEntries = expectedEntries; rkt.Run(); }
public void CheckRegistryKeySettings() { var rkt = new RegistryKeyTest(); var expectedEntries = new List <RegistryKeyTest.RegistryEntry> { new RegistryKeyTest.RegistryEntry { ValueName = "JobMinimumRetryDelay", ExpectedValue = "0x258", ValueType = RegistryKeyTest.RegistryValueType.REG_QWORD }, new RegistryKeyTest.RegistryEntry { ValueName = "JobInactivityTimeout", ExpectedValue = "0x0076a700", ValueType = RegistryKeyTest.RegistryValueType.REG_QWORD } }; rkt.BaseKey = RegistryKeyTest.RegistryBaseKey.HKEY_LOCAL_MACHINE; rkt.Path = "Software/Microsoft/Windows/CurrentVersion/BITS"; rkt.ExpectedEntries = expectedEntries; rkt.Run(); }