[webbeans-commits] Webbeans SVN: r3249 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/unsatisfied and 1 other directory.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:46:04 -0400 (Sun, 26 Jul 2009)
New Revision: 3249
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/Validator.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/unsatisfied/UnsatisfiedDependencyTest.java
Log:
Fix test
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/Validator.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/Validator.java 2009-07-26 18:42:31 UTC (rev 3248)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/Validator.java 2009-07-26 18:46:04 UTC (rev 3249)
@@ -32,7 +32,6 @@
import javax.enterprise.inject.Instance;
import javax.enterprise.inject.New;
import javax.enterprise.inject.UnproxyableResolutionException;
-import javax.enterprise.inject.UnsatisfiedResolutionException;
import javax.enterprise.inject.spi.Bean;
import javax.enterprise.inject.spi.Decorator;
import javax.enterprise.inject.spi.InjectionPoint;
@@ -146,7 +145,7 @@
Set<?> resolvedBeans = beanManager.getInjectableBeans(ij);
if (resolvedBeans.isEmpty())
{
- throw new UnsatisfiedResolutionException("The injection point " + ij + " with binding types " + Names.annotationsToString(ij.getBindings()) + " in " + ij.getBean() + " has unsatisfied dependencies with binding types ");
+ throw new DeploymentException("The injection point " + ij + " with binding types " + Names.annotationsToString(ij.getBindings()) + " in " + ij.getBean() + " has unsatisfied dependencies with binding types ");
}
if (resolvedBeans.size() > 1)
{
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/unsatisfied/UnsatisfiedDependencyTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/unsatisfied/UnsatisfiedDependencyTest.java 2009-07-26 18:42:31 UTC (rev 3248)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/unsatisfied/UnsatisfiedDependencyTest.java 2009-07-26 18:46:04 UTC (rev 3249)
@@ -33,10 +33,11 @@
public class UnsatisfiedDependencyTest extends AbstractJSR299Test
{
- @Test(groups = "ri-broken")
- @SpecAssertion(section="5.3.1", id="aa")
- public void testUnsatisfiedDependency() {
+ @Test
+ @SpecAssertion(section = "5.3.1", id = "aa")
+ public void testUnsatisfiedDependency()
+ {
assert false;
}
-
+
}
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3248 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous and 1 other directory.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:42:31 -0400 (Sun, 26 Jul 2009)
New Revision: 3248
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/Validator.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/AmbiguousDependencyTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/Farm_Broken.java
Log:
Fix test
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/Validator.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/Validator.java 2009-07-26 18:42:00 UTC (rev 3247)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/Validator.java 2009-07-26 18:42:31 UTC (rev 3248)
@@ -28,7 +28,6 @@
import javax.enterprise.context.Dependent;
import javax.enterprise.event.Event;
-import javax.enterprise.inject.AmbiguousResolutionException;
import javax.enterprise.inject.IllegalProductException;
import javax.enterprise.inject.Instance;
import javax.enterprise.inject.New;
@@ -151,7 +150,7 @@
}
if (resolvedBeans.size() > 1)
{
- throw new AmbiguousResolutionException("The injection point " + ij + " with binding types " + Names.annotationsToString(ij.getBindings()) + " in " + ij.getBean() + " has ambiguous dependencies");
+ throw new DeploymentException("The injection point " + ij + " with binding types " + Names.annotationsToString(ij.getBindings()) + " in " + ij.getBean() + " has ambiguous dependencies");
}
Bean<?> resolvedBean = (Bean<?>) resolvedBeans.iterator().next();
if (beanManager.getServices().get(MetaAnnotationStore.class).getScopeModel(resolvedBean.getScopeType()).isNormal() && !Proxies.isTypeProxyable(ij.getType()))
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/AmbiguousDependencyTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/AmbiguousDependencyTest.java 2009-07-26 18:42:00 UTC (rev 3247)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/AmbiguousDependencyTest.java 2009-07-26 18:42:31 UTC (rev 3248)
@@ -33,10 +33,11 @@
public class AmbiguousDependencyTest extends AbstractJSR299Test
{
- @Test(groups = "ri-broken")
- @SpecAssertion(section="5.3.1", id="aa")
- public void testAmbiguousDependency() {
+ @Test
+ @SpecAssertion(section = "5.3.1", id = "aa")
+ public void testAmbiguousDependency()
+ {
assert false;
}
-
+
}
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/Farm_Broken.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/Farm_Broken.java 2009-07-26 18:42:00 UTC (rev 3247)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/Farm_Broken.java 2009-07-26 18:42:31 UTC (rev 3248)
@@ -18,8 +18,9 @@
import javax.enterprise.inject.Current;
-@SuppressWarnings("unused")
+
class Farm_Broken
{
+ @SuppressWarnings("unused")
@Current private Animal animal;
}
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3247 - ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/proxy.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:42:00 -0400 (Sun, 26 Jul 2009)
New Revision: 3247
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/proxy/ClientProxyProvider.java
Log:
Not used, and introduces nasty classloader issue
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/proxy/ClientProxyProvider.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/proxy/ClientProxyProvider.java 2009-07-26 18:40:37 UTC (rev 3246)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/proxy/ClientProxyProvider.java 2009-07-26 18:42:00 UTC (rev 3247)
@@ -77,8 +77,8 @@
{
ClientProxyMethodHandler proxyMethodHandler = new ClientProxyMethodHandler(bean, manager, beanIndex);
Set<Type> classes = new LinkedHashSet<Type>(bean.getTypes());
+ //classes.add(ClientProxyInstance.class);
classes.add(Serializable.class);
- classes.add(ClientProxyInstance.class);
ProxyFactory proxyFactory = Proxies.getProxyFactory(classes);
proxyFactory.setHandler(proxyMethodHandler);
Class<?> clazz = proxyFactory.createClass();
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3246 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:40:37 -0400 (Sun, 26 Jul 2009)
New Revision: 3246
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/ResolutionByNameTest.java
Log:
mark WBRI
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/ResolutionByNameTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/ResolutionByNameTest.java 2009-07-26 18:31:20 UTC (rev 3245)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/ResolutionByNameTest.java 2009-07-26 18:40:37 UTC (rev 3246)
@@ -34,6 +34,7 @@
@Test(groups = { "resolution" , "ri-broken"})
@SpecAssertion(section = "5.4.1", id = "c")
+ // WBRI-306
public void testAmbiguousELNamesResolved() throws Exception
{
new RunInDependentContext()
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3245 - ri/trunk/jboss-tck-runner.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:31:20 -0400 (Sun, 26 Jul 2009)
New Revision: 3245
Modified:
ri/trunk/jboss-tck-runner/pom.xml
Log:
increase heap space :-(
Modified: ri/trunk/jboss-tck-runner/pom.xml
===================================================================
--- ri/trunk/jboss-tck-runner/pom.xml 2009-07-26 18:29:33 UTC (rev 3244)
+++ ri/trunk/jboss-tck-runner/pom.xml 2009-07-26 18:31:20 UTC (rev 3245)
@@ -93,7 +93,7 @@
<suiteXmlFiles>
<suiteXmlFile>${project.build.directory}/dependency/jsr299-tck-impl-suite.xml</suiteXmlFile>
</suiteXmlFiles>
- <argLine>-Xmx128m</argLine>
+ <argLine>-Xmx256m</argLine>
<forkMode>once</forkMode>
</configuration>
</plugin>
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3244 - tck/trunk/impl/src/main/resources.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:29:33 -0400 (Sun, 26 Jul 2009)
New Revision: 3244
Modified:
tck/trunk/impl/src/main/resources/tck-tests.xml
Log:
minor
Modified: tck/trunk/impl/src/main/resources/tck-tests.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-tests.xml 2009-07-26 18:29:11 UTC (rev 3243)
+++ tck/trunk/impl/src/main/resources/tck-tests.xml 2009-07-26 18:29:33 UTC (rev 3244)
@@ -1,7 +1,7 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="JSR-299 TCK" verbose="2" >
- <test name="JSR-299 TCK" >
+ <test name="JSR-299 TCK">
<method-selectors>
<method-selector>
<selector-class name="org.jboss.testharness.impl.testng.DisableIntegrationTestsMethodSelector" />
@@ -21,9 +21,7 @@
</run>
</groups>
<packages>
- <package name="org.jboss.jsr299.tck.tests">
- <exclude name=""></exclude>
- </package>
+ <package name="org.jboss.jsr299.tck.tests" />
</packages>
</test>
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3243 - in tck/trunk/impl/src/main: java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution and 2 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:29:11 -0400 (Sun, 26 Jul 2009)
New Revision: 3243
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/resolve/binding/ResolvingChecksBindingTypeMembersTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution/DuplicateNameResolutionTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicatePrefixResolution/DuplicateNamePrefixResolutionTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
Remove wrong assignment, split up assertion, add WBRI
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/resolve/binding/ResolvingChecksBindingTypeMembersTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/resolve/binding/ResolvingChecksBindingTypeMembersTest.java 2009-07-26 18:08:03 UTC (rev 3242)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/resolve/binding/ResolvingChecksBindingTypeMembersTest.java 2009-07-26 18:29:11 UTC (rev 3243)
@@ -1,8 +1,5 @@
package org.jboss.jsr299.tck.tests.event.resolve.binding;
-import java.util.Set;
-
-import javax.enterprise.event.Observer;
import javax.enterprise.event.Observes;
import org.hibernate.tck.annotations.SpecAssertion;
@@ -44,8 +41,7 @@
@Test(groups = { "events" })
@SpecAssertions({
@SpecAssertion(section = "10.4.1", id = "a"),
- @SpecAssertion(section = "10.2.2", id = "a"),
- @SpecAssertion(section = "10.2.2", id = "b")
+ @SpecAssertion(section = "10.2.2", id = "a")
})
public void testResolvingChecksBindingTypeMembers()
{
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution/DuplicateNameResolutionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution/DuplicateNameResolutionTest.java 2009-07-26 18:08:03 UTC (rev 3242)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution/DuplicateNameResolutionTest.java 2009-07-26 18:29:11 UTC (rev 3243)
@@ -35,7 +35,7 @@
{
@Test(groups = { "resolution", "el", "ri-broken" })
- @SpecAssertion(section = "5.4.1", id = "d")
+ @SpecAssertion(section = "5.4.1", id = "da")
// See WBRI-304
public void testDuplicateNamedBeans() throws Exception
{
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicatePrefixResolution/DuplicateNamePrefixResolutionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicatePrefixResolution/DuplicateNamePrefixResolutionTest.java 2009-07-26 18:08:03 UTC (rev 3242)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicatePrefixResolution/DuplicateNamePrefixResolutionTest.java 2009-07-26 18:29:11 UTC (rev 3243)
@@ -35,10 +35,12 @@
public class DuplicateNamePrefixResolutionTest extends AbstractJSR299Test
{
- @Test(groups = { "resolution", "el", "ri-broken"})
- @SpecAssertion(section="5.4.1", id="d")
- public void testDuplicateBeanNamePrefix() {
+ @Test(groups = { "resolution", "el", "ri-broken" })
+ @SpecAssertion(section = "5.4.1", id = "db")
+ // WBRI-305
+ public void testDuplicateBeanNamePrefix()
+ {
assert false;
}
-
+
}
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-07-26 18:08:03 UTC (rev 3242)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-07-26 18:29:11 UTC (rev 3243)
@@ -1894,9 +1894,13 @@
<text>An ambiguous EL name exists in an EL expression when there are multiple beans which match the given EL name. When an ambiguous EL name exists, the container attempts to resolve the ambiguity - if any matching beans are policies, the container eliminates all matching beans that are not policies. The container eliminates all matching beans that are specialized by some other matching bean. If there is exactly one bean remaining, the container will select this bean, and the ambiguous name is called resolvable.</text>
</assertion>
- <assertion id="d">
- <text>All unresolvable ambiguous EL names are detected by the container when the application is initialized. Suppose two beans are both accessible to classes in a certain war, according to the class loading requirements of the Java EE platform and Java Servlet specifications. If each bean is either not a policy, or is an enabled policy of the war, and either the two beans have the same EL name and the name is not resolvable, or the EL name of one bean is of the form x.y, where y is a valid bean EL name, and x is the EL name of the other bean, the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ <assertion id="da">
+ <text>All unresolvable ambiguous EL names are detected by the container when the application is initialized. Suppose two beans are both accessible to classes in a certain war, according to the class loading requirements of the Java EE platform and Java Servlet specifications. If each bean is either not a policy, or is an enabled policy of the war, and either _the two beans have the same EL name and the name is not resolvable_, or the EL name of one bean is of the form x.y, where y is a valid bean EL name, and x is the EL name of the other bean, the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
</assertion>
+
+ <assertion id="db">
+ <text>All unresolvable ambiguous EL names are detected by the container when the application is initialized. Suppose two beans are both accessible to classes in a certain war, according to the class loading requirements of the Java EE platform and Java Servlet specifications. If each bean is either not a policy, or is an enabled policy of the war, and either the two beans have the same EL name and the name is not resolvable, _or the EL name of one bean is of the form x.y, where y is a valid bean EL name, and x is the EL name of the other bean_, the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ </assertion>
</section>
<section id="5.5" title="Client proxies">
@@ -3629,7 +3633,7 @@
</assertion>
<assertion id="b" testable="false">
- <text>The container uses |equals()| to compare event binding type member values.</text>
+ <text>The container uses |equals()| to compare event binding type member values.</text>
<note>Since only primitive types are allowed, the call to equals() cannot be checked</note>
</assertion>
</section>
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3242 - tck/trunk/impl/src/main/resources.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:08:03 -0400 (Sun, 26 Jul 2009)
New Revision: 3242
Modified:
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
Fix the used text
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-07-26 17:50:41 UTC (rev 3241)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-07-26 18:08:03 UTC (rev 3242)
@@ -1904,9 +1904,8 @@
<text>Client proxies are never required for a bean whose scope is a pseudo-scope such as |@Dependent|</text>
</assertion>
- <assertion id="b" testable="false">
- <text>Client proxies are used for normal scoped beans</text>
- <note>This is a statement of intent</note>
+ <assertion id="b">
+ <text>A contextual reference to a bean with a normal scope, as defined in Section 6.3, “Normal scopes and pseudo-scopes”, is not a direct reference to a contextual instaContextual.create()textual reference is a client proxy object.</text>
</assertion>
<assertion id="c" implied="true">
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3241 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 13:50:41 -0400 (Sun, 26 Jul 2009)
New Revision: 3241
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution/DuplicateNameResolutionTest.java
Log:
note JIRA issue
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution/DuplicateNameResolutionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution/DuplicateNameResolutionTest.java 2009-07-26 17:39:04 UTC (rev 3240)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname/duplicateNameResolution/DuplicateNameResolutionTest.java 2009-07-26 17:50:41 UTC (rev 3241)
@@ -36,6 +36,7 @@
@Test(groups = { "resolution", "el", "ri-broken" })
@SpecAssertion(section = "5.4.1", id = "d")
+ // See WBRI-304
public void testDuplicateNamedBeans() throws Exception
{
assert false;
15 years, 4 months
[webbeans-commits] Webbeans SVN: r3240 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-26 13:39:04 -0400 (Sun, 26 Jul 2009)
New Revision: 3240
Added:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/TheBeatles.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/Watch.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/BindingAnnotationWithMemberTest.java
Log:
Fix test and mark working
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/BindingAnnotationWithMemberTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/BindingAnnotationWithMemberTest.java 2009-07-26 17:38:25 UTC (rev 3239)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/BindingAnnotationWithMemberTest.java 2009-07-26 17:39:04 UTC (rev 3240)
@@ -17,6 +17,7 @@
package org.jboss.jsr299.tck.tests.lookup.binding.members.array;
import org.hibernate.tck.annotations.SpecAssertion;
+import org.jboss.jsr299.tck.AbstractJSR299Test;
import org.jboss.jsr299.tck.DefinitionError;
import org.jboss.testharness.impl.packaging.Artifact;
import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
@@ -28,11 +29,13 @@
*/
@Artifact
@ExpectedDeploymentException(DefinitionError.class)
-public class BindingAnnotationWithMemberTest {
-
- @Test(groups="ri-broken")
- @SpecAssertion(section="5.3.5", id="ca")
- public void testArrayMemberWithoutNonBinding() {
- assert false;
- }
+public class BindingAnnotationWithMemberTest extends AbstractJSR299Test
+{
+
+ @Test
+ @SpecAssertion(section = "5.3.5", id = "ca")
+ public void testArrayMemberWithoutNonBinding()
+ {
+ assert false;
+ }
}
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/TheBeatles.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/TheBeatles.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/TheBeatles.java 2009-07-26 17:39:04 UTC (rev 3240)
@@ -0,0 +1,29 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jboss.jsr299.tck.tests.lookup.binding.members.array;
+
+/**
+ * @author pmuir
+ *
+ */
+public class TheBeatles
+{
+
+ @Expensive_Broken(prices = { "" }) Watch watch;
+
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/TheBeatles.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/Watch.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/Watch.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/Watch.java 2009-07-26 17:39:04 UTC (rev 3240)
@@ -0,0 +1,27 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jboss.jsr299.tck.tests.lookup.binding.members.array;
+
+/**
+ * @author pmuir
+ *
+ */
+@Expensive_Broken(prices = { "" })
+public class Watch
+{
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array/Watch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 4 months