Weld SVN: r5827 - in cdi-tck/trunk/impl/src/main: java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean and 3 other directories.
by weld-commits@lists.jboss.org
Author: jharting
Date: 2010-02-09 04:40:13 -0500 (Tue, 09 Feb 2010)
New Revision: 5827
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/bean/custom/CustomBeanImplementationTest.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/InitializerMethodTest.java
cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
Log:
Matched tests with assertions
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java 2010-02-09 09:38:01 UTC (rev 5826)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java 2010-02-09 09:40:13 UTC (rev 5827)
@@ -34,7 +34,7 @@
public class EnterpriseBeanWithIllegalDependencyTest extends AbstractJSR299Test
{
@Test(groups = { "contexts", "passivation", "integration"})
- @SpecAssertion(section = "6.6.4", id = "fb")
+ @SpecAssertion(section = "6.6.4", id = "fbb")
public void test()
{
try
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java 2010-02-09 09:38:01 UTC (rev 5826)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/broken/dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java 2010-02-09 09:40:13 UTC (rev 5827)
@@ -34,7 +34,7 @@
public class EnterpriseBeanWithIllegalDependencyTest extends AbstractJSR299Test
{
@Test(groups = { "contexts", "passivation", "integration"})
- @SpecAssertion(section = "6.6.4", id = "fa")
+ @SpecAssertion(section = "6.6.4", id = "fab")
public void test()
{
try
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/bean/custom/CustomBeanImplementationTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/bean/custom/CustomBeanImplementationTest.java 2010-02-09 09:38:01 UTC (rev 5826)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/bean/custom/CustomBeanImplementationTest.java 2010-02-09 09:40:13 UTC (rev 5827)
@@ -36,7 +36,8 @@
@Test
@SpecAssertions({
- @SpecAssertion(section = "5.1.1", id = "k")
+ @SpecAssertion(section = "5.1.1", id = "k"),
+ @SpecAssertion(section = "5.1.4", id = "q")
})
public void testGetBeanClassCalled()
{
@@ -72,7 +73,10 @@
}
@Test
- @SpecAssertion(section = "5.2.1", id = "b")
+ @SpecAssertions({
+ @SpecAssertion(section = "5.2.1", id = "b"),
+ @SpecAssertion(section = "6.6.4", id = "ga")
+ })
public void testGetInjectionPointsCalled()
{
assert IntegerBean.bean.isGetInjectionPointsCalled();
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/InitializerMethodTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/InitializerMethodTest.java 2010-02-09 09:38:01 UTC (rev 5826)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/InitializerMethodTest.java 2010-02-09 09:40:13 UTC (rev 5827)
@@ -34,7 +34,8 @@
@Test(groups = { "initializerMethod" })
@SpecAssertions({
@SpecAssertion(section = "3.9.1", id = "f"),
- @SpecAssertion(section = "2.3.5", id = "b")
+ @SpecAssertion(section = "2.3.5", id = "b"),
+ @SpecAssertion(section = "3.9", id = "a")
})
public void testBindingTypeOnInitializerParameter()
{
Modified: cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
===================================================================
--- cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml 2010-02-09 09:38:01 UTC (rev 5826)
+++ cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml 2010-02-09 09:40:13 UTC (rev 5827)
@@ -3237,7 +3237,7 @@
<text>Suppose a Unified EL expression in a JSF or JSP page refers to a bean with scope |@Dependent| by its EL name. Each time the EL expression is evaluated the bean is instantiated at most once, and the resulting instance is reused for every appearance of the EL name, and the resulting instance is destroyed when the evaluation completes.</text>
</assertion>
- <assertion id="b">
+ <assertion id="b" testable="false">
<text>Portable extensions that integrate with the container via Unified EL should also ensure that these rules are enforced.</text>
</assertion>
</section>
14 years, 7 months
Weld SVN: r5826 - in cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken: genericStateless and 2 other directories.
by weld-commits@lists.jboss.org
Author: jharting
Date: 2010-02-09 04:38:01 -0500 (Tue, 09 Feb 2010)
New Revision: 5826
Added:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/DingoLocal_Broken.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/Dingo_Broken.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/GenericStatelessSessionBeanTest.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/BulldogLocal_Broken.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Bulldog_Broken.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Colie.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/DecoratorAnnotatedStatelessSessionBeanTest.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Dog.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/DalmatianLocal_Broken.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/Dalmatian_Broken.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/InterceptorAnnotatedStatelessSessionBeanTest.java
Log:
Definition error detection tests for EJBs
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/DingoLocal_Broken.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/DingoLocal_Broken.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/DingoLocal_Broken.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.genericStateless;
+
+import javax.ejb.Local;
+
+@Local
+public interface DingoLocal_Broken<T>
+{
+
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/Dingo_Broken.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/Dingo_Broken.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/Dingo_Broken.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.genericStateless;
+
+import javax.ejb.Remove;
+import javax.ejb.Stateful;
+import javax.enterprise.context.RequestScoped;
+
+@Stateful
+@RequestScoped
+public class Dingo_Broken<T> implements DingoLocal_Broken<T>
+{
+ @Remove
+ public void remove()
+ {
+ }
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/GenericStatelessSessionBeanTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/GenericStatelessSessionBeanTest.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/genericStateless/GenericStatelessSessionBeanTest.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.genericStateless;
+
+
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.jsr299.tck.DeploymentFailure;
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecVersion;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
+import org.jboss.testharness.impl.packaging.Packaging;
+import org.jboss.testharness.impl.packaging.PackagingType;
+import org.testng.annotations.Test;
+
+@Artifact
+(a)Packaging(PackagingType.EAR)
+(a)ExpectedDeploymentException(DeploymentFailure.class)
+@SpecVersion(spec="cdi", version="20091101")
+public class GenericStatelessSessionBeanTest extends AbstractJSR299Test
+{
+ @Test(groups = { "enterpriseBeans" })
+ @SpecAssertion(section = "3.2", id = "i")
+ //WELD-433
+ public void testRequestScopedGenericStatelessSessionBean()
+ {
+ assert false;
+ }
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/BulldogLocal_Broken.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/BulldogLocal_Broken.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/BulldogLocal_Broken.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.statelessDecorator;
+
+import javax.ejb.Local;
+
+@Local
+public interface BulldogLocal_Broken
+{
+
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Bulldog_Broken.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Bulldog_Broken.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Bulldog_Broken.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.statelessDecorator;
+
+import javax.decorator.Decorator;
+import javax.decorator.Delegate;
+import javax.ejb.Stateless;
+import javax.inject.Inject;
+
+@Stateless
+@Decorator
+public class Bulldog_Broken implements BulldogLocal_Broken, Dog
+{
+ @Inject @Delegate
+ private Dog delegate;
+
+ public void foo()
+ {
+ delegate.foo();
+ }
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Colie.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Colie.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Colie.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,24 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.statelessDecorator;
+
+public class Colie implements Dog
+{
+ public void foo()
+ {
+ }
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/DecoratorAnnotatedStatelessSessionBeanTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/DecoratorAnnotatedStatelessSessionBeanTest.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/DecoratorAnnotatedStatelessSessionBeanTest.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.statelessDecorator;
+
+
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.jsr299.tck.DeploymentFailure;
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecVersion;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
+import org.jboss.testharness.impl.packaging.Packaging;
+import org.jboss.testharness.impl.packaging.PackagingType;
+import org.testng.annotations.Test;
+
+(a)ExpectedDeploymentException(DeploymentFailure.class)
+@Artifact
+(a)Packaging(PackagingType.EAR)
+@SpecVersion(spec="cdi", version="20091101")
+public class DecoratorAnnotatedStatelessSessionBeanTest extends AbstractJSR299Test
+{
+ @Test(groups = { "enterpriseBeans" })
+ @SpecAssertion(section = "3.2", id = "h")
+ public void testStatelessSessionBeanNotAllowedToBeDecorator()
+ {
+ assert false;
+ }
+
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Dog.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Dog.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessDecorator/Dog.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,22 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.statelessDecorator;
+
+public interface Dog extends BulldogLocal_Broken
+{
+ void foo();
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/DalmatianLocal_Broken.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/DalmatianLocal_Broken.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/DalmatianLocal_Broken.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.statelessInterceptor;
+
+import javax.ejb.Local;
+
+@Local
+public interface DalmatianLocal_Broken
+{
+ void foo();
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/Dalmatian_Broken.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/Dalmatian_Broken.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/Dalmatian_Broken.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.statelessInterceptor;
+
+import javax.ejb.Stateless;
+import javax.interceptor.Interceptor;
+
+@Stateless
+@Interceptor
+public class Dalmatian_Broken implements DalmatianLocal_Broken
+{
+
+ public void foo()
+ {
+ }
+
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/InterceptorAnnotatedStatelessSessionBeanTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/InterceptorAnnotatedStatelessSessionBeanTest.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/broken/statelessInterceptor/InterceptorAnnotatedStatelessSessionBeanTest.java 2010-02-09 09:38:01 UTC (rev 5826)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.enterprise.broken.statelessInterceptor;
+
+
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.jsr299.tck.DeploymentFailure;
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecVersion;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
+import org.jboss.testharness.impl.packaging.Packaging;
+import org.jboss.testharness.impl.packaging.PackagingType;
+import org.testng.annotations.Test;
+
+(a)ExpectedDeploymentException(DeploymentFailure.class)
+@Artifact
+(a)Packaging(PackagingType.EAR)
+@SpecVersion(spec="cdi", version="20091101")
+public class InterceptorAnnotatedStatelessSessionBeanTest extends AbstractJSR299Test
+{
+ @Test(groups = { "enterpriseBeans" })
+ @SpecAssertion(section = "3.2", id = "g")
+ public void testStatelessSessionBeanNotAllowedToBeInterceptor()
+ {
+ assert false;
+ }
+
+}
14 years, 7 months
Weld SVN: r5825 - in cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition: broken and 4 other directories.
by weld-commits@lists.jboss.org
Author: jharting
Date: 2010-02-09 04:34:43 -0500 (Tue, 09 Feb 2010)
New Revision: 5825
Added:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/SpiderListProducer.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/FooLocal_Broken.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/Foo_Broken.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/NonStaticFieldOfSessionBeanTest.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/Foo.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/ProducerFieldWithTypeVariableTest.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/Foo.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/RequestScopedProducerFieldWithTypeVariableTest.java
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/ProducerFieldDefinitionTest.java
Log:
More tests for producer fields
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/ProducerFieldDefinitionTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/ProducerFieldDefinitionTest.java 2010-02-05 18:32:10 UTC (rev 5824)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/ProducerFieldDefinitionTest.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -17,11 +17,13 @@
package org.jboss.jsr299.tck.tests.implementation.producer.field.definition;
import java.lang.annotation.Annotation;
+import java.util.List;
import java.util.Set;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.spi.Bean;
import javax.enterprise.util.AnnotationLiteral;
+import javax.enterprise.util.TypeLiteral;
import org.jboss.jsr299.tck.AbstractJSR299Test;
import org.jboss.jsr299.tck.literals.DefaultLiteral;
@@ -213,4 +215,13 @@
{
assert !(getInstanceByType(Egg.class,FOO_LITERAL).getMother() instanceof LameInfertileChicken);
}
+
+ @SuppressWarnings("serial")
+ @Test(groups = "producerField")
+ @SpecAssertion(section = "3.4", id = "fb")
+ //WELD-431
+ public void testProducerFieldWithTypeVariable()
+ {
+ assert (getInstanceByType(new TypeLiteral<List<Spider>>(){})) != null;
+ }
}
\ No newline at end of file
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/SpiderListProducer.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/SpiderListProducer.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/SpiderListProducer.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -0,0 +1,28 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.producer.field.definition;
+
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.enterprise.inject.Produces;
+
+public class SpiderListProducer<T extends Spider>
+{
+ @Produces
+ List<T> spiders = new ArrayList<T>();
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/FooLocal_Broken.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/FooLocal_Broken.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/FooLocal_Broken.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -0,0 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.producer.field.definition.broken.enterprise.nonstatic;
+
+import javax.ejb.Local;
+
+@Local
+public interface FooLocal_Broken
+{
+
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/Foo_Broken.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/Foo_Broken.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/Foo_Broken.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -0,0 +1,27 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.producer.field.definition.broken.enterprise.nonstatic;
+
+import javax.ejb.Stateless;
+import javax.enterprise.inject.Produces;
+
+@Stateless
+public class Foo_Broken implements FooLocal_Broken
+{
+ @Produces
+ Integer zero = 0;
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/NonStaticFieldOfSessionBeanTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/NonStaticFieldOfSessionBeanTest.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/enterprise/nonstatic/NonStaticFieldOfSessionBeanTest.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.producer.field.definition.broken.enterprise.nonstatic;
+
+
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.jsr299.tck.DeploymentFailure;
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecVersion;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
+import org.testng.annotations.Test;
+
+@Artifact
+(a)ExpectedDeploymentException(DeploymentFailure.class)
+@SpecVersion(spec="cdi", version="20091101")
+public class NonStaticFieldOfSessionBeanTest extends AbstractJSR299Test
+{
+ @Test
+ @SpecAssertion(section = "3.4.2", id = "h")
+ //WELD-432
+ public void testNonStaticFieldOfSessionBeanCannotBeProducerField()
+ {
+ assert false;
+ }
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/Foo.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/Foo.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/Foo.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -0,0 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.producer.field.definition.broken.typeVariable;
+
+import javax.enterprise.inject.Produces;
+
+public class Foo<T>
+{
+ @Produces
+ T foo = null;
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/ProducerFieldWithTypeVariableTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/ProducerFieldWithTypeVariableTest.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable/ProducerFieldWithTypeVariableTest.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.producer.field.definition.broken.typeVariable;
+
+
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.jsr299.tck.DeploymentFailure;
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecVersion;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
+import org.testng.annotations.Test;
+
+@Artifact
+(a)ExpectedDeploymentException(DeploymentFailure.class)
+@SpecVersion(spec="cdi", version="20091101")
+public class ProducerFieldWithTypeVariableTest extends AbstractJSR299Test
+{
+ @Test
+ @SpecAssertion(section = "3.4", id = "ha")
+ public void testProducerFieldWithTypeOfTypeVariableNotAllowed()
+ {
+ assert false;
+ }
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/Foo.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/Foo.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/Foo.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -0,0 +1,28 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.producer.field.definition.broken.typeVariable2;
+
+import java.util.List;
+
+import javax.enterprise.context.RequestScoped;
+import javax.enterprise.inject.Produces;
+
+public class Foo<T>
+{
+ @Produces @RequestScoped
+ List<T> foo = null;
+}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/RequestScopedProducerFieldWithTypeVariableTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/RequestScopedProducerFieldWithTypeVariableTest.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/typeVariable2/RequestScopedProducerFieldWithTypeVariableTest.java 2010-02-09 09:34:43 UTC (rev 5825)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.implementation.producer.field.definition.broken.typeVariable2;
+
+
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.jsr299.tck.DeploymentFailure;
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecVersion;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
+import org.testng.annotations.Test;
+
+@Artifact
+(a)ExpectedDeploymentException(DeploymentFailure.class)
+@SpecVersion(spec="cdi", version="20091101")
+public class RequestScopedProducerFieldWithTypeVariableTest extends AbstractJSR299Test
+{
+ @Test
+ @SpecAssertion(section = "3.4", id = "gb")
+ public void testRequestScopedProducerFieldParameterizedWithTypeVariableNotAllowed()
+ {
+ assert false;
+ }
+}
14 years, 7 months
Weld SVN: r5824 - build/trunk/dist.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-02-05 13:32:10 -0500 (Fri, 05 Feb 2010)
New Revision: 5824
Modified:
build/trunk/dist/readme.txt
Log:
update readme
Modified: build/trunk/dist/readme.txt
===================================================================
--- build/trunk/dist/readme.txt 2010-02-05 17:40:24 UTC (rev 5823)
+++ build/trunk/dist/readme.txt 2010-02-05 18:32:10 UTC (rev 5824)
@@ -49,10 +49,6 @@
Installer for JBoss AS, change into this directory, and run ant update
There are more details in the reference guide
- lib/
-
- Libraries, for building the examples
-
artifacts/weld
Weld binary, source and javadoc jars
14 years, 7 months
Weld SVN: r5823 - cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken/decorator.
by weld-commits@lists.jboss.org
Author: jharting
Date: 2010-02-05 12:40:24 -0500 (Fri, 05 Feb 2010)
New Revision: 5823
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken/decorator/DisposerMethodOnDecoratorTest.java
Log:
minor
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken/decorator/DisposerMethodOnDecoratorTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken/decorator/DisposerMethodOnDecoratorTest.java 2010-02-05 17:34:26 UTC (rev 5822)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken/decorator/DisposerMethodOnDecoratorTest.java 2010-02-05 17:40:24 UTC (rev 5823)
@@ -33,7 +33,7 @@
public class DisposerMethodOnDecoratorTest extends AbstractJSR299Test
{
@Test
- @SpecAssertion(section = "3.3.2", id = "gb")
+ @SpecAssertion(section = "3.3.6", id = "gb")
//WELD-424
public void testDisposerMethodNotAllowedOnDecorator()
{
14 years, 7 months
Weld SVN: r5822 - cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic.
by weld-commits@lists.jboss.org
Author: jharting
Date: 2010-02-05 12:34:26 -0500 (Fri, 05 Feb 2010)
New Revision: 5822
Added:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/ObtainsNewInstanceBean.java
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java
Log:
Tests for @New
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java 2010-02-05 17:26:51 UTC (rev 5821)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java 2010-02-05 17:34:26 UTC (rev 5822)
@@ -176,4 +176,18 @@
assert injectionPoint.getAnyPaymentProcessor().isAmbiguous();
assert !injectionPoint.getPaymentProcessor().isAmbiguous();
}
+
+ @Test
+ @SpecAssertion(section = "5.6", id = "e")
+ public void testNewBean()
+ {
+ assert getInstanceByType(ObtainsNewInstanceBean.class).getNpe().get() != null;
+ }
+
+ @Test
+ @SpecAssertion(section = "3.12", id = "xc")
+ public void testNewBeanNotEnabledWithouInjectionPoint()
+ {
+ assert getInstanceByType(ObtainsNewInstanceBean.class).getIae().isUnsatisfied();
+ }
}
Added: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/ObtainsNewInstanceBean.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/ObtainsNewInstanceBean.java (rev 0)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/ObtainsNewInstanceBean.java 2010-02-05 17:34:26 UTC (rev 5822)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.tests.lookup.dynamic;
+
+import javax.enterprise.inject.Instance;
+import javax.enterprise.inject.New;
+import javax.inject.Inject;
+
+import org.jboss.jsr299.tck.literals.NewLiteral;
+
+public class ObtainsNewInstanceBean
+{
+ @Inject @New(NullPointerException.class) Instance<NullPointerException> npe;
+ @Inject Instance<IllegalArgumentException> iae;
+
+ public Instance<NullPointerException> getNpe()
+ {
+ return npe;
+ }
+
+ public Instance<IllegalArgumentException> getIae()
+ {
+ return iae.select(new NewLiteral()
+ {
+ public Class<?> value()
+ {
+ return IllegalArgumentException.class;
+ }
+ });
+ }
+}
14 years, 7 months
Weld SVN: r5821 - in examples/trunk: jsf/login and 9 other directories.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-02-05 12:26:51 -0500 (Fri, 05 Feb 2010)
New Revision: 5821
Modified:
examples/trunk/jsf/login/pom.xml
examples/trunk/jsf/numberguess/pom.xml
examples/trunk/jsf/permalink/pom.xml
examples/trunk/jsf/translator/ear/pom.xml
examples/trunk/jsf/translator/ejb/pom.xml
examples/trunk/jsf/translator/pom.xml
examples/trunk/jsf/translator/war/pom.xml
examples/trunk/pom.xml
examples/trunk/se/hello-world/pom.xml
examples/trunk/se/numberguess/pom.xml
examples/trunk/wicket/numberguess/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: examples/trunk/jsf/login/pom.xml
===================================================================
--- examples/trunk/jsf/login/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/jsf/login/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -161,9 +161,9 @@
</profiles>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/l...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/login</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/jsf/login</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/jsf/login</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/jsf/login</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/trunk/jsf/login</url>
</scm>
</project>
Modified: examples/trunk/jsf/numberguess/pom.xml
===================================================================
--- examples/trunk/jsf/numberguess/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/jsf/numberguess/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -761,9 +761,9 @@
</properties>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/n...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/numb...</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/jsf/numberguess</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/jsf/numberguess</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/jsf/numberguess</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/trunk/jsf/numberguess</url>
</scm>
</project>
Modified: examples/trunk/jsf/permalink/pom.xml
===================================================================
--- examples/trunk/jsf/permalink/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/jsf/permalink/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -551,9 +551,9 @@
</profiles>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/p...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/perm...</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/jsf/permalink</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/jsf/permalink</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/jsf/permalink</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/trunk/jsf/permalink</url>
</scm>
</project>
Modified: examples/trunk/jsf/translator/ear/pom.xml
===================================================================
--- examples/trunk/jsf/translator/ear/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/jsf/translator/ear/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
<artifactId>weld-jsf-translator-parent</artifactId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
Modified: examples/trunk/jsf/translator/ejb/pom.xml
===================================================================
--- examples/trunk/jsf/translator/ejb/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/jsf/translator/ejb/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
<artifactId>weld-jsf-translator-parent</artifactId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
Modified: examples/trunk/jsf/translator/pom.xml
===================================================================
--- examples/trunk/jsf/translator/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/jsf/translator/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
@@ -61,9 +61,9 @@
</build>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/t...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/tran...</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/jsf/translator</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/jsf/translator</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/jsf/translator</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/trunk/jsf/translator</url>
</scm>
</project>
Modified: examples/trunk/jsf/translator/war/pom.xml
===================================================================
--- examples/trunk/jsf/translator/war/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/jsf/translator/war/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
<artifactId>weld-jsf-translator-parent</artifactId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
Modified: examples/trunk/pom.xml
===================================================================
--- examples/trunk/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -9,7 +9,7 @@
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
<packaging>pom</packaging>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
<name>Weld Examples</name>
<description>
@@ -239,9 +239,9 @@
</build>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/trunk</url>
</scm>
<profiles>
Modified: examples/trunk/se/hello-world/pom.xml
===================================================================
--- examples/trunk/se/hello-world/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/se/hello-world/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -3,7 +3,7 @@
<parent>
<artifactId>weld-examples-parent</artifactId>
<groupId>org.jboss.weld.examples</groupId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -90,9 +90,9 @@
</build>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/se/he...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/se/hello...</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/se/hello-world</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/se/hello-world</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/se/hello-world</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/trunk/se/hello-world</url>
</scm>
</project>
Modified: examples/trunk/se/numberguess/pom.xml
===================================================================
--- examples/trunk/se/numberguess/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/se/numberguess/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -3,7 +3,7 @@
<parent>
<artifactId>weld-examples-parent</artifactId>
<groupId>org.jboss.weld.examples</groupId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -91,9 +91,9 @@
</profiles>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/se/nu...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/se/numbe...</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/se/numberguess</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/se/numberguess</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/se/numberguess</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/trunk/se/numberguess</url>
</scm>
</project>
Modified: examples/trunk/wicket/numberguess/pom.xml
===================================================================
--- examples/trunk/wicket/numberguess/pom.xml 2010-02-05 17:26:47 UTC (rev 5820)
+++ examples/trunk/wicket/numberguess/pom.xml 2010-02-05 17:26:51 UTC (rev 5821)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-CR2</version>
+ <version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -189,9 +189,9 @@
</properties>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/wicke...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/wicket/n...</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/wicket/numbe...</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/wicket/numberg...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/wicket/numberguess</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/trunk/wicket/numberguess</url>
</scm>
</project>
14 years, 7 months
Weld SVN: r5820 - examples/tags.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-02-05 12:26:47 -0500 (Fri, 05 Feb 2010)
New Revision: 5820
Added:
examples/tags/1.0.0-CR2/
Log:
undo deleting the wrong tag
Copied: examples/tags/1.0.0-CR2 (from rev 5799, examples/tags/1.0.0-CR2)
14 years, 7 months
Weld SVN: r5819 - examples/tags.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-02-05 12:26:26 -0500 (Fri, 05 Feb 2010)
New Revision: 5819
Added:
examples/tags/1.0.1-CR2/
Log:
[maven-scm] copy for tag 1.0.1-CR2
Copied: examples/tags/1.0.1-CR2 (from rev 5818, examples/trunk)
14 years, 7 months
Weld SVN: r5818 - in examples/trunk: jsf/login and 9 other directories.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-02-05 12:25:56 -0500 (Fri, 05 Feb 2010)
New Revision: 5818
Modified:
examples/trunk/jsf/login/pom.xml
examples/trunk/jsf/numberguess/pom.xml
examples/trunk/jsf/permalink/pom.xml
examples/trunk/jsf/translator/ear/pom.xml
examples/trunk/jsf/translator/ejb/pom.xml
examples/trunk/jsf/translator/pom.xml
examples/trunk/jsf/translator/war/pom.xml
examples/trunk/pom.xml
examples/trunk/se/hello-world/pom.xml
examples/trunk/se/numberguess/pom.xml
examples/trunk/wicket/numberguess/pom.xml
Log:
[maven-release-plugin] prepare release 1.0.1-CR2
Modified: examples/trunk/jsf/login/pom.xml
===================================================================
--- examples/trunk/jsf/login/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/jsf/login/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -161,9 +161,9 @@
</profiles>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/jsf/login</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/jsf/login</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/trunk/jsf/login</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/l...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/login</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/jsf/login</url>
</scm>
</project>
Modified: examples/trunk/jsf/numberguess/pom.xml
===================================================================
--- examples/trunk/jsf/numberguess/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/jsf/numberguess/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -761,9 +761,9 @@
</properties>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/jsf/numberguess</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/jsf/numberguess</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/trunk/jsf/numberguess</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/n...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/numb...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/jsf/numberguess</url>
</scm>
</project>
Modified: examples/trunk/jsf/permalink/pom.xml
===================================================================
--- examples/trunk/jsf/permalink/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/jsf/permalink/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -551,9 +551,9 @@
</profiles>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/jsf/permalink</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/jsf/permalink</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/trunk/jsf/permalink</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/p...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/perm...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/jsf/permalink</url>
</scm>
</project>
Modified: examples/trunk/jsf/translator/ear/pom.xml
===================================================================
--- examples/trunk/jsf/translator/ear/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/jsf/translator/ear/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
<artifactId>weld-jsf-translator-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
Modified: examples/trunk/jsf/translator/ejb/pom.xml
===================================================================
--- examples/trunk/jsf/translator/ejb/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/jsf/translator/ejb/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
<artifactId>weld-jsf-translator-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
Modified: examples/trunk/jsf/translator/pom.xml
===================================================================
--- examples/trunk/jsf/translator/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/jsf/translator/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
@@ -61,9 +61,9 @@
</build>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/jsf/translator</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/jsf/translator</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/trunk/jsf/translator</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/t...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/jsf/tran...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/jsf/translator</url>
</scm>
</project>
Modified: examples/trunk/jsf/translator/war/pom.xml
===================================================================
--- examples/trunk/jsf/translator/war/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/jsf/translator/war/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
<artifactId>weld-jsf-translator-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.translator</groupId>
Modified: examples/trunk/pom.xml
===================================================================
--- examples/trunk/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -9,7 +9,7 @@
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
<packaging>pom</packaging>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
<name>Weld Examples</name>
<description>
@@ -239,9 +239,9 @@
</build>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/trunk</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2</url>
</scm>
<profiles>
Modified: examples/trunk/se/hello-world/pom.xml
===================================================================
--- examples/trunk/se/hello-world/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/se/hello-world/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -3,7 +3,7 @@
<parent>
<artifactId>weld-examples-parent</artifactId>
<groupId>org.jboss.weld.examples</groupId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -90,9 +90,9 @@
</build>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/se/hello-world</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/se/hello-world</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/trunk/se/hello-world</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/se/he...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/se/hello...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/se/hello-world</url>
</scm>
</project>
Modified: examples/trunk/se/numberguess/pom.xml
===================================================================
--- examples/trunk/se/numberguess/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/se/numberguess/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -3,7 +3,7 @@
<parent>
<artifactId>weld-examples-parent</artifactId>
<groupId>org.jboss.weld.examples</groupId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -91,9 +91,9 @@
</profiles>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/se/numberguess</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/se/numberguess</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/trunk/se/numberguess</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/se/nu...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/se/numbe...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/se/numberguess</url>
</scm>
</project>
Modified: examples/trunk/wicket/numberguess/pom.xml
===================================================================
--- examples/trunk/wicket/numberguess/pom.xml 2010-02-05 17:24:47 UTC (rev 5817)
+++ examples/trunk/wicket/numberguess/pom.xml 2010-02-05 17:25:56 UTC (rev 5818)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1-CR2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -189,9 +189,9 @@
</properties>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/trunk/wicket/numberg...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/trunk/wicket/numberguess</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/examples/trunk/wicket/numberguess</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/wicke...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/examples/tags/1.0.1-CR2/wicket/n...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/weld/examples/tags/1.0.1-CR2/wicket/numbe...</url>
</scm>
</project>
14 years, 7 months