blob: 44a72a1b6fea6b7ed7e54296b0b1f4c01139f3c5 [file] [log] [blame]
package freemarker.ext.beans;
import freemarker.template.TemplateHashModel;
import freemarker.template.TemplateModelException;
public class PrallelStaticIntrospectionTest extends AbstractParallelIntrospectionTest {
private static final String STATICS_CLASS_CONTAINER_CLASS_NAME
= ManyStaticsOfDifferentClasses.class.getName();
public PrallelStaticIntrospectionTest(String name) {
super(name);
}
public static void main(String[] args) {
new PrallelStaticIntrospectionTest("almostForever")
.testReliability(Integer.MAX_VALUE);
}
protected TemplateHashModel getWrappedEntity(int clIdx)
throws TemplateModelException {
return (TemplateHashModel) getBeansWrapper().getStaticModels().get(
STATICS_CLASS_CONTAINER_CLASS_NAME + "$C"
+ clIdx);
}
}