Package org.apache.tapestry.ioc

Examples of org.apache.tapestry.ioc.LoggerSource


    public void get_by_class()
    {
        Class clazz = getClass();

        Logger expected = LoggerFactory.getLogger(clazz);
        LoggerSource logSource = new LoggerSourceImpl();
        Logger actual = logSource.getLogger(clazz);

        assertSame(actual, expected);
    }
View Full Code Here


    public void get_by_name()
    {
        String name = "foo.Bar";

        Logger expected = LoggerFactory.getLogger(name);
        LoggerSource logSource = new LoggerSourceImpl();
        Logger actual = logSource.getLogger(name);

        assertSame(actual, expected);

    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.ioc.LoggerSource

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.