Package jodd.vtor.data

Examples of jodd.vtor.data.Too


  @Test
  public void testMinusPlusProfiles() {
    Vtor vtor = new Vtor();
    vtor.setValidateAllProfilesByDefault(false);
    vtor.useProfile("default");
    Too too = new Too();

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


  @Test
  public void testAsJoyAction() {
    Vtor vtor = new Vtor();
    vtor.useProfiles(Vtor.DEFAULT_PROFILE, "register");
    vtor.validate(new Too());
    List<Violation> violations = vtor.getViolations();

    assertNull(violations);
  }
View Full Code Here

TOP

Related Classes of jodd.vtor.data.Too

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.