Mercurial > hg > ltpda
view testing/utp_1.1/utp_fcns/utpGetConnection.m @ 44:409a22968d5e default
Add unit tests
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 18:42:11 +0100 |
parents | |
children | 7d2e2e065cf1 |
line wrap: on
line source
% UTPGETCONNECTION returns the connection for the repository tests. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % DESCRIPTION: UTPGETCONNECTION returns the connection for the repository % tests. % % CALL: conn = utpGetConnection() % % VERSION: $Id: utpGetConnection.m,v 1.1 2009/09/19 15:27:52 ingo Exp $ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function conn = utpGetConnection() % % MATLAB connection % conn = utils.mysql.connect(utpGetHostname, utpGetDatabase, utpGetUsername, utpGetPassword); % java connection conn = utils.jmysql.connect(utpGetHostname, utpGetDatabase, utpGetUsername, utpGetPassword); end