Examples of AssetSpecification


Examples of org.apache.tapestry.spec.AssetSpecification

@Test
public class InjectAssetWorkerTest extends BaseEnhancementTestCase
{
    private IComponentSpecification newSpec(String assetName, String propertyName, Location location)
    {
        IAssetSpecification as = new AssetSpecification();
        as.setPropertyName(propertyName);
        as.setLocation(location);

        IComponentSpecification spec = newSpec();

        expect(spec.getAssetNames()).andReturn(Collections.singletonList(assetName));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.