#NEWLINE# def testAll( self ) : #NEWLINE# #INDENT# for ( i , data ) in enumerate ( MORE_TESTS ) : #NEWLINE# #INDENT# self . view . sel ( ) . clear ( ) #NEWLINE# self . write ( actual . content ) #NEWLINE# for region in data . regions : #NEWLINE# #INDENT# self . add_sel ( self . R ( * region ) ) #NEWLINE# #UNINDENT# self . view . run_command ( '_vi_j' , data . kwargs ) #NEWLINE# msg = 'failed at test index {0}: {1}' . format ( i , data . msg ) #NEWLINE# actual = self . view . sel ( ) [ 0 ] #NEWLINE# self . assertEqual ( self . R ( * data . expected ) , actual , msg )