#NEWLINE# def _record_first_case( self , driver , inputs , outputs ) : #NEWLINE# #INDENT# 'Called the first time we record a Case' #NEWLINE# ( in_names , out_names ) = self . _cfg_map [ driver ] #NEWLINE# if self . _names : #NEWLINE# #INDENT# names = [ n for n in in_names if ( n in self . _names ) ] #NEWLINE# tmp = [ inputs [ i ] for ( i , n ) in enumerate ( in_names ) if ( n in self . _names ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# names = list ( in_names ) #NEWLINE# tmp = list ( inputs ) #NEWLINE# #UNINDENT# self . _split_idx = len ( tmp ) #NEWLINE# if self . _names : #NEWLINE# #INDENT# names . extend ( ( n for n in out_names if ( n in self . _names ) ) ) #NEWLINE# tmp . extend ( ( outputs [ i ] for ( i , n ) in enumerate ( out_names ) if ( n in self . _names ) ) ) #NEWLINE# if ( len ( names ) != len ( self . _names ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# names . extend ( out_names ) #NEWLINE# tmp . extend ( outputs ) #NEWLINE# #UNINDENT# self . _names = names #NEWLINE# self . _add_values ( tmp )