Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(347)

Unified Diff: tests/parsers/winreg_plugins/winrar.py

Issue 333570043: [plaso] Added Window Registry parser plugin filters tests #1668 (Closed)
Patch Set: Changes after review Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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'
« tests/parsers/winreg_plugins/appcompatcache.py ('K') | « tests/parsers/winreg_plugins/winlogon.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b