Package jodd.vtor.data

Examples of jodd.vtor.data.Zoo


  @Test
  public void testProfiles() {
    Vtor vtor = new Vtor();
    vtor.setValidateAllProfilesByDefault(true);
    Zoo zoo = new Zoo();

    vtor.validate(zoo);
    List<Violation> vlist = vtor.getViolations();
    assertEquals(3, vlist.size());
View Full Code Here


  @Test
  public void testDefaultProfiles() {
    Vtor vtor = new Vtor();
    vtor.setValidateAllProfilesByDefault(false);
    Zoo zoo = new Zoo();

    vtor.validate(zoo);
    List<Violation> vlist = vtor.getViolations();
    assertEquals(1, vlist.size());
View Full Code Here

TOP

Related Classes of jodd.vtor.data.Zoo

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.