示例#1
0
 def testGetType(self):
     extends = raw_doc.RawExtends(self.t, self.txt)
     self.assertEqual(extends.getType(), 'extends')
示例#2
0
 def testGetFormatted(self):
     extends = raw_doc.RawExtends(self.t, self.txt)
     self.assertEqual(extends.getFormatted(self.formatter),
                      '@extends aword\n')
示例#3
0
 def testCreation(self):
     extends = raw_doc.RawExtends(self.t, self.txt)
     self.assertEqual(extends.text, self.txt)