assertTrue("Couldn't retrieve correct log confirguration data from database.", !logconf.getLogEvent(LogEntry.EVENT_INFO_DATABASE).booleanValue()); assertTrue("Couldn't retrieve correct log confirguration data from database.", logconf.getLogEvent(LogEntry.EVENT_ERROR_DATABASE).booleanValue());
assertTrue("Couldn't retrieve correct log confirguration data from database.", !logconf2.getLogEvent(LogEntry.EVENT_INFO_DATABASE).booleanValue()); assertTrue("Couldn't retrieve correct log confirguration data from database.", logconf2.getLogEvent(LogEntry.EVENT_ERROR_DATABASE).booleanValue());
    public void test01AddLogConfiguration() throws Exception {        log.debug(">test01AddLogConfiguration()");        LogConfiguration logconf = new LogConfiguration();        logconf.setLogEvent(LogEntry.EVENT_INFO_DATABASE, false);        logconf.setLogEvent(LogEntry.EVENT_ERROR_DATABASE, true);        cacheAdmin.saveLogConfiguration(admin, "CN=TEST".hashCode(), logconf);        LogConfiguration logconf2 = cacheAdmin.loadLogConfiguration("CN=TEST".hashCode());        assertTrue("Couldn't retrieve correct log confirguration data from database.", !logconf.getLogEvent(LogEntry.EVENT_INFO_DATABASE).booleanValue());        assertTrue("Couldn't retrieve correct log confirguration data from database.", logconf.getLogEvent(LogEntry.EVENT_ERROR_DATABASE).booleanValue());        log.debug("<test01AddLogConfiguration()");    }