コード例 #1
0
ファイル: winlnk.py プロジェクト: william-billaud/plaso
    def testGetFormatStringAttributeNames(self):
        """Tests the GetFormatStringAttributeNames function."""
        event_formatter = winlnk.WinLnkLinkFormatter()

        expected_attribute_names = [
            'description', 'file_size', 'file_attribute_flags', 'drive_type',
            'drive_serial_number', 'volume_label', 'local_path',
            'network_path', 'command_line_arguments', 'env_var_location',
            'relative_path', 'working_directory', 'icon_location',
            'link_target'
        ]

        self._TestGetFormatStringAttributeNames(event_formatter,
                                                expected_attribute_names)
コード例 #2
0
ファイル: winlnk.py プロジェクト: william-billaud/plaso
 def testInitialization(self):
     """Tests the initialization."""
     event_formatter = winlnk.WinLnkLinkFormatter()
     self.assertIsNotNone(event_formatter)