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

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

Issue 333570043: [plaso] Added Window Registry parser plugin filters tests #1668 (Closed)
Patch Set: Changes after review and rebase 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
« no previous file with comments | « tests/parsers/winreg_plugins/userassist.py ('k') | tests/parsers/winreg_plugins/winlogon.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/parsers/winreg_plugins/windows_version.py
diff --git a/tests/parsers/winreg_plugins/windows_version.py b/tests/parsers/winreg_plugins/windows_version.py
index b5408ab9100561ccfc304716a058b7544d22470e..5fce325a1d88d3aad8c5b08880831f840110d84b 100644
--- a/tests/parsers/winreg_plugins/windows_version.py
+++ b/tests/parsers/winreg_plugins/windows_version.py
@@ -70,6 +70,16 @@ class WindowsVersionPluginTest(test_lib.RegistryPluginTestCase):
return registry_key
+ def testFilters(self):
+ """Tests the FILTERS class attribute."""
+ plugin = windows_version.WindowsVersionPlugin()
+
+ key_path = (
+ 'HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion')
+ self._AssertFiltersOnKeyPath(plugin, key_path)
+
+ self._AssertNotFiltersOnKeyPath(plugin, 'HKEY_LOCAL_MACHINE\\Bogus')
+
def testProcess(self):
"""Tests the Process function."""
key_path = (
« no previous file with comments | « tests/parsers/winreg_plugins/userassist.py ('k') | tests/parsers/winreg_plugins/winlogon.py » ('j') | no next file with comments »

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