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

        expected_attribute_names = [u'display_name', u'unallocated']

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