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

Unified Diff: tests/parsers/winreg_plugins/terminal_server.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/task_scheduler.py ('k') | tests/parsers/winreg_plugins/test_lib.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/parsers/winreg_plugins/terminal_server.py
diff --git a/tests/parsers/winreg_plugins/terminal_server.py b/tests/parsers/winreg_plugins/terminal_server.py
index 1a615873f4ce5ceb8face97041bc277a0363b518..d7ef4f4bcb24d5155878707f14485a4cb998a505 100644
--- a/tests/parsers/winreg_plugins/terminal_server.py
+++ b/tests/parsers/winreg_plugins/terminal_server.py
@@ -49,6 +49,22 @@ class ServersTerminalServerClientPluginTest(test_lib.RegistryPluginTestCase):
return registry_key
+ def testFilters(self):
+ """Tests the FILTERS class attribute."""
+ plugin = terminal_server.TerminalServerClientPlugin()
+
+ key_path = (
+ 'HKEY_CURRENT_USER\\Software\\Microsoft\\Terminal Server Client\\'
+ 'Servers')
+ self._AssertFiltersOnKeyPath(plugin, key_path)
+
+ key_path = (
+ 'HKEY_CURRENT_USER\\Software\\Microsoft\\Terminal Server Client\\'
+ 'Default\\AddIns\\RDPDR')
+ 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/task_scheduler.py ('k') | tests/parsers/winreg_plugins/test_lib.py » ('j') | no next file with comments »

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