[webbeans-commits] Webbeans SVN: r3240 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/binding/members/array.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Sun Jul 26 13:39:04 EDT 2009


Author: pete.muir at 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
+ * 
+ */
+ at 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




More information about the weld-commits mailing list