view testing/utp_1.1/utp_fcns/utpGetPassword.m @ 45:a59cdb8aaf31 database-connection-manager

Merge
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 19:07:22 +0100
parents 409a22968d5e
children 9d5c88356247
line wrap: on
line source

% UTPGETPASSWORD returns the password for the repository tests.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: UTPGETPASSWORD returns the password for the repository
%              tests.
%
% CALL:        password = utpGetPassword()
%
% VERSION:     $Id: utpGetPassword.m,v 1.4 2010/07/26 16:43:37 hewitson Exp $
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function password = utpGetPassword()
  
  password = getappdata(0, 'LTPDARepoPassword');
  if isempty(password)
    password = 'a1b2c3d4';
  end
  
end