Index: tests/parsers/winreg_plugins/winrar.py |
diff --git a/tests/parsers/winreg_plugins/winrar.py b/tests/parsers/winreg_plugins/winrar.py |
index 4a7d6bea5d3bfaf71d7300431cf5106c2e737991..747becd920e7be2f0eaecb73437d5b7cdb2e6d7f 100644 |
--- a/tests/parsers/winreg_plugins/winrar.py |
+++ b/tests/parsers/winreg_plugins/winrar.py |
@@ -51,6 +51,15 @@ class WinRarArcHistoryPluginTest(test_lib.RegistryPluginTestCase): |
return registry_key |
+ def testFilters(self): |
+ """Tests the FILTERS class attribute.""" |
+ plugin = winrar.WinRarHistoryPlugin() |
+ |
+ key_path = 'HKEY_CURRENT_USER\\Software\\WinRAR\\ArcHistory' |
+ self._AssertFiltersOnKeyPath(plugin, key_path) |
+ |
+ self._AssertNotFiltersOnKeyPath(plugin, 'HKEY_LOCAL_MACHINE\\Bogus') |
+ |
def testProcess(self): |
"""Tests the Process function.""" |
key_path = 'HKEY_CURRENT_USER\\Software\\WinRAR\\ArcHistory' |