Beispiel #1
0
  def testGetFormatStringAttributeNames(self):
    """Tests the GetFormatStringAttributeNames function."""
    event_formatter = file_system.NTFSFileStatEventFormatter()

    expected_attribute_names = [
        u'attribute_name', u'display_name', u'file_reference', u'name',
        u'parent_file_reference', u'unallocated']

    self._TestGetFormatStringAttributeNames(
        event_formatter, expected_attribute_names)
Beispiel #2
0
 def testInitialization(self):
     """Tests the initialization."""
     event_formatter = file_system.NTFSFileStatEventFormatter()
     self.assertIsNotNone(event_formatter)