def testToString_07 (self): style = StcStyle(fore=u"", back=u"", bold=True, italic=True) self.assertEqual (style.tostr(), u"bold,italic")
def testToString_04 (self): style = StcStyle(bold=True, italic=True, underline=True) self.assertEqual (style.tostr(), u"fore:#000000,back:#FFFFFF,bold,italic,underline")
def testToString_05 (self): style = StcStyle(fore=u"#AAAAAA", back=u"#BBBBBB", bold=True) self.assertEqual (style.tostr(), u"fore:#AAAAAA,back:#BBBBBB,bold")
def testToString_01 (self): style = StcStyle() self.assertEqual (style.tostr(), u"fore:#000000,back:#FFFFFF")
def testToString_02 (self): style = StcStyle(bold=True) self.assertEqual (style.tostr(), u"fore:#000000,back:#FFFFFF,bold")
def testToString_05(self): style = StcStyle(fore="#AAAAAA", back="#BBBBBB", bold=True) self.assertEqual(style.tostr(), "fore:#AAAAAA,back:#BBBBBB,bold")
def testToString_07(self): style = StcStyle(fore="", back="", bold=True, italic=True) self.assertEqual(style.tostr(), "bold,italic")
def testToString_02(self): style = StcStyle(bold=True) self.assertEqual(style.tostr(), "fore:#000000,back:#FFFFFF,bold")
def testToString_04(self): style = StcStyle(bold=True, italic=True, underline=True) self.assertEqual(style.tostr(), "fore:#000000,back:#FFFFFF,bold,italic,underline")
def testToString_01(self): style = StcStyle() self.assertEqual(style.tostr(), "fore:#000000,back:#FFFFFF")
def testToString_06(self): style = StcStyle(fore="", back="", bold=True) self.assertEqual(style.tostr(), "bold")
def testToString_03(self): style = StcStyle(bold=True, italic=True) self.assertEqual(style.tostr(), "fore:#000000,back:#FFFFFF,bold,italic")
def testToString_06(self): style = StcStyle(fore=u"", back=u"", bold=True) self.assertEqual(style.tostr(), u"bold")
def testToString_03(self): style = StcStyle(bold=True, italic=True) self.assertEqual(style.tostr(), u"fore:#000000,back:#FFFFFF,bold,italic")