Mercurial > hg > ltpda
view m-toolbox/classes/tests/@ut_result_printer/printSummaryString.m @ 18:947e2ff4b1b9 database-connection-manager
Update plist.FROM_REPOSITORY_PLIST and plist.TO_REPOSITORY_PLIST
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% PRINTSUMMARYSTRING returns a string summarising the tests. % % VERSION: $Id: printSummaryString.m,v 1.2 2010/10/26 13:17:14 hewitson Exp $ % function res = printSummaryString(urp) res = ''; % Summary res = [res sprintf('------------------------------------\n')]; res = [res sprintf('Total # tests: %d\n', urp.nresults)]; res = [res sprintf('Tests failed: %d\n', urp.nresults - urp.npassed)]; res = [res sprintf('------------------------------------\n')]; end