String home, file = "conf.xml"; home = System.getProperty("exist.home"); if (home == null) home = System.getProperty("user.dir"); Configuration config = new Configuration(file, home);
Configuration config = new Configuration();
	protected void setUp() {		try {			super.setUp();	        String home, file = "conf.xml";	        home = System.getProperty("exist.home");	        if (home == null)	            home = System.getProperty("user.dir");	        Configuration config = new Configuration(file, home);	        BrokerPool.configure(1, 5, config);		        broker = BrokerPool.getInstance().get(SecurityManager.SYSTEM_USER);			context = new XQueryContext(broker, AccessContext.TEST);						dtDuration = new DayTimeDurationValue("P1D");			ymDuration = new YearMonthDurationValue("P1Y");			dateTime = new DateTimeValue("2005-06-02T16:28:00Z");			date = new DateValue("2005-06-02");			time = new TimeValue("16:28:00Z");			integer = new IntegerValue(2);			decimal = new DecimalValue("1.5");		} catch (Exception e) {			fail(e.getMessage());		}				}