def testGetType(self): param = raw_doc.RawTParam(self.tok, self.txt_name, self.txt_text) self.assertEqual(param.getType(), 'tparam')
def testGetFormatted(self): param = raw_doc.RawTParam(self.tok, self.txt_name, self.txt_text) self.assertEqual(param.getFormatted(self.formatter), '@tparam name text\n')
def testCreation(self): param = raw_doc.RawTParam(self.tok, self.txt_name, self.txt_text) self.assertEqual(param.name, self.txt_name) self.assertEqual(param.text, self.txt_text)