Project

General

Profile

« Previous | Next » 

Revision 4126

Added by daigle almost 16 years ago

Use qualified test properties

View differences:

AccessControlTest.java
63 63
	static {
64 64
		try {
65 65
		    metacatUrl = SystemUtil.getServletURL();
66
			username = PropertyService.getProperty("mcuser");
67
			password = PropertyService.getProperty("mcpassword");
68
			anotheruser = PropertyService.getProperty("mcanotheruser");
69
			anotherpassword = PropertyService.getProperty("mcanotherpassword");
66
			username = PropertyService.getProperty("test.mcuser");
67
			password = PropertyService.getProperty("test.mcpassword");
68
			anotheruser = PropertyService.getProperty("test.mcanotheruser");
69
			anotherpassword = PropertyService.getProperty("test.mcanotherpassword");
70 70
		} catch (PropertyNotFoundException pnfe) {
71 71
			System.err.println("Could not get property in static block: " 
72 72
					+ pnfe.getMessage());

Also available in: Unified diff