package org.marketcetera.core;
import junit.framework.Test;
import junit.framework.TestCase;
import org.marketcetera.util.log.SLF4JLoggerProxy;
/**
* @author Toli Kuznets
* @version $Id: LoggerStartupTest.java 16841 2014-02-20 19:59:04Z colin $
*/
@ClassVersion("$Id: LoggerStartupTest.java 16841 2014-02-20 19:59:04Z colin $") //$NON-NLS-1$
public class LoggerStartupTest extends TestCase {
public LoggerStartupTest(String inName) {
super(inName);
}
public static Test suite() {
return new MarketceteraTestSuite(LoggerStartupTest.class);
}
/** This is a dummy test, mostly for visual checking of whether or not
* the logger is initialized correctly.
* @throws Exception
*/
public void testLogSomething() throws Exception {
new ApplicationBase();
SLF4JLoggerProxy.info(this, "info message coming through"); //$NON-NLS-1$
SLF4JLoggerProxy.error(this, "not a real error: testing erro message coming through"); //$NON-NLS-1$
}
}