Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org/xdoclet/plugin/weblogic/ejb
In directory
sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12277/plugin-weblogic/src/test/java/org/xdoclet/plugin/weblogic/ejb
Added Files:
AbstractWeblogicEjbXmlPluginTestCase.java
Log Message:
Initial Revision
--- NEW FILE: AbstractWeblogicEjbXmlPluginTestCase.java ---
package org.xdoclet.plugin.weblogic.ejb;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import org.generama.MetadataProvider;
import org.generama.tests.AbstractXMLGeneratingPluginTestCase;
import org.xdoclet.QDoxMetadataProvider;
/**
*
*
* @author Ive Hellemans
* @version $Revision$
*/
public abstract class AbstractWeblogicEjbXmlPluginTestCase extends
AbstractXMLGeneratingPluginTestCase {
/*
* @see org.generama.tests.AbstractPluginTestCase#createMetadataProvider()
*/
protected MetadataProvider createMetadataProvider() throws IOException {
String basedir = System.getProperty("xdoclet.weblogic.home");
assertNotNull(basedir);
URL reader = new File(basedir +
"/../testapp-ejb/src/main/java").toURL();
return new QDoxMetadataProvider(new File(reader.getPath()));
}
/**
* Subclasses should return the EJB version for which the test should be
run.
*
* @return One of the versions available in WeblogicVersion
*/
protected abstract String getWeblogicVersion();
/**
* Subclasses should return the EJB version for which the test should be
run.
*
* @return One of the versions available in EjbVersion
*/
protected abstract String getEjbVersion();
}
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits