Mercurial > hg > ltpda
view testing/utp_1.1/utp_fcns/utpGetConnectionPlist.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
% UTPGETCONNECTIONPLIST returns the connection plist for the repository tests. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % DESCRIPTION: UTPGETCONNECTION returns the connection plist for the % repository tests. % % CALL: conn = utpGetConnectionPlist() % % VERSION: $Id: utpGetConnectionPlist.m,v 1.2 2010/02/01 18:42:38 ingo Exp $ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function connPl = utpGetConnectionPlist() % java connection rm = LTPDARepositoryManager(); rm.newConnection(utpGetHostname, utpGetDatabase, utpGetUsername, utpGetPassword); connPl = plist('hostname', utpGetHostname, 'database', utpGetDatabase, 'username', utpGetUsername); end