@Test @Disabled("test causes problems, closes stdout") public void testLogRotateThrowsNullPointerException() throws Throwable { RotateLogListener rotateLogListener = new RotateLogListener(); try { rotateLogListener.logRotate(); fail("Expected NullPointerException to be thrown"); } catch (NullPointerException ex) { assertNull(rotateLogListener.f, "rotateLogListener.f"); assertNull(rotateLogListener.p, "rotateLogListener.p"); } }
public void logRotate () throws IOException { logRotate(false); }
RotateLogListener extends SimpleLogListener implements Configurable, Destroyable { public void logRotate () throws IOException { logRotate(false); } }
RotateLogListener extends SimpleLogListener implements Configurable, Destroyable { public void logRotate () throws IOException { logRotate(false); } RotateLogListener(); }
RotateLogListener extends SimpleLogListener implements Configurable, Destroyable { public void logRotate () throws IOException { logRotate(false); } RotateLogListener(); void setConfiguration(Configuration cfg); synchronized LogEvent log(LogEvent ev); void logRotate(); synchronized void logRotate(boolean isStartup); void destroy(); }
RotateLogListener extends SimpleLogListener implements Configurable, Destroyable { public void logRotate () throws IOException { logRotate(false); } RotateLogListener(); void setConfiguration(Configuration cfg); synchronized LogEvent log(LogEvent ev); void logRotate(); synchronized void logRotate(boolean isStartup); void destroy(); static final int CHECK_INTERVAL; static final long DEFAULT_MAXSIZE; }