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

        expected_attribute_names = [
            u'type', u'title', u'url', u'places_title', u'visit_count'
        ]

        self._TestGetFormatStringAttributeNames(event_formatter,
                                                expected_attribute_names)
Beispiel #2
0
 def testInitialization(self):
     """Tests the initialization."""
     event_formatter = firefox.FirefoxBookmarkFormatter()
     self.assertNotEqual(event_formatter, None)