Author: shane.bryzak(a)jboss.com
Date: 2009-03-16 02:58:11 -0400 (Mon, 16 Mar 2009)
New Revision: 2025
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/stereotype/StereotypeDefinitionTest.java
Log:
implemented 2.7.c
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/stereotype/StereotypeDefinitionTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/stereotype/StereotypeDefinitionTest.java 2009-03-16
05:57:51 UTC (rev 2024)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/stereotype/StereotypeDefinitionTest.java 2009-03-16
06:58:11 UTC (rev 2025)
@@ -78,11 +78,12 @@
assert false;
}
- @Test(groups = "stub")
+ @Test
@SpecAssertion(section = "2.7", id = "c")
public void testOneStereotype()
{
- assert false;
+ Bean<LongHairedDog> bean =
getCurrentManager().resolveByType(LongHairedDog.class).iterator().next();
+ assert bean.getScopeType().equals(RequestScoped.class);
}
@Test
@@ -123,7 +124,7 @@
{
assert false;
- }
+ }
@Test
@SpecAssertions( { @SpecAssertion(section = "2.7.1.4", id = "b"),
Show replies by date