blob: 12c6cd53f191f0c9ca81116074c38c02955fa1a4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 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.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 {
addListener();
fireGlobalEvents();
cacheModules();
createModules(null);
getListenerPaths();
isValidModule(null);
createModule(null, null, null, null, null);
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;
}
public IModule[] getModules() {
return null;
}
}