Package org.hibernate.beanvalidation.tck.tests.methodvalidation.service

Examples of org.hibernate.beanvalidation.tck.tests.methodvalidation.service.OrderService


  @SpecAssertion(section = "4.6.2", id = "a")
  public void methodParameterValidationTargetsParameterCrossParameterAndCascadedConstraints()
      throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        int.class
View Full Code Here


  @Test
  @SpecAssertion(section = "4.6.2", id = "a")
  public void methodParameterValidationIsAppliedGroupWise() throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        Integer.class
View Full Code Here

  @Test
  @SpecAssertion(section = "4.6.2", id = "a")
  public void methodParameterValidationPerformsGroupConversion() throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        long.class
View Full Code Here

  @Test
  @SpecAssertion(section = "4.6.2", id = "a")
  public void methodParameterValidationValidatesEachConstraintOnlyOnce() throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        short.class
View Full Code Here

  @Test
  @SpecAssertion(section = "4.6.2", id = "a")
  public void methodParameterValidationUsingSequence() throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        byte.class
View Full Code Here

  @SpecAssertion(section = "4.6.2", id = "c")
  public void methodReturnValueValidationTargetsReturnValueAndCascadedConstraints()
      throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        int.class
View Full Code Here

  @Test
  @SpecAssertion(section = "4.6.2", id = "c")
  public void methodReturnValueValidationIsAppliedGroupWise() throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        Integer.class
View Full Code Here

  @Test
  @SpecAssertion(section = "4.6.2", id = "c")
  public void methodReturnValueValidationPerformsGroupConversion() throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        long.class
View Full Code Here

  @Test
  @SpecAssertion(section = "4.6.2", id = "c")
  public void methodReturnValueValidationValidatesEachConstraintOnlyOnce() throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        short.class
View Full Code Here

  @Test
  @SpecAssertion(section = "4.6.2", id = "c")
  public void methodReturnValueValidationUsingSequence() throws Exception {
    String methodName = "placeOrder";

    Object object = new OrderService();
    Method method = OrderService.class.getMethod(
        methodName,
        String.class,
        Item.class,
        byte.class
View Full Code Here

TOP

Related Classes of org.hibernate.beanvalidation.tck.tests.methodvalidation.service.OrderService

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.