#NEWLINE# def viewTestcase( self , modelDocument , indent ) : #NEWLINE# #INDENT# cols = [ ] #NEWLINE# attr = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for col in self . cols : #NEWLINE# #INDENT# if ( col == 'Testcase' ) : #NEWLINE# #INDENT# if ( self . type != ViewFile . XML ) : #NEWLINE# #INDENT# cols . append ( os . path . basename ( modelDocument . uri ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# attr [ 'name' ] = os . path . basename ( modelDocument . uri ) #NEWLINE# #UNINDENT# break #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# cols . append ( '' ) #NEWLINE# #UNINDENT# #UNINDENT# self . addRow ( cols , treeIndent = indent , xmlRowElementName = 'testcase' , xmlRowEltAttr = attr , xmlCol0skipElt = True ) #NEWLINE# if hasattr ( modelDocument , 'testcaseVariations' ) : #NEWLINE# #INDENT# for modelTestcaseVariation in modelDocument . testcaseVariations : #NEWLINE# #INDENT# self . viewTestcaseVariation ( modelTestcaseVariation , ( indent + 1 ) )