Ejemplo n.º 1
0
        public void GetRegKey_NotExistingRegistryKey()
        {
            string actual = RegistryWrapper.GetRegKey64(RegHive.LocalMachine, notExistingKeyPath, "Name");

            Assert.AreEqual(null, actual, "Null expected but not returned!");
        }
Ejemplo n.º 2
0
        public void GetRegKey_From64bitRegistry()
        {
            string actual = RegistryWrapper.GetRegKey64(RegHive.LocalMachine, Genev64KeyPath, "ID");

            Assert.AreEqual("64", actual, "ID 64 expected but not found!");
        }