use of org.grails.core.artefact.ControllerArtefactHandler in project grails-core by grails.
the class ControllerArtefactHandlerTests method testIsControllerClass.
public void testIsControllerClass() {
GroovyClassLoader gcl = new GroovyClassLoader();
Class<?> c = gcl.parseClass("class TestController { }\n");
ArtefactHandler handler = new ControllerArtefactHandler();
assertTrue(handler.isArtefact(c));
}
Aggregations