def setUp(self): """Sets up the objects needed for this test.""" super(TimesketchTest, self).setUp() plaso_timestamp = timelib.Timestamp() self._event_timestamp = plaso_timestamp.CopyFromString( u'2012-06-27 18:17:01+00:00') self._event_object = TimesketchTestEvent(self._event_timestamp) self._timesketch_output = timesketch_out.TimesketchOutput( None, self._formatter_mediator, config=TimesketchTestConfig)
def setUp(self): """Makes preparations before running an individual test.""" plaso_timestamp = timelib.Timestamp() self._event_timestamp = plaso_timestamp.CopyFromString( u'2012-06-27 18:17:01+00:00') self._event_object = MySQL4n6TimeTestEvent(self._event_timestamp) output_mediator = self._CreateOutputMediator() self._output_module = mysql_4n6time.MySQL4n6TimeOutputModule( output_mediator)
def setUp(self): """Sets up the objects needed for this test.""" plaso_timestamp = timelib.Timestamp() self._event_timestamp = plaso_timestamp.CopyFromString( u'2012-06-27 18:17:01+00:00') self._event_object = MySQL4n6TimeTestEvent(self._event_timestamp) output_mediator = self._CreateOutputMediator() self._output_module = mysql_4n6time.MySQL4n6TimeOutputModule( output_mediator)
def setUp(self): """Sets up the objects needed for this test.""" plaso_timestamp = timelib.Timestamp() self._event_timestamp = plaso_timestamp.CopyFromString( u'2012-06-27 18:17:01+00:00') self._event_object = TimesketchTestEvent(self._event_timestamp) output_mediator = self._CreateOutputMediator() self._timesketch_output = timesketch_out.TimesketchOutputModule( output_mediator)
def setUp(self): """Makes preparations before running an individual test.""" plaso_timestamp = timelib.Timestamp() self._event_timestamp = plaso_timestamp.CopyFromString( u'2012-06-27 18:17:01+00:00') self._event_object = TimesketchTestEvent(self._event_timestamp) self._event_tag = event.EventTag() self._event_tag.uuid = self._event_object.uuid self._event_tag.tags = [u'Test tag'] self._event_object.tag = self._event_tag output_mediator = self._CreateOutputMediator() self._timesketch_output = timesketch_out.TimesketchOutputModule( output_mediator)
def setUp(self): """Makes preparations before running an individual test.""" plaso_timestamp = timelib.Timestamp() self._event_timestamp = plaso_timestamp.CopyFromString( u'2012-06-27 18:17:01+00:00') self._event_object = sqliteTestEvent(self._event_timestamp)
def setUp(self): """Sets up the objects needed for this test.""" plaso_timestamp = timelib.Timestamp() self._event_timestamp = plaso_timestamp.CopyFromString( u'2012-06-27 18:17:01+00:00') self._event_object = sqliteTestEvent(self._event_timestamp)