[webbeans-commits] Webbeans SVN: r2108 - in tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests: xmlmetadata and 3 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Thu Mar 19 05:49:00 EDT 2009
Author: vitold
Date: 2009-03-19 05:49:00 -0400 (Thu, 19 Mar 2009)
New Revision: 2108
Added:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/BeanDeclarationTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/child/
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/child/BeanChildDeclarationTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/interceptor/
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/stereotype/
Log:
add some stubs for section 9.5
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/BeanDeclarationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/BeanDeclarationTest.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/BeanDeclarationTest.java 2009-03-19 09:49:00 UTC (rev 2108)
@@ -0,0 +1,68 @@
+package org.jboss.jsr299.tck.tests.xmlmetadata.declaration.bean;
+
+import javax.inject.DefinitionException;
+
+import org.hibernate.tck.annotations.SpecAssertion;
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.testng.annotations.Test;
+
+ at Artifact
+public class BeanDeclarationTest extends AbstractJSR299Test
+{
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5", id = "a")
+ public void testDirectRootChildren()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5", id = "b")
+ public void testDeclaredJavaType()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5", id = "c")
+ public void testIsElementJmsResource()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5", id = "d")
+ public void testIsElementResource()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5", id = "e")
+ public void testIsElementSessionBean()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5", id = "f")
+ public void testIsElementSimpleBean()
+ {
+ assert false;
+ }
+
+ @Test(expectedExceptions = DefinitionException.class, groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5", id = "g")
+ public void testDefinitionErrorInWebbeansXml()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5", id = "h")
+ public void testInlineBeanDeclaration()
+ {
+ assert false;
+ }
+}
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/child/BeanChildDeclarationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/child/BeanChildDeclarationTest.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/xmlmetadata/declaration/bean/child/BeanChildDeclarationTest.java 2009-03-19 09:49:00 UTC (rev 2108)
@@ -0,0 +1,65 @@
+package org.jboss.jsr299.tck.tests.xmlmetadata.declaration.bean.child;
+
+import javax.inject.DefinitionException;
+
+import org.hibernate.tck.annotations.SpecAssertion;
+import org.hibernate.tck.annotations.SpecAssertions;
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.testng.annotations.Test;
+
+ at Artifact
+public class BeanChildDeclarationTest extends AbstractJSR299Test
+{
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertions( {
+ @SpecAssertion(section = "9.5.1", id = "a"),
+ @SpecAssertion(section = "9.5.2", id = "a"),
+ @SpecAssertion(section = "9.5.2", id = "b") })
+ public void testIsChildElementTypeLevelMetadata()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5.1", id = "b")
+ public void testIsChildElementConstructorParameter()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5.1", id = "c")
+ public void testIsChildElementMethodOrField()
+ {
+ assert false;
+ }
+
+ @Test(expectedExceptions = DefinitionException.class, groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5.1", id = "d")
+ public void testIsChildElementNameMatchesMethodAndField()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5.1", id = "e")
+ public void testIsChildElementMethod()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5.1", id = "f")
+ public void testIsChildElementField()
+ {
+ assert false;
+ }
+
+ @Test(expectedExceptions = DefinitionException.class, groups = { "stub", "webbeansxml" })
+ @SpecAssertion(section = "9.5.1", id = "g")
+ public void test()
+ {
+ assert false;
+ }
+}
More information about the weld-commits
mailing list