blob: 757b98a2489877d15eae34e8d964143f15e32e08 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.wst.server.core.tests.impl;
import org.eclipse.core.resources.IProject;
import org.eclipse.wst.server.core.IModule;
import org.eclipse.wst.server.core.model.ModuleDelegate;
import org.eclipse.wst.server.core.util.ProjectModuleFactoryDelegate;
public class TestProjectModuleFactoryDelegate extends ProjectModuleFactoryDelegate {
public TestProjectModuleFactoryDelegate() {
super();
}
public void testProtected() throws Exception {
createModules(null);
getListenerPaths();
isValidModule(null);
try {
createModule(null, null, null, null, null);
} catch (Exception e) {
// ignore
}
try {
handleGlobalProjectChange(null, null);
} catch (Exception e) {
// ignore
}
}
protected boolean isValidModule(IProject project) {
return false;
}
protected IModule[] createModules(IProject project) {
return null;
}
public ModuleDelegate getModuleDelegate(IModule module) {
return null;
}
protected IModule createModule(IProject project) {
return null;
}
}