def testProcessOnDatabaseWithPartitionsTable(self):
    'Tests the Process function on database with a Partitions table.'
    plugin = msie_webcache.MsieWebCacheESEDBPlugin()
    storage_writer = self._ParseESEDBFileWithPlugin(['WebCacheV01.dat'], plugin)
    self.assertEqual(storage_writer.number_of_events, 1372)
    self.assertEqual(storage_writer.number_of_extraction_warnings, 0)
    self.assertEqual(storage_writer.number_of_recovery_warnings, 0)
    events = list(storage_writer.GetSortedEvents())
    expected_event_values = {'container_identifier': 1, 'data_type': 'msie:webcache:containers', 'date_time': '2014-05-12 07:30:25.4861987', 'directory': 'C:\\Users\\test\\AppData\\Local\\Microsoft\\Windows\\INetCache\\IE\\', 'name': 'Content', 'set_identifier': 0, 'timestamp_desc': definitions.TIME_DESCRIPTION_LAST_ACCESS}
    self.CheckEventValues(storage_writer, events[573], expected_event_values)
Tests the Process function on database with a Partitions table.
def testProcessOnDatabaseWithPartitionsTable(self):
    
    plugin = msie_webcache.MsieWebCacheESEDBPlugin()
    storage_writer = self._ParseESEDBFileWithPlugin(['WebCacheV01.dat'], plugin)
    self.assertEqual(storage_writer.number_of_events, 1372)
    self.assertEqual(storage_writer.number_of_extraction_warnings, 0)
    self.assertEqual(storage_writer.number_of_recovery_warnings, 0)
    events = list(storage_writer.GetSortedEvents())
    expected_event_values = {'container_identifier': 1, 'data_type': 'msie:webcache:containers', 'date_time': '2014-05-12 07:30:25.4861987', 'directory': 'C:\\Users\\test\\AppData\\Local\\Microsoft\\Windows\\INetCache\\IE\\', 'name': 'Content', 'set_identifier': 0, 'timestamp_desc': definitions.TIME_DESCRIPTION_LAST_ACCESS}
    self.CheckEventValues(storage_writer, events[573], expected_event_values)