Return-Path: Delivered-To: apmail-incubator-bval-commits-archive@minotaur.apache.org Received: (qmail 94225 invoked from network); 6 Apr 2010 18:27:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 18:27:27 -0000 Received: (qmail 1847 invoked by uid 500); 6 Apr 2010 18:27:27 -0000 Delivered-To: apmail-incubator-bval-commits-archive@incubator.apache.org Received: (qmail 1820 invoked by uid 500); 6 Apr 2010 18:27:27 -0000 Mailing-List: contact bval-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bval-dev@incubator.apache.org Delivered-To: mailing list bval-commits@incubator.apache.org Received: (qmail 1813 invoked by uid 99); 6 Apr 2010 18:27:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 18:27:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 18:27:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 92C81238898B; Tue, 6 Apr 2010 18:27:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r931263 - /incubator/bval/sandbox/guice-integration/src/test/java/org/apache/bval/extentions/guice/GuiceAwareValidationTestCase.java Date: Tue, 06 Apr 2010 18:27:06 -0000 To: bval-commits@incubator.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100406182706.92C81238898B@eris.apache.org> Author: simonetripodi Date: Tue Apr 6 18:27:06 2010 New Revision: 931263 URL: http://svn.apache.org/viewvc?rev=931263&view=rev Log: fixed expected exception on AOP test Modified: incubator/bval/sandbox/guice-integration/src/test/java/org/apache/bval/extentions/guice/GuiceAwareValidationTestCase.java Modified: incubator/bval/sandbox/guice-integration/src/test/java/org/apache/bval/extentions/guice/GuiceAwareValidationTestCase.java URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/guice-integration/src/test/java/org/apache/bval/extentions/guice/GuiceAwareValidationTestCase.java?rev=931263&r1=931262&r2=931263&view=diff ============================================================================== --- incubator/bval/sandbox/guice-integration/src/test/java/org/apache/bval/extentions/guice/GuiceAwareValidationTestCase.java (original) +++ incubator/bval/sandbox/guice-integration/src/test/java/org/apache/bval/extentions/guice/GuiceAwareValidationTestCase.java Tue Apr 6 18:27:06 2010 @@ -19,6 +19,7 @@ package org.apache.bval.extentions.guice import java.util.Set; import javax.validation.ConstraintViolation; +import javax.validation.ConstraintViolationException; import javax.validation.Validator; import junit.framework.TestCase; @@ -73,7 +74,7 @@ public final class GuiceAwareValidationT try { this.dummyCountryDao.insertCountry(country); fail("javax.validation.ConstraintViolationException expected"); - } catch (Throwable t) { + } catch (ConstraintViolationException cve) { // do nothing } }