Package org.jwall.web.audit.rules.operators

Examples of org.jwall.web.audit.rules.operators.ConditionIN.matches()


  }

  @Test
  public void testMatchesStringString() throws Exception {
    ConditionIN in = new ConditionIN( AuditEvent.SEVERITY, "3,4" );
    Assert.assertTrue( in.matches( "3,*jwall.org", "www.jwall.org" ) );
  }


  @Test
  public void testInvertedMatche() throws Exception {
View Full Code Here



  @Test
  public void testInvertedMatche() throws Exception {
    ConditionIN in = new ConditionIN( AuditEvent.SEVERITY, "3,4" );
    Boolean b =  in.matches( "3,!*jwall.org", "www.jwall.org" );
    Assert.assertFalse( b );
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.