Project

General

Profile

« Previous | Next » 

Revision 4126

Added by daigle almost 16 years ago

Use qualified test properties

View differences:

MetacatClientTest.java
74 74
	private static String anotherpassword;
75 75
	static {
76 76
		try {
77
		    metacatUrl = SystemUtil.getServletURL();
78
			username = PropertyService.getProperty("mcuser");
79
			password = PropertyService.getProperty("mcpassword");
80
			anotheruser = PropertyService.getProperty("mcanotheruser");
81
			anotherpassword = PropertyService.getProperty("mcanotherpassword");
77
		    metacatUrl = PropertyService.getProperty("test.metacat.url");
78
			username = PropertyService.getProperty("test.mcuser");
79
			password = PropertyService.getProperty("test.mcpassword");
80
			anotheruser = PropertyService.getProperty("test.mcanotheruser");
81
			anotherpassword = PropertyService.getProperty("test.mcanotherpassword");
82 82
		} catch (PropertyNotFoundException pnfe) {
83 83
			System.err.println("Could not get property in static block: " 
84 84
					+ pnfe.getMessage());

Also available in: Unified diff