comparison 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
comparison
equal deleted inserted replaced
43:bc767aaa99a8 44:409a22968d5e
1 % UTPGETCONNECTIONPLIST returns the connection plist for the repository tests.
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %
4 % DESCRIPTION: UTPGETCONNECTION returns the connection plist for the
5 % repository tests.
6 %
7 % CALL: conn = utpGetConnectionPlist()
8 %
9 % VERSION: $Id: utpGetConnectionPlist.m,v 1.2 2010/02/01 18:42:38 ingo Exp $
10 %
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12
13 function connPl = utpGetConnectionPlist()
14
15 % java connection
16 rm = LTPDARepositoryManager();
17 rm.newConnection(utpGetHostname, utpGetDatabase, utpGetUsername, utpGetPassword);
18 connPl = plist('hostname', utpGetHostname, 'database', utpGetDatabase, 'username', utpGetUsername);
19
20 end