view testing/utp_1.1/utp_fcns/utpGetDatabase.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

% UTPGETDATABASE returns the database for the repository tests.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: UTPGETDATABASE returns the database for the repository
%              tests.
%
% CALL:        database = utpGetDatabase()
%
% VERSION:     $Id: utpGetDatabase.m,v 1.1 2009/09/19 15:27:53 ingo Exp $
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function database = utpGetDatabase()
  
  database = getappdata(0, 'LTPDAUtpRepositoryDatabase');
  
end