view testing/utp_1.1/utps/ssm/utp_ssm_model_IFO.m @ 52:daf4eab1a51e database-connection-manager tip

Fix. Default password should be [] not an empty string
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:29:47 +0100
parents 409a22968d5e
children
line wrap: on
line source

% UTP_SSM_MODEL_IFO a set of UTPs for the IFO SSM built-in model.
%
% M Hewitson 26-07-10
%
% $Id: utp_ssm_model_IFO.m,v 1.1 2010/07/26 16:42:29 hewitson Exp $
%

% <MethodDescription>
%
% The built-in model 'IFO' represents different incarnations of the
% interferometric sensing for LTP.
%
% </MethodDescription>

function results = utp_ssm_model_IFO(varargin)
  
  % Check the inputs
  if nargin == 0
    
    % Some keywords
    class   = 'ssm';
    model   = 'IFO';
    
    results = [];
    disp('******************************************************');
    disp(['****  Running UTPs for ' class '/' model]);
    disp('******************************************************');
    
    % Run the tests
    results = [results utp_901(class, model, plist)];  % check model name
    results = [results utp_902(class, model, plist)];  % check model description    
    results = [results utp_903(class, model, plist)];  % check model responds to 'DIM'
    
    disp('Done.');
    disp('******************************************************');
    
  elseif nargin == 1 % Check for UTP functions
    if strcmp(varargin{1}, 'isutp')
      results = 1;
    else
      results = 0;
    end
  else
    error('### Incorrect inputs')
  end
  
end