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 = ( |