[webbeans-commits] Webbeans SVN: r1720 - in tck/trunk/impl/src/main/java/org/jboss/jsr299/tck: unit/context and 1 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Thu Feb 26 10:44:40 EST 2009
Author: pete.muir at jboss.org
Date: 2009-02-26 10:44:39 -0500 (Thu, 26 Feb 2009)
New Revision: 1720
Removed:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Animal.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/AnimalStereotype.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/AnotherDeploymentType.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/BlackWidow.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DaddyLongLegs.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DeadlyAnimal.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DeadlySpider.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DefangedTarantula.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/FunnelWeaver.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/HighestDeploymentType.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/LadybirdSpider.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderConsumer.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderProducer.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderProducer_Broken.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/OtherSpiderProducer.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/SpecializedTarantulaProducer.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Spider.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Tame.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Tarantula.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/TarantulaProducer.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/VibratingSpider.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/VibratingSpiderImpl_Broken.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/WolfSpider.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractDeclarativeTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/context/ContextTest.java
Log:
Clean up
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractDeclarativeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractDeclarativeTest.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractDeclarativeTest.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -30,7 +30,6 @@
private static final Class<?>[] EMPTY_CLASS_ARRAY = new Class<?>[0];
private static boolean inContainer = false;
- private static int numberOfTestsRunInContainer = 0;
public static boolean isInContainer()
{
@@ -185,10 +184,6 @@
@AfterSuite(alwaysRun=true)
public void afterSuite() throws Exception
{
- if (!isInContainer())
- {
- log.info("Ran " + numberOfTestsRunInContainer + " tests in the container");
- }
if (isSuiteDeployingTestsToContainer())
{
getCurrentConfiguration().getContainers().cleanup();
@@ -241,9 +236,9 @@
public void run(IHookCallBack callback, ITestResult testResult)
{
- if(isDeployToContainerNeeded())
+ if (artifact == null)
{
- numberOfTestsRunInContainer++;
+ log.warn("Non @Artifact-test for testcase " + testResult.getMethod());
}
if (deploymentException != null)
{
@@ -252,6 +247,10 @@
else if (!isDeployToContainerNeeded() && !skipTest)
{
callback.runTestMethod(testResult);
+ if (!getCurrentConfiguration().isStandalone())
+ {
+ log.warn("Running testcase locally " + testResult.getMethod());
+ }
}
else if (!skipTest)
{
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/context/ContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/context/ContextTest.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/context/ContextTest.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -10,12 +10,14 @@
import org.hibernate.tck.annotations.SpecAssertion;
import org.jboss.jsr299.tck.AbstractDeclarativeTest;
+import org.jboss.jsr299.tck.impl.packaging.Artifact;
import org.testng.annotations.Test;
/**
*
* Spec version: PRD2
*/
+ at Artifact
public class ContextTest extends AbstractDeclarativeTest
{
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Animal.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Animal.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Animal.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,6 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-interface Animal
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/AnimalStereotype.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/AnimalStereotype.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/AnimalStereotype.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,21 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.annotation.Stereotype;
-import javax.context.RequestScoped;
-
- at Stereotype(requiredTypes=Animal.class)
- at Target( { TYPE, METHOD, FIELD })
- at Retention(RUNTIME)
- at RequestScoped
- at interface AnimalStereotype
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/AnotherDeploymentType.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/AnotherDeploymentType.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/AnotherDeploymentType.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,21 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.inject.DeploymentType;
-
- at Target( { TYPE, METHOD, FIELD })
- at Retention(RUNTIME)
- at Documented
- at DeploymentType
- at interface AnotherDeploymentType
-{
-
-}
\ No newline at end of file
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/BlackWidow.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/BlackWidow.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/BlackWidow.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,10 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-class BlackWidow extends Spider implements DeadlySpider
-{
- public void bite()
- {
- // Test method used for proxy instances to force
- // creation of the instance.
- }
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DaddyLongLegs.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DaddyLongLegs.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DaddyLongLegs.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,7 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-
-class DaddyLongLegs extends Spider
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DeadlyAnimal.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DeadlyAnimal.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DeadlyAnimal.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,6 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-interface DeadlyAnimal
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DeadlySpider.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DeadlySpider.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DeadlySpider.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,6 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-interface DeadlySpider extends DeadlyAnimal
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DefangedTarantula.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DefangedTarantula.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/DefangedTarantula.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,7 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-
-class DefangedTarantula extends Tarantula
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/FunnelWeaver.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/FunnelWeaver.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/FunnelWeaver.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,6 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-class FunnelWeaver<T>
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/HighestDeploymentType.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/HighestDeploymentType.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/HighestDeploymentType.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,21 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.inject.DeploymentType;
-
- at Target( { TYPE, METHOD, FIELD })
- at Retention(RUNTIME)
- at Documented
- at DeploymentType
- at interface HighestDeploymentType
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/LadybirdSpider.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/LadybirdSpider.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/LadybirdSpider.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,14 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import javax.context.ApplicationScoped;
-
- at ApplicationScoped
-class LadybirdSpider extends Spider
-{
-
- public void spinWeb()
- {
-
- }
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderConsumer.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderConsumer.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderConsumer.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import java.io.Serializable;
-
-import javax.inject.Current;
-
-/**
- * Simple bean that has an injection point for a spider
- *
- * @author David Allen
- *
- */
-public class NullSpiderConsumer implements Serializable
-{
- private static final long serialVersionUID = 1L;
-
- @Current
- private BlackWidow injectedSpider;
-
- public BlackWidow getInjectedSpider()
- {
- return injectedSpider;
- }
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderProducer.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderProducer.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderProducer.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,34 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import javax.annotation.Named;
-import javax.inject.Produces;
-
-/**
- * Contains producer for Spider which always is a null value and
- * in Dependent scope
- *
- * @author David Allen
- *
- */
-public class NullSpiderProducer
-{
- @Produces @Named("blackWidow") public BlackWidow produceBlackWidow = null;
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderProducer_Broken.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderProducer_Broken.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/NullSpiderProducer_Broken.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import javax.annotation.Named;
-import javax.context.RequestScoped;
-import javax.inject.Produces;
-
-/**
- * Bean with a producer field that always returns null and is not
- * in Dependent context (the produced result)
- *
- * @author David Allen
- *
- */
-public class NullSpiderProducer_Broken
-{
- @Produces @RequestScoped @Named("blackWidow") public BlackWidow produceBlackWidow = null;
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/OtherSpiderProducer.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/OtherSpiderProducer.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/OtherSpiderProducer.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,38 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import javax.annotation.Named;
-import javax.inject.Produces;
-import javax.inject.Production;
-
-
- at AnotherDeploymentType
-class OtherSpiderProducer
-{
-
- private static Spider[] ALL_SPIDERS = { new Tarantula(), new LadybirdSpider(), new DaddyLongLegs() };
- @Produces public Spider[] getSpiders = ALL_SPIDERS;
-
- @Produces @Tame public Tarantula produceTameTarantula = new DefangedTarantula();
-
- @Produces public static Tarantula produceTarantula = new Tarantula();
-
- public static BlackWidow blackWidow = new BlackWidow();
- @Produces @Named("blackWidow") public BlackWidow produceBlackWidow = blackWidow;
-
- //@Produces @Named @RequestScoped public DaddyLongLegs produceDaddyLongLegs = new DaddyLongLegs();
-
- @Produces @Named @Production public LadybirdSpider getLadybirdSpider = new LadybirdSpider();
-
- @Produces @AnimalStereotype public WolfSpider produceWolfSpider = new WolfSpider();
-
- @Produces public Animal makeASpider = new WolfSpider();
-
- @Produces @Named("SpiderSize") public int getWolfSpiderSize = 4;
-
-
-
- @Produces public FunnelWeaver<Spider> getFunnelWeaverSpider = new FunnelWeaver<Spider>();
-
- @Produces public Spider getNullSpider = null;
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/SpecializedTarantulaProducer.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/SpecializedTarantulaProducer.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/SpecializedTarantulaProducer.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,36 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import javax.inject.Produces;
-import javax.inject.Specializes;
-
-/**
- * This bean contains a producer field and specializes another bean
- * which has the same producer field.
- *
- * @author David Allen
- *
- */
- at Specializes
- at HighestDeploymentType
-public class SpecializedTarantulaProducer extends TarantulaProducer
-{
- @Produces public Tarantula produceTarantula = new DefangedTarantula();
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Spider.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Spider.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Spider.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,13 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-class Spider implements Animal
-{
-
- private static final long serialVersionUID = 1L;
-
- public void layEggs()
- {
-
- }
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Tame.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Tame.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Tame.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,22 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.PARAMETER;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.inject.BindingType;
-
- at Target( { TYPE, METHOD, PARAMETER, FIELD })
- at Retention(RUNTIME)
- at Documented
- at BindingType
- at interface Tame
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Tarantula.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Tarantula.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/Tarantula.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,6 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-class Tarantula extends Spider implements DeadlySpider
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/TarantulaProducer.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/TarantulaProducer.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/TarantulaProducer.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,10 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import javax.inject.Produces;
-
- at AnotherDeploymentType
-class TarantulaProducer
-{
- @Produces public Tarantula produceTarantula = new Tarantula();
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/VibratingSpider.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/VibratingSpider.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/VibratingSpider.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,12 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import javax.ejb.Local;
-import javax.inject.Produces;
-
- at Local
-public interface VibratingSpider
-{
- @Produces public Integer numberOfEyes = 5;
-
- @Produces public Integer numberOfLegs = 8;
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/VibratingSpiderImpl_Broken.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/VibratingSpiderImpl_Broken.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/VibratingSpiderImpl_Broken.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,10 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-import javax.ejb.Stateless;
-import javax.inject.Produces;
-
- at Stateless
-public class VibratingSpiderImpl_Broken implements VibratingSpider
-{
- @Produces public Integer numberOfEggs = 5000;
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/WolfSpider.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/WolfSpider.java 2009-02-26 15:02:21 UTC (rev 1719)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/producer/field/WolfSpider.java 2009-02-26 15:44:39 UTC (rev 1720)
@@ -1,7 +0,0 @@
-package org.jboss.jsr299.tck.unit.implementation.producer.field;
-
-
-class WolfSpider implements Animal
-{
-
-}
More information about the weld-commits
mailing list