The default implementation here creates the expected runtime instances of classes in packages:
This class is extended by Spindle - the Eclipse Plugin for Tapestry @author GWL @since 1.0.9
348349350351352353354
/** * This constructor is a convienience used by some tests. */ public SpecificationParser(ClassResolver resolver) { this(resolver, new SpecFactory()); }
617618619620621622623
} public SpecificationParser(IResourceResolver resolver) { _resolver = resolver; setFactory(new SpecFactory()); }
472473474475476477478479480481482
public void testListenerBinding() throws Exception { Log log = newMock(Log.class); SpecificationParser parser = new SpecificationParser(new DefaultErrorHandler(), log, new DefaultClassResolver(), new SpecFactory()); parser.setBindingSource(newBindingSource()); Resource location = getSpecificationResourceLocation("ListenerBinding.page");
357358359360361362363
* This constructor is a convienience used by some tests. */ public SpecificationParser(ClassResolver resolver) { this(new DefaultErrorHandler(), LogFactory.getLog(SpecificationParser.class), resolver, new SpecFactory()); }
471472473474475476477478479480481
public void testListenerBinding() throws Exception { Log log = (Log) newMock(Log.class); SpecificationParser parser = new SpecificationParser(new DefaultErrorHandler(), log, new DefaultClassResolver(), new SpecFactory()); parser.setBindingSource(newBindingSource()); Resource location = getSpecificationResourceLocation("ListenerBinding.page");
352353354355356357358
618619620621622623624
576577578579580581582