Examples of locateClassNames()


Examples of org.apache.tapestry.ioc.services.ClassNameLocator.locateClassNames()

    @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

Examples of org.apache.tapestry.ioc.services.ClassNameLocator.locateClassNames()

    @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

Examples of org.apache.tapestry.ioc.services.ClassNameLocator.locateClassNames()

    @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

Examples of org.apache.tapestry.ioc.services.ClassNameLocator.locateClassNames()

    @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

Examples of org.apache.tapestry5.ioc.services.ClassNameLocator.locateClassNames()

    @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

Examples of org.apache.tapestry5.ioc.services.ClassNameLocator.locateClassNames()

    @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

Examples of org.apache.tapestry5.ioc.services.ClassNameLocator.locateClassNames()

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

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

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

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

Examples of org.apache.tapestry5.ioc.services.ClassNameLocator.locateClassNames()

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

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

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

Examples of org.apache.tapestry5.ioc.services.ClassNameLocator.locateClassNames()

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

        Collection<String> names = locator
                .locateClassNames("javax.inject");

        // Assert a couple of the matched names
        assertInList(
                names,
View Full Code Here

Examples of org.apache.tapestry5.ioc.services.ClassNameLocator.locateClassNames()

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

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

        assertInList(
                names,
                "org.slf4j",
                "spi.MDCAdapter");
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.