Package org.apache.tapestry.ioc

Examples of org.apache.tapestry.ioc.Resource.forFile()


    @Test
    public void for_file_same_resource() throws Exception
    {
        Resource r = new ClasspathResource(PATH);

        assertSame(r.forFile("../util/resource.txt"), r);
    }

    @Test
    public void for_file_in_parent_folder() throws Exception
    {
View Full Code Here


    @Test
    public void for_file_same_resource() throws Exception
    {
        Resource r = new ClasspathResource(PATH);

        assertSame(r.forFile("../util/resource.txt"), r);
    }

    @Test
    public void for_file_in_parent_folder() throws Exception
    {
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.