![JAR search and dependency download from the Maven repository](/logo.png)
org.alfresco.mock.test.ws.AbstractWSForm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alfresco-tests Show documentation
Show all versions of alfresco-tests Show documentation
This is a jar project based on mock classes to test fastly the alfresco applications
The newest version!
package org.alfresco.mock.test.ws;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import org.alfresco.mock.test.AbstractForm;
import org.junit.Before;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.extensions.webscripts.AbstractWebScript;
import org.springframework.extensions.webscripts.Container;
import org.springframework.extensions.webscripts.Description;
public abstract class AbstractWSForm extends AbstractForm {
@Autowired
private Container container;
@Autowired
private Description description;
protected DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmm");
protected abstract AbstractWebScript getAbstractWebScript();
@Before
public void init() {
super.init();
getAbstractWebScript().init(container, description);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy