nl.hsac.fitnesse.fixture.fit.TemplateBasedMapColumnFixture Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hsac-fitnesse-fixtures Show documentation
Show all versions of hsac-fitnesse-fixtures Show documentation
Fixtures to assist in testing via FitNesse
package nl.hsac.fitnesse.fixture.fit;
/**
* Base class for fixtures that call a service and then another based on Freemarker templates.
* @param class expected as response to original call.
* @param class expected as response to check call (if any).
*/
public abstract class TemplateBasedMapColumnFixture extends ServiceAndCheckMapColumnFixture {
private String templateName;
private String checkTemplateName;
public TemplateBasedMapColumnFixture(Class extends Response> aResponseClass,
Class extends CheckResponse> aCheckResponseClass) {
super(aResponseClass, aCheckResponseClass);
}
/**
* @return the templateName
*/
public String getTemplateName() {
return templateName;
}
/**
* @param aTemplateName the templateName to set
*/
public void setTemplateName(String aTemplateName) {
templateName = aTemplateName;
}
/**
* @return the checkTemplateName
*/
public String getCheckTemplateName() {
return checkTemplateName;
}
/**
* @param aCheckTemplateName the checkTemplateName to set
*/
public void setCheckTemplateName(String aCheckTemplateName) {
checkTemplateName = aCheckTemplateName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy