def testCommentBlockJavaDoc(self):
     alphabet = 'abcdefghijklmnopqrstuvwxyz'
     value = """
    * %s %s
    * %s %s %s
    * """ % (alphabet, alphabet, alphabet, alphabet, alphabet)
     expected = """
    * %s %s %s
    * %s %s""" % (alphabet, alphabet, alphabet, alphabet, alphabet)
     self.assertEquals(expected, template_helpers.block_comment(value))
     value = """
    // %s %s
    // %s %s %s
    // """ % (alphabet, alphabet, alphabet, alphabet, alphabet)
     expected = """
    // %s %s %s
    // %s %s""" % (alphabet, alphabet, alphabet, alphabet, alphabet)
     self.assertEquals(expected, template_helpers.block_comment(value))
 def testCommentBlockJavaDoc(self):
   alphabet = 'abcdefghijklmnopqrstuvwxyz'
   value = """
      * %s %s
      * %s %s %s
      * """ % (alphabet, alphabet, alphabet, alphabet, alphabet)
   expected = """
      * %s %s %s
      * %s %s""" % (alphabet, alphabet, alphabet, alphabet, alphabet)
   self.assertEquals(expected, template_helpers.block_comment(value))
   value = """
      // %s %s
      // %s %s %s
      // """ % (alphabet, alphabet, alphabet, alphabet, alphabet)
   expected = """
      // %s %s %s
      // %s %s""" % (alphabet, alphabet, alphabet, alphabet, alphabet)
   self.assertEquals(expected, template_helpers.block_comment(value))