blob: 4689309ca25b6fcbbcde502b04d9993185404181 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.wst.server.core.tests.model;
import junit.framework.TestCase;
import org.eclipse.wst.server.core.model.PublishTaskDelegate;
import org.eclipse.wst.server.core.tests.impl.TestServerTaskDelegate;
public class ServerTaskDelegateTestCase extends TestCase {
protected static PublishTaskDelegate delegate;
protected PublishTaskDelegate getPublishTaskDelegate() {
if (delegate == null) {
delegate = new TestServerTaskDelegate();
}
return delegate;
}
public void testGetTasks() throws Exception {
getPublishTaskDelegate().getTasks(null, null);
}
}