Mercurial > hg > ltpda
annotate testing/utp_1.1/utp_fcns/utpGetHostname.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 |
rev | line source |
---|---|
44 | 1 % UTPGETHOSTNAME returns the hostname for the repository tests. |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: UTPGETHOSTNAME returns the hostname for the repository | |
5 % tests. | |
6 % | |
7 % CALL: hostname = utpGetHostname() | |
8 % | |
9 % VERSION: $Id: utpGetHostname.m,v 1.1 2009/09/19 15:27:53 ingo Exp $ | |
10 % | |
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
12 | |
13 function hostname = utpGetHostname() | |
14 | |
51
9d5c88356247
Make unit tests database connection parameters configurable
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
44
diff
changeset
|
15 hostname = getappdata(0, 'LTPDAUtpRepositoryHostname'); |
44 | 16 |
17 end |