Mercurial > hg > ltpda
annotate m-toolbox/classes/tests/@ltpda_uoh_tests/test_procinfo.m @ 46:ca0b8d4dcdb6 database-connection-manager
Fix
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 19:07:27 +0100 |
parents | f0afece42f48 |
children |
rev | line source |
---|---|
0 | 1 % Test the procinfo is [] by default. |
2 function res = test_procinfo(varargin) | |
3 | |
4 res = ''; | |
5 utp = varargin{1}; | |
6 | |
7 if ~isempty(utp.className) | |
8 obj = feval(utp.className); | |
9 assert(isnumeric(obj.procinfo)); | |
10 assert(isempty(obj.procinfo)); | |
11 res = sprintf('%s has a valid procinfo', class(obj)); | |
12 end | |
13 | |
14 end |