view testing/utp_1.1/search_results.m @ 51:9d5c88356247 database-connection-manager

Make unit tests database connection parameters configurable
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:24:37 +0100
parents 409a22968d5e
children
line wrap: on
line source

function out = search_results(results, utp_name)
  
  out = [];
  
  for kk=1:numel(results)
    r = results(kk);
    name = ['utp_' r.class '_' r.method '_' r.num];
    if strcmpi(name, utp_name)
      kk
      out = r;
    end
  end
  
end