Mercurial > hg > ltpda
comparison testing/utp_1.1/utp_fcns/utpGetUsername.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 |
comparison
equal
deleted
inserted
replaced
50:7d2e2e065cf1 | 51:9d5c88356247 |
---|---|
10 % | 10 % |
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
12 | 12 |
13 function username = utpGetUsername() | 13 function username = utpGetUsername() |
14 | 14 |
15 username = getappdata(0, 'LTPDARepoUsername'); | 15 username = getappdata(0, 'LTPDAUtpRepositoryUsername'); |
16 if isempty(username) | |
17 username = 'tester'; | |
18 end | |
19 | 16 |
20 end | 17 end |