Author: pete.muir(a)jboss.org
Date: 2009-02-27 06:28:41 -0500 (Fri, 27 Feb 2009)
New Revision: 1735
Added:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Donkey.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/AbstractStable.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/LabradorKennel.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/RealizationTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Stable.java
Log:
WBTCK-21
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/AbstractStable.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/AbstractStable.java 2009-02-27
11:16:07 UTC (rev 1734)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/AbstractStable.java 2009-02-27
11:28:41 UTC (rev 1735)
@@ -2,9 +2,10 @@
import javax.inject.Produces;
+@AnotherDeploymentType
abstract class AbstractStable
{
- private @Produces @Cuddly Horse horse = new Horse();
+ private @Produces @Cuddly Donkey donkey = new Donkey();
}
Added:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Donkey.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Donkey.java
(rev 0)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Donkey.java 2009-02-27
11:28:41 UTC (rev 1735)
@@ -0,0 +1,6 @@
+package org.jboss.jsr299.tck.unit.inheritance.realization;
+
+class Donkey
+{
+
+}
Property changes on:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Donkey.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/LabradorKennel.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/LabradorKennel.java 2009-02-27
11:16:07 UTC (rev 1734)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/LabradorKennel.java 2009-02-27
11:28:41 UTC (rev 1735)
@@ -3,6 +3,7 @@
import javax.inject.Realizes;
@Realizes
+@FarmAnimalDeploymentType
class LabradorKennel extends AbstractKennel
{
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/RealizationTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/RealizationTest.java 2009-02-27
11:16:07 UTC (rev 1734)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/RealizationTest.java 2009-02-27
11:28:41 UTC (rev 1735)
@@ -115,13 +115,12 @@
assert annotationSetMatches(getCurrentManager().resolveByType(HorseDung.class,
SMELLY_LITERAL, TAME_LITERAL).iterator().next().getBindings(), Smelly.class, Tame.class);
}
- @Test(groups = "ri-broken")
+ @Test
@SpecAssertion(section = "4.4.1", id = "c")
public void testRealizedBeanWithProducerFieldHasSameStereotypes()
{
- // WBRI-148
- assert getCurrentManager().resolveByType(Horse.class).size() == 1;
- assert
getCurrentManager().resolveByType(Horse.class).iterator().next().getScopeType().equals(RequestScoped.class);
+ assert getCurrentManager().resolveByType(Donkey.class).size() == 1;
+ assert
getCurrentManager().resolveByType(Donkey.class).iterator().next().getScopeType().equals(RequestScoped.class);
}
@Test(groups = "stub")
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Stable.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Stable.java 2009-02-27
11:16:07 UTC (rev 1734)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/realization/Stable.java 2009-02-27
11:28:41 UTC (rev 1735)
@@ -2,7 +2,7 @@
import javax.inject.Realizes;
-@Realizes
+@Realizes @FarmAnimalDeploymentType
class Stable extends AbstractStable
{
Show replies by date