Package org.jpos.util

Examples of org.jpos.util.Log


    private void initLogger()
    {
        Logger logger = new Logger();
        logger.addListener(new SimpleLogListener());
        log = new Log(logger, "SM Test");
    }
View Full Code Here


        assertNull("result", result);
    }

    @Test
    public void testGetLog() throws Throwable {
        Log result = m_q2.getLog();
        assertEquals("result.getRealm()", "Q2.system", result.getRealm());
    }
View Full Code Here

    public void testGetLog2() throws Throwable {
        String[] args = new String[2];
        args[0] = "testString";
        args[1] = "testString";
        m_q2 = new Q2(args);
        Log log = m_q2.getLog();
        Log result = m_q2.getLog();
        assertSame("result", log, result);
    }
View Full Code Here

TOP

Related Classes of org.jpos.util.Log

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.