Package org.jwall.web.audit

Examples of org.jwall.web.audit.AuditEvent


    ListIterator<ScriptEvent> it = new ListIteratorImpl(eventList);

    ScriptEvent evt = it.next();
    Assert.assertNotNull(evt);

    AuditEvent first = database.getRealList().get(0);
    Assert.assertEquals(first.get(ModSecurity.TX_ID),
        evt.get(ModSecurity.TX_ID));

    Assert.assertEquals(1, it.nextIndex());
  }
View Full Code Here


    ListIterator<ScriptEvent> it = new ListIteratorImpl(eventList);

    ScriptEvent evt = it.next();
    Assert.assertNotNull(evt);

    AuditEvent first = database.getRealList().get(0);

    it.next();
    it.previous();
    evt = it.previous();
    Assert.assertEquals(first.get(ModSecurity.TX_ID),
        evt.get(ModSecurity.TX_ID));
  }
View Full Code Here

    ListIterator<ScriptEvent> it = new ListIteratorImpl(eventList);

    ScriptEvent evt = it.next();
    Assert.assertNotNull(evt);

    AuditEvent first = database.getRealList().get(0);
    Assert.assertEquals(first.get(ModSecurity.TX_ID),
        evt.get(ModSecurity.TX_ID));

    Assert.assertEquals(0, it.previousIndex());
  }
View Full Code Here

TOP

Related Classes of org.jwall.web.audit.AuditEvent

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.