Index: tests/parsers/winreg_plugins/lfu.py |
diff --git a/tests/parsers/winreg_plugins/lfu.py b/tests/parsers/winreg_plugins/lfu.py |
index b728b7702dc1f3d3df79091d85c74766fe149312..b5111836effdda435be892627793bd79eed75269 100644 |
--- a/tests/parsers/winreg_plugins/lfu.py |
+++ b/tests/parsers/winreg_plugins/lfu.py |
@@ -92,6 +92,16 @@ class TestBootExecutePlugin(test_lib.RegistryPluginTestCase): |
return registry_key |
+ def testFilters(self): |
+ """Tests the FILTERS class attribute.""" |
+ plugin = lfu.BootExecutePlugin() |
+ |
+ key_path = ( |
+ 'HKEY_LOCAL_MACHINE\\System\\ControlSet001\\Control\\Session Manager') |
+ self._AssertFiltersOnKeyPath(plugin, key_path) |
+ |
+ self._AssertNotFiltersOnKeyPath(plugin, 'HKEY_LOCAL_MACHINE\\Bogus') |
+ |
def testProcess(self): |
"""Tests the Process function.""" |
key_path = ( |
@@ -166,6 +176,17 @@ class TestBootVerificationRegistry(test_lib.RegistryPluginTestCase): |
return registry_key |
+ def testFilters(self): |
+ """Tests the FILTERS class attribute.""" |
+ plugin = lfu.BootVerificationPlugin() |
+ |
+ key_path = ( |
+ 'HKEY_LOCAL_MACHINE\\System\\ControlSet001\\Control\\' |
+ 'BootVerificationProgram') |
+ self._AssertFiltersOnKeyPath(plugin, key_path) |
+ |
+ self._AssertNotFiltersOnKeyPath(plugin, 'HKEY_LOCAL_MACHINE\\Bogus') |
+ |
def testProcess(self): |
"""Tests the Process function.""" |
key_path = '\\ControlSet001\\Control\\BootVerificationProgram' |