[webbeans-commits] Webbeans SVN: r3478 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Thu Aug 13 08:01:29 EDT 2009
Author: shane.bryzak at jboss.com
Date: 2009-08-13 08:01:28 -0400 (Thu, 13 Aug 2009)
New Revision: 3478
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise/EnterpriseBindingDefinitionTest.java
Log:
removed unnecessary assert
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise/EnterpriseBindingDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise/EnterpriseBindingDefinitionTest.java 2009-08-13 11:23:07 UTC (rev 3477)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise/EnterpriseBindingDefinitionTest.java 2009-08-13 12:01:28 UTC (rev 3478)
@@ -38,9 +38,7 @@
@SpecAssertion(section = "4.1", id = "ala")
public void testBindingNotDeclaredInheritedIsNotInherited() throws Exception
{
- Set<? extends Annotation> bindings = getBeans(SkinnyHairlessCatLocal.class).iterator().next().getBindings();
- assert annotationSetMatches(bindings, Any.class);
-
+ Set<? extends Annotation> bindings = getBeans(SkinnyHairlessCatLocal.class).iterator().next().getBindings();
assert getBeans(SkinnyHairlessCatLocal.class, new HairlessBinding()).size() == 0;
}
@@ -56,8 +54,7 @@
@SpecAssertion(section = "4.1", id = "apa")
public void testBindingNotDeclaredInheritedIsNotIndirectlyInherited()
{
- Set<? extends Annotation> bindings = getBeans(TameSkinnyHairlessCatLocal.class).iterator().next().getBindings();
- assert annotationSetMatches(bindings, Any.class);
+ Set<? extends Annotation> bindings = getBeans(TameSkinnyHairlessCatLocal.class).iterator().next().getBindings();
assert getBeans(TameSkinnyHairlessCatLocal.class, new HairlessBinding()).size() == 0;
}
}
More information about the weld-commits
mailing list