Package org.apache.tapestry.ioc

Examples of org.apache.tapestry.ioc.LogSource


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

        Log expected = LogFactory.getLog(clazz);
        LogSource logSource = new LogSourceImpl();
        Log actual = logSource.getLog(clazz);

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


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

        Log expected = LogFactory.getLog(name);
        LogSource logSource = new LogSourceImpl();
        Log actual = logSource.getLog(name);

        assertSame(actual, expected);

    }
View Full Code Here

TOP

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

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.