Project

General

Profile

« Previous | Next » 

Revision 5139

Added by daigle over 14 years ago

Fix errors in workflow scheduler unit test

View differences:

MCTestCase.java
82 82
	protected static final String ALLOWFIRST = "allowFirst";
83 83
	protected static final String DENYFIRST = "denyFirst";
84 84
	
85
	protected String testdatadir = "test/clienttestfiles/";
85 86
	protected String prefix = "test";
86 87
	protected String testdocument = "";
87 88
	
......
400 401
	 */
401 402
	protected void setUp() throws Exception {
402 403
		try {
403
			if (metacatConnectionNeeded)
404
			debug("setUp() - Testing Metacat Url: " + metacatUrl);
405
			m = MetacatFactory.createMetacatConnection(metacatUrl);
404
			if (metacatConnectionNeeded) {
405
				debug("setUp() - Testing Metacat Url: " + metacatUrl);
406
				m = MetacatFactory.createMetacatConnection(metacatUrl);
407
			}
406 408
		} catch (MetacatInaccessibleException mie) {
407 409
			System.err.println("Metacat is: " + metacatUrl);
408 410
			fail("Metacat connection failed." + mie.getMessage());

Also available in: Unified diff