예제 #1
0
  def testGetFormatStringAttributeNames(self):
    """Tests the GetFormatStringAttributeNames function."""
    event_formatter = safari.SafariHistoryFormatterSqlite()

    expected_attribute_names = [
        'url', 'title', 'visit_count', 'was_http_non_get']

    self._TestGetFormatStringAttributeNames(
        event_formatter, expected_attribute_names)
예제 #2
0
 def testInitialization(self):
     """Tests the initialization."""
     event_formatter = safari.SafariHistoryFormatterSqlite()
     self.assertIsNotNone(event_formatter)