Exemple #1
0
    def testGetFormatStringAttributeNames(self):
        """Tests the GetFormatStringAttributeNames function."""
        event_formatter = userassist.UserAssistWindowsRegistryEventFormatter()

        expected_attribute_names = [u'key_path', u'text']

        self._TestGetFormatStringAttributeNames(event_formatter,
                                                expected_attribute_names)
Exemple #2
0
    def testGetFormatStringAttributeNames(self):
        """Tests the GetFormatStringAttributeNames function."""
        event_formatter = userassist.UserAssistWindowsRegistryEventFormatter()

        expected_attribute_names = [
            'key_path', 'entry_index', 'value_name', 'number_of_executions',
            'application_focus_count', 'application_focus_duration'
        ]

        self._TestGetFormatStringAttributeNames(event_formatter,
                                                expected_attribute_names)
Exemple #3
0
 def testInitialization(self):
     """Tests the initialization."""
     event_formatter = userassist.UserAssistWindowsRegistryEventFormatter()
     self.assertIsNotNone(event_formatter)