LinuxSyslog3164ParserBase extends LinuxSyslogLineParser { public static DateTimeZone getInputTimeZone() { return INPUT_TIME_ZONE; } LinuxSyslog3164ParserBase(LinuxAdeExtProperties linuxAdeExtProperties);  LinuxSyslog3164ParserBase(); static void setAdeExtProperties(LinuxAdeExtProperties linuxAdeExtProperties); static int getAdeExtPropertiesYear(); static DateTimeZone getInputTimeZone(); static DateTimeZone getOutputTimeZone(); @Override final Date toDate(String source, String s); final DateTime getLastDeterminedDateTime(); static final String RFC3164_TIMESTAMP; }
@Test public void testLinuxSyslog3164ParserBaseConstructorWithNullInput() throws AdeException { TimeZone tz= ade.getAde().getConfigProperties().getInputTimeZone(); LinuxSyslog3164ParserBase pid = new LinuxSyslog3164ParserWithCompAndPid(null); assertEquals("Making a new constructor wiht null value so LinuxAdeExtProperties is made. It sets the timezone" ,DateTimeZone.forOffsetMillis(tz.getRawOffset()),pid.getInputTimeZone()); }