[weld-commits] Weld SVN: r5526 - in cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests: lookup/typesafe/resolution and 1 other directory.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Wed Jan 20 08:49:34 EST 2010


Author: pete.muir at jboss.org
Date: 2010-01-20 08:49:32 -0500 (Wed, 20 Jan 2010)
New Revision: 5526

Modified:
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/FunnelWeaver.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/SpiderProducer.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/AnimalFarmer.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Cat.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/DomesticCat.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Emu.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Farmer.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/FlightlessBird.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Lion.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/ScottishFishFarmer.java
Log:
backport CDITCK-84

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/FunnelWeaver.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/FunnelWeaver.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/FunnelWeaver.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -1,6 +1,14 @@
 package org.jboss.jsr299.tck.tests.implementation.producer.method.definition;
 
+import javax.enterprise.inject.Alternative;
+
 class FunnelWeaver<T>
 {
+   String name;
+
+   FunnelWeaver(String name)
+   {
+      this.name = name;
+   }
    
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/SpiderProducer.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/SpiderProducer.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/SpiderProducer.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -28,7 +28,7 @@
    
    @Produces public FunnelWeaver<Spider> getFunnelWeaverSpider()
    {
-      return new FunnelWeaver<Spider>();
+      return new FunnelWeaver<Spider>("Weaver");
    }
 
    @Produces public Animal makeASpider()

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/AnimalFarmer.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/AnimalFarmer.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/AnimalFarmer.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -2,5 +2,8 @@
 
 class AnimalFarmer extends Farmer<Animal>
 {
-   
+   AnimalFarmer()
+   {
+      super("AnimalFarmer");
+   }
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Cat.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Cat.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Cat.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -2,5 +2,10 @@
 
 public class Cat<T>
 {
+   String name;
 
+   public Cat(String name)
+   {
+      this.name = name;
+   }
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/DomesticCat.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/DomesticCat.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/DomesticCat.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -6,7 +6,7 @@
    
    public DomesticCat(String name)
    {
-      // TODO Auto-generated constructor stub
+      super(name);
    }
 
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Emu.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Emu.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Emu.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -5,5 +5,8 @@
 @Typed(FlightlessBird.class)
 public class Emu extends FlightlessBird<Australian>
 {
-
+   public Emu()
+   {
+      super("Emu");
+   }
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Farmer.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Farmer.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Farmer.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -2,5 +2,11 @@
 
 class Farmer<T>
 {
+   String name;
 
+   Farmer(String name)
+   {
+      this.name = name;
+   }
+   
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/FlightlessBird.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/FlightlessBird.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/FlightlessBird.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -3,4 +3,11 @@
 public class FlightlessBird<T> 
 {
 
+   String name;
+
+   public FlightlessBird(String name)
+   {
+      this.name = name;
+   }
+   
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Lion.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Lion.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Lion.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -5,7 +5,7 @@
    
    public Lion(String name)
    {
-      // TODO Auto-generated constructor stub
+      super(name);
    }
 
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/ScottishFishFarmer.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/ScottishFishFarmer.java	2010-01-20 13:48:06 UTC (rev 5525)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/ScottishFishFarmer.java	2010-01-20 13:49:32 UTC (rev 5526)
@@ -2,5 +2,8 @@
 
 class ScottishFishFarmer extends Farmer<ScottishFish>
 {
-
+   ScottishFishFarmer()
+   {
+      super("ScottishFishFarmer");
+   }
 }



More information about the weld-commits mailing list