Package org.apache.tapestry.ioc.services

Examples of org.apache.tapestry.ioc.services.ClassNameLocator


     * a JAR on the classpath.
     */
    @Test
    public void classes_in_jar_file()
    {
        ClassNameLocator locator = new ClassNameLocatorImpl();

        Collection<String> names = locator
                .locateClassNames("javassist.util");

        assertInList(
                names,
                "javassist.util",
View Full Code Here


    }

    @Test
    public void classes_in_subpackage_in_jar_file()
    {
        ClassNameLocator locator = new ClassNameLocatorImpl();

        Collection<String> names = locator.locateClassNames("javassist.util");

        assertInList(
                names,
                "javassist.util",
                "proxy.ProxyFactory");
View Full Code Here

     */

    @Test
    public void classes_in_local_folders()
    {
        ClassNameLocator locator = new ClassNameLocatorImpl();

        Collection<String> names = locator
                .locateClassNames("org.apache.tapestry.ioc.services");

        assertInList(names, "org.apache.tapestry.ioc.services", "SymbolSource", "TapestryIOCModule");

        assertNotInList(names, "org.apache.tapestry.ioc.services", "TapestryIOCModule$1");
View Full Code Here

    }

    @Test
    public void classes_in_subpackages_in_local_folders()
    {
        ClassNameLocator locator = new ClassNameLocatorImpl();

        Collection<String> names = locator.locateClassNames("org.apache.tapestry");

        assertInList(
                names,
                "org.apache.tapestry",
                "ioc.Orderable",
View Full Code Here

TOP

Related Classes of org.apache.tapestry.ioc.services.ClassNameLocator

Copyright © 2018 www.massapicom. 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.