blob: a93b2a2c2b87e6c5290491ce5df9400cb50c14f0 [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.jst.server.core.tests;
import org.eclipse.jst.server.core.IWebModule;
import org.eclipse.jst.server.core.tests.impl.TestWebModule;
import junit.framework.TestCase;
public class WebModuleTestCase extends TestCase {
protected static IWebModule module;
protected IWebModule getWebModule() {
if (module == null) {
module = new TestWebModule();
}
return module;
}
public void testCreate() {
getWebModule();
}
public void testContextRoot() {
getWebModule().getContextRoot();
}
}