示例#1
0
文件: srum.py 项目: x35029/plaso
    def testGetFormatStringAttributeNames(self):
        """Tests the GetFormatStringAttributeNames function."""
        event_formatter = srum.SRUMApplicationResourceUsageEventFormatter()

        expected_attribute_names = ['application']

        self._TestGetFormatStringAttributeNames(event_formatter,
                                                expected_attribute_names)
示例#2
0
文件: srum.py 项目: x35029/plaso
 def testInitialization(self):
     """Tests the initialization."""
     event_formatter = srum.SRUMApplicationResourceUsageEventFormatter()
     self.assertIsNotNone(event_formatter)