[jboss-cvs] JBossAS SVN: r103820 - projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/annotations/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Apr 12 07:36:41 EDT 2010
Author: alesj
Date: 2010-04-12 07:36:40 -0400 (Mon, 12 Apr 2010)
New Revision: 103820
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/annotations/test/AbstractAnnotationsScanningUnitTest.java
Log:
Move assert into try/finally.
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/annotations/test/AbstractAnnotationsScanningUnitTest.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/annotations/test/AbstractAnnotationsScanningUnitTest.java 2010-04-12 11:30:30 UTC (rev 103819)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/annotations/test/AbstractAnnotationsScanningUnitTest.java 2010-04-12 11:36:40 UTC (rev 103820)
@@ -66,9 +66,10 @@
enableTrace("org.jboss.deployers");
DeploymentUnit unit = assertDeploy(ear);
- assertEar(unit);
try
{
+ assertEar(unit);
+
AnnotationRepository env = unit.getAttachment(AnnotationRepository.class);
assertNotNull(env);
Set<Element<Annotation, Class<?>>> annotations = env.classIsAnnotatedWith("org.jboss.test.deployers.vfs.annotations.support.MarkedAnnotation");
More information about the jboss-cvs-commits
mailing list