164165166167168169170
private void initLogger() { Logger logger = new Logger(); logger.addListener(new SimpleLogListener()); log = new Log(logger, "SM Test"); }
168169170171172173174175
assertNull("result", result); } @Test public void testGetLog() throws Throwable { Log result = m_q2.getLog(); assertEquals("result.getRealm()", "Q2.system", result.getRealm()); }
178179180181182183184185186
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); }