You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by li...@apache.org on 2010/08/12 21:44:09 UTC

svn commit: r984929 - in /geronimo/tck/branches/3.0/atinject-tck-runner: ./ src/ src/test/ src/test/java/ src/test/java/org/ src/test/java/org/apache/ src/test/java/org/apache/webbeans/ src/test/java/org/apache/webbeans/atinject/ src/test/java/org/apac...

Author: linsun
Date: Thu Aug 12 19:44:09 2010
New Revision: 984929

URL: http://svn.apache.org/viewvc?rev=984929&view=rev
Log:
adding atinject tck, currently configured to run with openwebean and openejb-core in a standalone container

Added:
    geronimo/tck/branches/3.0/atinject-tck-runner/
    geronimo/tck/branches/3.0/atinject-tck-runner/README.TXT   (with props)
    geronimo/tck/branches/3.0/atinject-tck-runner/pom.xml   (with props)
    geronimo/tck/branches/3.0/atinject-tck-runner/src/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/OpenWebBeansAtInjectTck.java   (with props)
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/AtInjectContainer.java   (with props)
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/DriverBinding.java   (with props)
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpareBinding.java   (with props)
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java   (with props)
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/
    geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/openwebbeans.properties   (with props)

Added: geronimo/tck/branches/3.0/atinject-tck-runner/README.TXT
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/atinject-tck-runner/README.TXT?rev=984929&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/atinject-tck-runner/README.TXT (added)
+++ geronimo/tck/branches/3.0/atinject-tck-runner/README.TXT Thu Aug 12 19:44:09 2010
@@ -0,0 +1,13 @@
+Atinject tck runner is copied from open web bean atinject-tck project with some modification in pom.xml.
+
+The parent of the pom is set to open web bean so we don't need to maintain versions/dependencies ourselves.
+
+They are junit test cases with a standalone test container.
+
+Running the TCK
+===============
+
+Execute:
+
+mvn test
+

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/atinject-tck-runner/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/atinject-tck-runner/pom.xml?rev=984929&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/atinject-tck-runner/pom.xml (added)
+++ geronimo/tck/branches/3.0/atinject-tck-runner/pom.xml Thu Aug 12 19:44:09 2010
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+	license agreements. See the NOTICE file distributed with this work for additional 
+	information regarding copyright ownership. The ASF licenses this file to 
+	you 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. -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.geronimo</groupId>
+        <artifactId>geronimo</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+	<artifactId>atinject-tck</artifactId>
+	<version> 1.0.0-SNAPSHOT</version>
+	<name>Apache OpenWebBeans :: OpenWebBeans JSR-330 TCK</name>
+	<packaging>jar</packaging>
+	<description>JSR-330 TCK Suite</description>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<configuration>
+					<includes>
+						<include>**/OpenWebBeansAtInjectTck.java</include>
+					</includes>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.openejb</groupId>
+                <artifactId>openejb-core</artifactId>
+                <version>${openejbVersion}</version>
+                <exclusions>
+                    <exclusion>
+                        <groupId>org.apache.activemq</groupId>
+                        <artifactId>activemq-ra</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.apache.activemq</groupId>
+                        <artifactId>activemq-core</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.springframework</groupId>
+                        <artifactId>spring</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.quartz-scheduler</groupId>
+                        <artifactId>quartz</artifactId>
+                    </exclusion>
+                </exclusions>
+		</dependency>
+        </dependencies>
+    </dependencyManagement>
+
+
+	<dependencies>
+		<dependency>
+			<groupId>javax.inject</groupId>
+			<artifactId>javax.inject-tck</artifactId>
+			<version>1</version>
+			<scope>test</scope>
+			<exclusions>
+				<exclusion>
+					<groupId>javax.inject</groupId>
+					<artifactId>javax.inject</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-atinject_1.0_spec</artifactId>
+			<scope>test</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.openwebbeans</groupId>
+			<artifactId>openwebbeans-porting</artifactId>
+                        <version> 1.0.0-SNAPSHOT</version>
+			<scope>test</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+                        <scope>test</scope>
+		</dependency>
+		
+		<dependency>
+			<groupId>org.apache.openejb</groupId>
+			<artifactId>openejb-core</artifactId>
+		</dependency>
+		
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-validation_1.0_spec</artifactId>
+		</dependency>
+
+
+	</dependencies>
+</project>

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/OpenWebBeansAtInjectTck.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/OpenWebBeansAtInjectTck.java?rev=984929&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/OpenWebBeansAtInjectTck.java (added)
+++ geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/OpenWebBeansAtInjectTck.java Thu Aug 12 19:44:09 2010
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.webbeans.atinject.tck;
+
+import org.apache.webbeans.atinject.tck.container.AtInjectContainer;
+
+import junit.framework.Test;
+
+public class OpenWebBeansAtInjectTck
+{
+    public static Test suite()
+    {
+        return new AtInjectContainer().start();
+    }
+
+}

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/OpenWebBeansAtInjectTck.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/OpenWebBeansAtInjectTck.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/OpenWebBeansAtInjectTck.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/AtInjectContainer.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/AtInjectContainer.java?rev=984929&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/AtInjectContainer.java (added)
+++ geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/AtInjectContainer.java Thu Aug 12 19:44:09 2010
@@ -0,0 +1,95 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.webbeans.atinject.tck.container;
+
+import java.lang.annotation.Annotation;
+import java.util.HashSet;
+import java.util.Set;
+
+import javax.enterprise.inject.spi.Bean;
+import javax.enterprise.inject.spi.BeanManager;
+
+import junit.framework.Test;
+
+import org.apache.webbeans.atinject.tck.specific.SpecificProducer;
+import org.apache.webbeans.test.tck.StandaloneContainersImpl;
+import org.atinject.tck.Tck;
+import org.atinject.tck.auto.Car;
+import org.atinject.tck.auto.Convertible;
+import org.atinject.tck.auto.FuelTank;
+import org.atinject.tck.auto.Seat;
+import org.atinject.tck.auto.Tire;
+import org.atinject.tck.auto.V8Engine;
+import org.atinject.tck.auto.accessories.Cupholder;
+import org.jboss.testharness.api.DeploymentException;
+
+public class AtInjectContainer extends StandaloneContainersImpl
+{ 
+    private static Set<Class<?>> deploymentClasses = null;
+    
+    static
+    {
+        deploymentClasses = new HashSet<Class<?>>();
+        deploymentClasses.add(Convertible.class);
+        deploymentClasses.add(Seat.class);
+        deploymentClasses.add(Tire.class);
+        deploymentClasses.add(V8Engine.class);
+        deploymentClasses.add(Cupholder.class);
+        deploymentClasses.add(FuelTank.class);
+        
+        //Adding our special producer
+        deploymentClasses.add(SpecificProducer.class);
+        
+    }
+    
+    public AtInjectContainer()
+    {
+        
+    }
+    
+    public Test start()
+    {
+        try
+        {
+            deploy(deploymentClasses);
+            
+            BeanManager manager = getBeanManager(); 
+            Set<Bean<?>> beans = manager.getBeans(Car.class, new Annotation[0]);
+            Bean<?> carBean = beans.iterator().next();
+            
+            Car car = (Car)manager.getReference(carBean , Car.class , manager.createCreationalContext(carBean));
+            
+            return Tck.testsFor(car, false, true);
+            
+        }catch(DeploymentException e)
+        {
+            e.printStackTrace();
+        }
+        
+        return null;
+    }
+    
+    
+    public void stop()
+    {
+        undeploy();            
+
+    }
+    
+}

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/AtInjectContainer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/AtInjectContainer.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/container/AtInjectContainer.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/DriverBinding.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/DriverBinding.java?rev=984929&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/DriverBinding.java (added)
+++ geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/DriverBinding.java Thu Aug 12 19:44:09 2010
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.webbeans.atinject.tck.specific;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import javax.inject.Qualifier;
+
+
+@Qualifier
+@Retention(RetentionPolicy.RUNTIME)
+@Target( { ElementType.FIELD, ElementType.METHOD, ElementType.TYPE, ElementType.PARAMETER })
+public @interface DriverBinding 
+{
+
+}

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/DriverBinding.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/DriverBinding.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/DriverBinding.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpareBinding.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpareBinding.java?rev=984929&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpareBinding.java (added)
+++ geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpareBinding.java Thu Aug 12 19:44:09 2010
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.webbeans.atinject.tck.specific;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import javax.inject.Qualifier;
+
+
+@Qualifier
+@Retention(RetentionPolicy.RUNTIME)
+@Target( { ElementType.FIELD, ElementType.METHOD, ElementType.TYPE, ElementType.PARAMETER })
+public @interface SpareBinding 
+{
+
+}

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpareBinding.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpareBinding.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpareBinding.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java?rev=984929&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java (added)
+++ geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java Thu Aug 12 19:44:09 2010
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.apache.webbeans.atinject.tck.specific;
+
+import javax.enterprise.inject.Typed;
+import javax.enterprise.inject.Default;
+import javax.enterprise.inject.New;
+import javax.enterprise.inject.Produces;
+import javax.inject.Named;
+
+import org.atinject.tck.auto.Drivers;
+import org.atinject.tck.auto.DriversSeat;
+import org.atinject.tck.auto.Seat;
+import org.atinject.tck.auto.accessories.SpareTire;
+
+
+public class SpecificProducer
+{
+    public SpecificProducer()
+    {
+        
+    }
+    
+    @Produces @Drivers
+    public Seat produceDrivers(@New DriversSeat seat)
+    {
+        return seat;
+    }
+    
+    
+    @Produces @DriverBinding @Typed(value={DriversSeat.class})
+    public DriversSeat produceDriverSeat(@New DriversSeat seat)
+    {
+        return seat;
+    }
+    
+    
+    @Produces @Named("spare") @SpareBinding
+    public SpareTire produceSpare(@New SpareTire tire)
+    {
+        return tire;
+    }
+    
+    @Produces @Default @Typed(value={SpareTire.class})
+    public SpareTire produceSpareTire(@New SpareTire tire)
+    {
+        return tire;
+    }
+    
+}

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/openwebbeans.properties?rev=984929&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/openwebbeans.properties (added)
+++ geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/openwebbeans.properties Thu Aug 12 19:44:09 2010
@@ -0,0 +1,39 @@
+#Licensed to the Apache Software Foundation (ASF) under one
+#or more contributor license agreements.  See the NOTICE file
+#distributed with this work for additional information
+#regarding copyright ownership.  The ASF licenses this file
+#to you 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.
+
+#---------------------------------------------------------------
+# The default configuration for OpenWebBeans
+#
+# The default configuration is intended for a JDK and a simple ServletContainer
+# like jetty, resin or tomcat.
+# 
+#---------------------------------------------------------------
+
+#general configuration section
+
+
+# the service section:
+# The key is the Interface, the value the implementation of the service
+
+# use the static HashMap instead of storing objects in JNDI as default  
+org.apache.webbeans.spi.JNDIService=org.apache.webbeans.corespi.se.DefaultJndiService
+
+# lookup the javax.transaction.TransactionManager via JNDI as default 
+org.apache.webbeans.spi.TransactionService=org.apache.webbeans.corespi.se.DefaultTransactionService
+
+#use the web metadata as default
+org.apache.webbeans.spi.ScannerService=org.apache.webbeans.test.tck.mock.TCKMetaDataDiscoveryImpl
\ No newline at end of file

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/atinject-tck-runner/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain