[webbeans-commits] Webbeans SVN: r1362 - doc/tags/webbeans-reference-guide-1.0.0.ALPHA2/en-US.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-01-30 08:08:02 -0500 (Fri, 30 Jan 2009)
New Revision: 1362
Modified:
doc/tags/webbeans-reference-guide-1.0.0.ALPHA2/en-US/ri.xml
Log:
fix tag
Modified: doc/tags/webbeans-reference-guide-1.0.0.ALPHA2/en-US/ri.xml
===================================================================
--- doc/tags/webbeans-reference-guide-1.0.0.ALPHA2/en-US/ri.xml 2009-01-30 09:53:04 UTC (rev 1361)
+++ doc/tags/webbeans-reference-guide-1.0.0.ALPHA2/en-US/ri.xml 2009-01-30 13:08:02 UTC (rev 1362)
@@ -46,7 +46,7 @@
</para>
<programlisting><![CDATA[$ cd ~/
-$ unzip ~/webbeans-1.0.0.ALPHA1.zip]]></programlisting>
+$ unzip ~/webbeans-$VERSION.zip]]></programlisting>
<para>
@@ -86,7 +86,7 @@
download the Web Beans and EJB3 automatically.
</para>
- <programlisting>$ cd webbeans-1.0.0.ALPHA1/jboss-as
+ <programlisting>$ cd webbeans-$VERSION/jboss-as
$ ant update</programlisting>
<para>
@@ -753,4 +753,4 @@
examples and translating this reference guide.
</para>
-</chapter>
\ No newline at end of file
+</chapter>
15 years, 11 months
[webbeans-commits] Webbeans SVN: r1361 - in tck/trunk/impl/src/main/java/org/jboss/webbeans/tck: integration/context/application and 38 other directories.
by webbeans-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-01-30 04:53:04 -0500 (Fri, 30 Jan 2009)
New Revision: 1361
Added:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/SpecAssertions.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/SpecAssertion.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/application/ApplicationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/conversation/ConversationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/passivating/PassivatingContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/request/RequestContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/session/SessionContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/byname/ResolutionByNameTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/manager/ManagerTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/ContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/NormalContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/passivating/PassivatingContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/bean/BeanDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/binding/BindingDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/BrokenDeploymentTypeTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/CustomDeploymentTypeTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DefaultDeploymentTypeTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DeploymentTypeDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/name/NameDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/scope/ScopeDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/stereotype/StereotypeDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/type/ApiTypeDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/EventTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/commonAnnotations/ResourceInjectionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/decorator/DecoratorDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/deployment/BeanDeploymentTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanDeclarationTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanLifecycleTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanRemoveMethodTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/NewEnterpriseBeanTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/initializer/InitializerMethodTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/interceptor/InterceptorDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/jms/JmsDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldLifecycleTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/DisposalMethodDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/ProducerMethodDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/ProducerMethodLifecycleTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/NewSimpleBeanTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/SimpleBeanDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/SimpleBeanLifecycleTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/realization/RealizationTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/enterprise/EnterpriseBeanSpecializationTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/simple/SimpleBeanSpecializationTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/byname/InstantiationByNameTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/byname/ResolutionByNameTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/clientProxy/ClientProxyTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/injection/InjectionTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/injectionpoint/InjectionPointTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/manager/ManagerTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/typesafe/InstantiationByTypeTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/typesafe/ResolutionByTypeTest.java
Log:
updated assertions
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/SpecAssertion.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/SpecAssertion.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/SpecAssertion.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -7,12 +7,8 @@
@Target(ElementType.METHOD)
@Documented
public @interface SpecAssertion
-{
-
- public String[] section();
-
- public String id() default "";
-
+{
+ public String section();
+ public String id();
public String note() default "";
-
}
Added: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/SpecAssertions.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/SpecAssertions.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/SpecAssertions.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -0,0 +1,12 @@
+package org.jboss.webbeans.tck.impl;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+
+(a)Target(ElementType.METHOD)
+@Documented
+public @interface SpecAssertions
+{
+ public SpecAssertion[] value();
+}
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/application/ApplicationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/application/ApplicationContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/application/ApplicationContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -16,7 +16,7 @@
* in the web application.
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "8.5.3")
+ @SpecAssertion(section = "8.5.3", id = "unknown")
public void testApplicationScopeActiveDuringServiceMethod()
{
assert false;
@@ -26,7 +26,7 @@
* The application scope is active during any Java EE web service invocation.
*/
@Test(groups = { "stub", "contexts", "webservice" })
- @SpecAssertion(section = "8.5.3")
+ @SpecAssertion(section = "8.5.3", id = "unknown")
public void testApplicationScopeActiveDuringWebSericeInvocation()
{
assert false;
@@ -38,7 +38,7 @@
* message delivery to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.3")
+ @SpecAssertion(section = "8.5.3", id = "unknown")
public void testApplicationScopeActiveDuringRemoteMethodInvocationOfEjb()
{
assert false;
@@ -50,7 +50,7 @@
* message delivery to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.3")
+ @SpecAssertion(section = "8.5.3", id = "unknown")
public void testApplicationScopeActiveDuringCallToEjbTimeoutMethod()
{
assert false;
@@ -62,7 +62,7 @@
* message delivery to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.3")
+ @SpecAssertion(section = "8.5.3", id = "unknown")
public void testApplicationScopeActiveDuringEjbMessageDelivery()
{
assert false;
@@ -75,7 +75,7 @@
* application
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.3")
+ @SpecAssertion(section = "8.5.3", id = "unknown")
public void testApplicationContextSharedBetweenInvokationsInApplication()
{
assert false;
@@ -85,7 +85,7 @@
* The application context is destroyed when the application is undeployed.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.3")
+ @SpecAssertion(section = "8.5.3", id = "unknown")
public void testApplicationScopeDestroyedWhenApplicationIsUndeployed()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/conversation/ConversationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/conversation/ConversationContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/conversation/ConversationContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -17,7 +17,7 @@
* apply request values phase, until the response is complete.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testContextActiveFromBeginningOfApplyRequestValuesPhasetoResponseCompleteForJsfRequest()
{
assert false;
@@ -28,7 +28,7 @@
* response phase
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testContextActiveDuringRenderResponsePhaseForNonFacesJsfRequest()
{
assert false;
@@ -38,7 +38,7 @@
* Any JSF request has exactly one associated conversation
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testJsfRequestHasExactlyOneAssociatedConversation()
{
assert false;
@@ -49,7 +49,7 @@
* the restore view phase and does not change during the request
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testAssociatedConversationOfJsfRequestIsDeterminedAtEndOfRestoreViewPhase()
{
assert false;
@@ -60,7 +60,7 @@
* the restore view phase and does not change during the request
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testAssociatedConversationOfJsfRequestDoesNotChangeDuringRequest()
{
assert false;
@@ -70,7 +70,7 @@
* By default, a conversation is transient
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testDefaultConversationIsTransient()
{
assert false;
@@ -80,7 +80,7 @@
* All long-running conversations have a string-valued unique identifier
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testConversationsHaveUniqueStringIdentifiers()
{
assert false;
@@ -92,7 +92,7 @@
* conversation context is also destroyed.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testTransientConversationIsDestroyedAtEndOfJsfRequest()
{
assert false;
@@ -104,7 +104,7 @@
* conversation context is also destroyed.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testTransientConversationContextIsDestroyedAtEndOfJsfRequest()
{
assert false;
@@ -115,7 +115,7 @@
* long-running state at the end of a JSF request, it is not destroyed
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testLongRunningConversationNotDestroyedAtEndOfJsfRequest()
{
assert false;
@@ -127,7 +127,7 @@
* form submission) that originates from that rendered page.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testLongRunningConversationOfJsfRenderingRequestIsPropagatedToRequestFromRenderedPage()
{
assert false;
@@ -141,7 +141,7 @@
* parameter named cid containing the unique identifier of the conversation.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testLongRunningConversationOfJsfRedirectIsPropagatedToNonFacesRequest()
{
assert false;
@@ -154,7 +154,7 @@
* application must manage this request parameter
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testLongRunningConversationManuallyPropagatedToNonFacesRequest()
{
assert false;
@@ -165,7 +165,7 @@
* associated with a new transient conversation.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testNewTransientRequestIsCreatedWhenNoConversationIsPropagated()
{
assert false;
@@ -176,7 +176,7 @@
* session and may not cross session boundaries
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testLongRunningConversationsMayNotCrossHttpSessions()
{
assert false;
@@ -187,7 +187,7 @@
* conversation contexts created during the current session are destroyed
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testAllLongRunningConversationContextsOfInvalidatedHttpSessionAreDestroyed()
{
assert false;
@@ -199,7 +199,7 @@
* conserve resources
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testManagerCanDestroyOrphanedLongRunningConversations()
{
assert false;
@@ -210,7 +210,7 @@
* associated with a new transient conversation
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testNewTransientConversationIsCreatedWhenConversationCannotBeRestored()
{
assert false;
@@ -222,7 +222,7 @@
* concurrent requests.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.4")
+ @SpecAssertion(section = "8.5.4", id = "unknown")
public void testConcurrentRequestsToLongRunningConversationsAreHandled()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/passivating/PassivatingContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/passivating/PassivatingContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/passivating/PassivatingContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -18,7 +18,7 @@
* declare any passivating scope.
*/
@Test(groups = { "contexts", "passivation", "enterpriseBean", "integration" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testEJBWebBeanCanDeclarePassivatingScope()
{
deployBeans(Turku.class);
@@ -30,7 +30,7 @@
* serializable.
*/
@Test(groups = { "stub", "contexts", "passivation", "jms" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testJMSEndpointProxyIsSerializable()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/request/RequestContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/request/RequestContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/request/RequestContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -16,7 +16,7 @@
* the web application.
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeActiveDuringServiceMethod()
{
assert false;
@@ -27,7 +27,7 @@
* the Servlet service() method returns.
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeIsDestroyedAfterServiceMethod()
{
assert false;
@@ -37,7 +37,7 @@
* The request scope is active during any Java EE web service invocation.
*/
@Test(groups = { "stub", "contexts", "webservice" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeActiveDuringWebSericeInvocation()
{
assert false;
@@ -48,7 +48,7 @@
* completes
*/
@Test(groups = { "stub", "contexts", "webservice" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeIsDestroyedAfterWebServiceInvocation()
{
assert false;
@@ -60,7 +60,7 @@
* to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeActiveDuringRemoteMethodInvocationOfEjb()
{
assert false;
@@ -72,7 +72,7 @@
* to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeActiveDuringCallToEjbTimeoutMethod()
{
assert false;
@@ -84,7 +84,7 @@
* to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeActiveDuringEjbMessageDelivery()
{
assert false;
@@ -95,7 +95,7 @@
* timeout or message delivery completes.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeDestroyedAfterRemoteMethodInvocationOfEjb()
{
assert false;
@@ -106,7 +106,7 @@
* timeout or message delivery completes.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeDestroyedAfterCallToEjbTimeoutMethod()
{
assert false;
@@ -117,7 +117,7 @@
* timeout or message delivery completes.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.5.1")
+ @SpecAssertion(section = "8.5.1", id = "unknown")
public void testRequestScopeDestroyedAfterEjbMessageDelivery()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/session/SessionContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/session/SessionContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/session/SessionContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -16,7 +16,7 @@
* the web application
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "8.5.2")
+ @SpecAssertion(section = "8.5.2", id = "unknown")
public void testSessionScopeActiveDuringServiceMethod()
{
assert false;
@@ -27,7 +27,7 @@
* the same HTTP servlet session
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "8.5.2")
+ @SpecAssertion(section = "8.5.2", id = "unknown")
public void testSessionContextSharedBetweenServletRequestsInSameHttpSession()
{
assert false;
@@ -38,7 +38,7 @@
* times out.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5.2")
+ @SpecAssertion(section = "8.5.2", id = "unknown")
public void testSessionContextDestroyedWhenHttpSessionInvalidatedOrTimesOut()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -37,21 +37,21 @@
public class EventTest extends AbstractTest
{
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "7.4")
+ @SpecAssertion(section = "7.4", id = "unknown")
public void testObserverCalledBeforeTransactionCompleteMaySetRollbackOnly()
{
assert false;
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "7.4")
+ @SpecAssertion(section = "7.4", id = "unknown")
public void testObserverManipulatingJTATransactionsDirectlyFails()
{
assert false;
}
@Test(groups = { "events", "integration" })
- @SpecAssertion(section = "7.5")
+ @SpecAssertion(section = "7.5", id = "unknown")
public void testObserverMethodOnEnterpriseBeanIsBusinessMethodOrStatic()
{
deployBeans(Pomeranian.class);
@@ -62,35 +62,35 @@
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "7.5.6")
+ @SpecAssertion(section = "7.5.6", id = "unknown")
public void testTransactionalObserverNotifiedImmediatelyWhenNoTransactionInProgress()
{
assert false;
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "7.5.6")
+ @SpecAssertion(section = "7.5.6", id = "unknown")
public void testAfterTransactionCompletionObserver()
{
assert false;
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "7.5.6")
+ @SpecAssertion(section = "7.5.6", id = "unknown")
public void testAfterTransactionSuccessObserver()
{
assert false;
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "7.5.6")
+ @SpecAssertion(section = "7.5.6", id = "unknown")
public void testAfterTransactionFailureObserver()
{
assert false;
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "7.5.6")
+ @SpecAssertion(section = "7.5.6", id = "unknown")
public void testBeforeTransactionCompletionObserver()
{
assert false;
@@ -100,7 +100,7 @@
*
*/
@Test(groups = { "events", "integration" , "broken"})
- @SpecAssertion(section = "7.5.8")
+ @SpecAssertion(section = "7.5.8", id = "unknown")
public void testEnterpriseBeanObserverMethodCalledWithCallerContext()
{
deployBeans(Pomeranian.class);
@@ -115,7 +115,7 @@
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "7.5.8")
+ @SpecAssertion(section = "7.5.8", id = "unknown")
public void testTransactionalObserverThrownExceptionIsCaughtAndLogged()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/byname/ResolutionByNameTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/byname/ResolutionByNameTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/byname/ResolutionByNameTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,13 +12,13 @@
public class ResolutionByNameTest extends AbstractTest
{
- @Test(groups={"stub", "el"}) @SpecAssertion(section="5.10")
+ @Test(groups={"stub", "el"}) @SpecAssertion(section="5.10", id = "unknown")
public void testELResolverRegisteredWithJsf()
{
assert false;
}
- @Test(groups={"stub", "el"}) @SpecAssertion(section="5.10")
+ @Test(groups={"stub", "el"}) @SpecAssertion(section="5.10", id = "unknown")
public void testELResolverRegisteredWithServlet()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/manager/ManagerTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/manager/ManagerTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/manager/ManagerTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -6,7 +6,7 @@
public class ManagerTest extends AbstractTest
{
- @Test(groups={"stub", "manager", "ejb3"}) @SpecAssertion(section="5.8")
+ @Test(groups={"stub", "manager", "ejb3"}) @SpecAssertion(section="5.8", id = "unknown")
public void testManagerLookupInJndi()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/ContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/ContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/ContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -55,14 +55,16 @@
}
}
- @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"}) @SpecAssertion(section="8.5")
+ @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"})
+ @SpecAssertion(section="8.5", id = "unknown")
public void testGetContextWithNoActiveContextsFails()
{
configuration().getContexts().setInactive(configuration().getContexts().getRequestContext());
manager.getContext(RequestScoped.class);
}
- @Test(expectedExceptions={IllegalArgumentException.class}, groups={"manager"}) @SpecAssertion(section="8.5")
+ @Test(expectedExceptions={IllegalArgumentException.class}, groups={"manager"})
+ @SpecAssertion(section="8.5", id = "unknown")
public void testGetContextWithTooManyActiveContextsFails()
{
Context firstContext = new DummyContext() {};
@@ -72,13 +74,15 @@
manager.getContext(Dummy.class);
}
- @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"}) @SpecAssertion(section="8.5")
+ @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"})
+ @SpecAssertion(section="8.5", id = "unknown")
public void testGetContextWithNoRegisteredContextsFails()
{
manager.getContext(Unregistered.class);
}
- @Test(groups={"manager"}) @SpecAssertion(section="8.5")
+ @Test(groups={"manager"})
+ @SpecAssertion(section="8.5", id = "unknown")
public void testGetContextReturnsActiveContext()
{
manager.getContext(RequestScoped.class);
@@ -89,7 +93,7 @@
* method call, including invocation of EJB local business methods.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5")
+ @SpecAssertion(section = "8.5", id = "unknown")
public void testBuiltInNormalScopedContextsPropagateAcrossAnyJavaMethodCall()
{
assert false;
@@ -101,7 +105,7 @@
* service timeouts
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5")
+ @SpecAssertion(section = "8.5", id = "unknown")
public void testBuiltInNormalScopedContextsDoNotPropagateAcrossRemoteMethodInvocations()
{
assert false;
@@ -113,7 +117,7 @@
* service timeouts
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "8.5")
+ @SpecAssertion(section = "8.5", id = "unknown")
public void testBuiltInNormalScopedContextsDoNotPropagateAcrossAsynchronousMethodInvocations()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/NormalContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/NormalContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/NormalContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -68,7 +68,7 @@
* return an existing instance of the given contextual type, or
*/
@Test(groups = { "contexts", "stub" })
- @SpecAssertion(section = "8.1")
+ @SpecAssertion(section = "8.1", id = "unknown")
public void testGetReturnsExistingInstace()
{
assert false;
@@ -78,7 +78,7 @@
* if the value of the create parameter is false, return a null value, or
*/
@Test(groups = { "contexts", "stub" })
- @SpecAssertion(section = "8.1")
+ @SpecAssertion(section = "8.1", id = "unknown")
public void testGetWithCreateFalseReturnsNull()
{
assert false;
@@ -90,7 +90,7 @@
* instance.
*/
@Test(groups = { "contexts", "stub" })
- @SpecAssertion(section = "8.1")
+ @SpecAssertion(section = "8.1", id = "unknown")
public void testGetWithCreateTrueReturnsNewInstance()
{
assert false;
@@ -101,7 +101,7 @@
* is false or Contextual.create() returns a null value
*/
@Test(groups = { "contexts", "stub" })
- @SpecAssertion(section = "8.1")
+ @SpecAssertion(section = "8.1", id = "unknown")
public void testGetMayNotReturnNullUnlessCreateIsFalseOrContextualCreateReturnsNull()
{
assert false;
@@ -112,7 +112,7 @@
* type unless the create parameter is true
*/
@Test(groups = { "contexts", "stub" })
- @SpecAssertion(section = "8.1")
+ @SpecAssertion(section = "8.1", id = "unknown")
public void testGetMayNotCreateNewInstanceUnlessCreateIsTrue()
{
assert false;
@@ -133,7 +133,7 @@
* method.
*/
@Test(groups = { "contexts", "stub" })
- @SpecAssertion(section = "8.1")
+ @SpecAssertion(section = "8.1", id = "unknown")
public void testDestroyedInstanceMustNotBeReturnedByGet()
{
assert false;
@@ -145,7 +145,7 @@
* ContextNotActiveException.
*/
@Test(groups = { "contexts", "stub" })
- @SpecAssertion(section = "8.1")
+ @SpecAssertion(section = "8.1", id = "unknown")
public void testInvokingGetOnInactiveContextFails()
{
assert false;
@@ -156,7 +156,7 @@
* thread
*/
@Test(groups = { "contexts", "stub" })
- @SpecAssertion(section = "8.1")
+ @SpecAssertion(section = "8.1", id = "unknown")
public void testOnlyMappedInstancePerContextualTypePerThread()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -26,7 +26,7 @@
* injection points.
*/
@Test(groups = { "contexts", "injection" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testInstanceNotSharedBetweenInjectionPoints()
{
deployBeans(Fox.class, FoxRun.class);
@@ -46,7 +46,7 @@
* expression exists to service that evaluation only.
*/
@Test(groups = { "contexts", "el"})
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testInstanceUsedForElEvaluationNotShared() throws Exception
{
deployBeans(Fox.class);
@@ -73,7 +73,7 @@
* that invocation only
*/
@Test(groups = { "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testInstanceUsedForProducerMethodNotShared() throws Exception
{
deployBeans(SpiderProducer.class);
@@ -91,7 +91,7 @@
* that invocation only
*/
@Test(groups = { "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testInstanceUsedForProducerFieldNotShared() throws Exception
{
deployBeans(OtherSpiderProducer.class);
@@ -109,7 +109,7 @@
* that invocation only
*/
@Test(groups = { "stub", "contexts", "disposalMethod" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testInstanceUsedForDisposalMethodNotShared()
{
assert false;
@@ -121,7 +121,7 @@
* that invocation only
*/
@Test(groups = { "stub", "contexts", "observerMethod" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testInstanceUsedForObserverMethodNotShared()
{
assert false;
@@ -133,7 +133,7 @@
* of the given Web Bean
*/
@Test(groups = "contexts")
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextGetWithCreateTrueReturnsNewInstance() throws Exception
{
deployBeans(Fox.class);
@@ -159,7 +159,7 @@
* scope with the value false for the create parameter returns a null value
*/
@Test(groups = "contexts")
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextGetWithCreateFalseReturnsNull() throws Exception
{
deployBeans(Fox.class);
@@ -183,7 +183,7 @@
* The @Dependent scope is inactive except:
*/
@Test(groups = {"contexts"}, expectedExceptions = ContextNotActiveException.class)
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsInactive()
{
assert !manager.getContext(Dependent.class).isActive();
@@ -195,7 +195,7 @@
* or observer method invocation, or
*/
@Test(groups = { "stub", "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveWhenInvokingProducerMethod()
{
assert false;
@@ -207,7 +207,7 @@
* or observer method invocation, or
*/
@Test(groups = { "stub", "contexts", "producerField" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveWhenInvokingProducerField()
{
assert false;
@@ -220,7 +220,7 @@
* or observer method invocation, or
*/
@Test(groups = { "stub", "contexts", "disposalMethod" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveWhenInvokingDisposalMethod()
{
assert false;
@@ -232,7 +232,7 @@
* or observer method invocation, or
*/
@Test(groups = { "stub", "contexts", "observerMethod" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveWhenInvokingObserverMethod()
{
assert false;
@@ -242,7 +242,7 @@
* while a Unified EL expression is evaluated, or
*/
@Test(groups = { "stub", "contexts", "el" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveWhenEvaluatingElExpression()
{
assert false;
@@ -253,7 +253,7 @@
* injecting its dependencies, or
*/
@Test(groups = { "contexts", "beanLifecycle" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveDuringBeanCreation()
{
// Slightly roundabout, but I can't see a better way to test atm
@@ -268,7 +268,7 @@
* injecting its dependencies, or
*/
@Test(groups = { "stub", "contexts", "beanDestruction" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveDuringBeanDestruction()
{
assert false;
@@ -279,7 +279,7 @@
* injecting its dependencies, or
*/
@Test(groups = { "contexts", "injection" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testContextIsActiveDuringInjection()
{
deployBeans(FoxRun.class, Fox.class);
@@ -294,7 +294,7 @@
* invoked by the EJB container
*/
@Test(groups = { "contexts", "injection", "stub", "ejb3" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveDuringEJBDependencyInjection()
{
assert false;
@@ -306,7 +306,7 @@
* invoked by the EJB container
*/
@Test(groups = { "contexts", "injection", "stub", "servlet" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveDuringServletDependencyInjection()
{
assert false;
@@ -318,7 +318,7 @@
* invoked by the EJB container
*/
@Test(groups = { "contexts", "postconstruct", "stub", "ejb3" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveDuringEJBPostConstruct()
{
assert false;
@@ -330,7 +330,7 @@
* invoked by the EJB container
*/
@Test(groups = { "contexts", "predestroy", "stub", "ejb3" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testContextIsActiveDuringEJBPreDestroy()
{
assert false;
@@ -344,7 +344,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "constructor" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromConstructor()
{
assert false;
@@ -358,7 +358,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "removeMethod" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromRemoveMethod()
{
assert false;
@@ -372,7 +372,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "initalizerMethod" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromInitializerMethod()
{
assert false;
@@ -386,7 +386,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromProducerMethod()
{
assert false;
@@ -400,7 +400,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "disposalMethod" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromDisposalMethod()
{
assert false;
@@ -414,7 +414,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "preDestroy" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromPreDestroy()
{
assert false;
@@ -428,7 +428,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "postConstruct" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromPostConstruct()
{
assert false;
@@ -442,7 +442,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "interceptor" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromInterceptorOfActiveMethod()
{
assert false;
@@ -456,7 +456,7 @@
* from Web Beans interceptors or decorators for any of these methods
*/
@Test(groups = { "stub", "contexts", "decorator" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testWebBeanMayCreateInstanceFromDecoratorOfActiveMethod()
{
assert false;
@@ -469,7 +469,7 @@
* methods.
*/
@Test(groups = { "stub", "contexts", "ejb3", "initializerMethod" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testEjbBeanMayCreateInstanceFromInitializer()
{
assert false;
@@ -482,7 +482,7 @@
* methods.
*/
@Test(groups = { "stub", "contexts", "ejb3", "postConstruct" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testEjbBeanMayCreateInstanceFromPostConstruct()
{
assert false;
@@ -495,7 +495,7 @@
* methods.
*/
@Test(groups = { "stub", "contexts", "ejb3", "preDestroy" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testEjbBeanMayCreateInstanceFromPreDestroy()
{
assert false;
@@ -508,7 +508,7 @@
* methods.
*/
@Test(groups = { "stub", "contexts", "ejb3", "interceptor" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testEjbBeanMayCreateInstanceFromInterceptorOfActiveMethod()
{
assert false;
@@ -519,7 +519,7 @@
* by calling Manager.getInstance() from initializer methods
*/
@Test(groups = { "stub", "contexts", "servlet", "initializerMethod" })
- @SpecAssertion(section = "8.3.1")
+ @SpecAssertion(section = "8.3.1", id = "unknown")
public void testServletBeanMayCreateInstanceFromInitializer()
{
assert false;
@@ -530,7 +530,7 @@
* destroyed,
*/
@Test(groups = { "broken", "contexts", "beanDestruction" })
- @SpecAssertion(section = "8.3.2")
+ @SpecAssertion(section = "8.3.2", id = "unknown")
public void testDestroyingParentDestroysDependents()
{
deployBeans(Farm.class, Horse.class, Stable.class);
@@ -549,7 +549,7 @@
* or Servlet is destroyed,
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "8.3.2")
+ @SpecAssertion(section = "8.3.2", id = "unknown")
public void testDestroyingEjbDestroysDependents()
{
assert false;
@@ -560,7 +560,7 @@
* or Servlet is destroyed,
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "8.3.2")
+ @SpecAssertion(section = "8.3.2", id = "unknown")
public void testDestroyingServletDestroysDependents()
{
assert false;
@@ -571,7 +571,7 @@
* expression evaluation when the evaluation completes, and
*/
@Test(groups = { "stub", "contexts", "el" })
- @SpecAssertion(section = "8.3.2")
+ @SpecAssertion(section = "8.3.2", id = "unknown")
public void testDependentsDestroyedWhenElEvaluationCompletes()
{
assert false;
@@ -583,7 +583,7 @@
* invocation when the invocation completes
*/
@Test(groups = { "stub", "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3.2")
+ @SpecAssertion(section = "8.3.2", id = "unknown")
public void testDependentsDestroyedWhenProducerMethodCompletes()
{
assert false;
@@ -595,7 +595,7 @@
* invocation when the invocation completes
*/
@Test(groups = { "stub", "contexts", "producerField" })
- @SpecAssertion(section = "8.3.2")
+ @SpecAssertion(section = "8.3.2", id = "unknown")
public void testDependentsDestroyedWhenProducerFieldCompletes()
{
assert false;
@@ -607,7 +607,7 @@
* invocation when the invocation completes
*/
@Test(groups = { "stub", "contexts", "disposalMethod" })
- @SpecAssertion(section = "8.3.2")
+ @SpecAssertion(section = "8.3.2", id = "unknown")
public void testDependentsDestroyedWhenDisposalMethodCompletes()
{
assert false;
@@ -619,7 +619,7 @@
* invocation when the invocation completes
*/
@Test(groups = { "stub", "contexts", "observerMethod" })
- @SpecAssertion(section = "8.3")
+ @SpecAssertion(section = "8.3", id = "unknown")
public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/passivating/PassivatingContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/passivating/PassivatingContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/passivating/PassivatingContextTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -29,7 +29,7 @@
* initialization time.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleWebBeanWithNonSerializableImplementationClassFails()
{
deployBeans(Hamina_Broken.class);
@@ -42,20 +42,20 @@
* initialization time.
*/
@Test(groups = { "contexts", "passivation" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleWebBeanWithSerializableImplementationClassOK()
{
createSimpleBean(Jyvaskyla.class);
}
- @Test @SpecAssertion(section="8.4")
+ @Test @SpecAssertion(section="8.4", id = "unknown")
public void testInjectionOfDependentSerializableProductIntoNormalBean()
{
deployBeans(Generator.class, NumberConsumer.class);
manager.getInstanceByType(NumberConsumer.class).ping();
}
- @Test @SpecAssertion(section="8.4")
+ @Test @SpecAssertion(section="8.4", id = "unknown")
public void testInjectionOfDependentPrimitiveProductIntoNormalBean()
{
deployBeans(Generator.class, FooConsumer.class);
@@ -70,7 +70,7 @@
* @throws ClassNotFoundException
*/
@Test(groups = { "contexts", "passivation", "stub" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleWebBeanDeclaringPassivatingScopeIsSerializedWhenContextIsPassivated() throws IOException, ClassNotFoundException
{
assert false;
@@ -95,7 +95,7 @@
*/
// TODO requires an EJB instance
@Test(groups = { "contexts", "passivation", "broken", "stub" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testStatefulEJBIsSerializedWhenPassivatedByEJBContainer() throws IOException, ClassNotFoundException
{
assert false;
@@ -108,7 +108,7 @@
* with their owner
*/
@Test(groups = { "stub", "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentInterceptorsOfStatefulEnterpriseBeanMustBeSerializable()
{
deployBeans(Kaarina_Broken.class);
@@ -121,7 +121,7 @@
* with their owner
*/
@Test(groups = { "stub", "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentDecoratorsOfStatefulEnterpriseBeanMustBeSerializable()
{
deployBeans(Porvoo_Broken.class);
@@ -134,7 +134,7 @@
* with their owner
*/
@Test(groups = { "stub", "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentInterceptorsOfWebBeanWithPassivatingScopeMustBeSerializable()
{
deployBeans(Kotka_Broken.class);
@@ -147,7 +147,7 @@
* with their owner
*/
@Test(groups = { "stub", "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentDecoratorsOfWebBeansWithPassivatingScopeMustBeSerializable()
{
deployBeans(Raisio_Broken.class);
@@ -161,7 +161,7 @@
* @throws IOException
*/
@Test(groups = { "contexts", "passivation" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentEJBsAreSerializable() throws IOException, ClassNotFoundException
{
deployBeans(Vaasa.class, Helsinki.class);
@@ -180,7 +180,7 @@
* at initialization time.
*/
@Test(groups = { "stub", "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoStatefulSessionBeanFails()
{
deployBeans(Violation.class, Espoo_Broken.class);
@@ -197,7 +197,7 @@
* at initialization time.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoNonTransientFieldOfWebBeanWithPassivatingScopeFails()
{
deployBeans(Vantaa_Broken.class, Violation.class);
@@ -213,7 +213,7 @@
* at initialization time.
*/
@Test(groups = { "contexts", "passivation" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK()
{
createSimpleBean(Joensuu.class);
@@ -229,7 +229,7 @@
* at initialization time.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoConstructorParameterOfWebBeanWithPassivatingScopeFails()
{
deployBeans(Loviisa_Broken.class, Violation.class);
@@ -245,7 +245,7 @@
* at initialization time.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoInitializerParameterOfWebBeanWithPassivatingScopeFails()
{
deployBeans(Forssa_Broken.class, Violation.class);
@@ -261,7 +261,7 @@
* at initialization time.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = UnserializableDependencyException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoProducerMethodParameterWithPassivatingScopeFails()
{
deployBeans(Peraseinajoki.class, Violation.class, Violation2.class);
@@ -279,7 +279,7 @@
* @throws SecurityException
*/
@Test(groups = { "contexts", "passivation", "integration", "broken" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBeanFails() throws SecurityException, NoSuchMethodException
{
deployBeans(CityProducer2.class, Maarianhamina_Broken.class);
@@ -295,7 +295,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoNonTransientFieldOfWebBeanWithPassivatingScopeFails()
{
deployBeans(CityProducer2.class, Nokia_Broken.class);
@@ -311,7 +311,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoTransientFieldOfWebBeanWithPassivatingScopeOK()
{
createSimpleBean(CityProducer2.class);
@@ -327,7 +327,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoConstructorParameterOfWebBeanWithPassivatingScopeFails()
{
deployBeans(CityProducer2.class, Loviisa_Broken.class);
@@ -343,7 +343,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoInitializerParameterOfWebBeanWithPassivatingScopeFails()
{
deployBeans(CityProducer2.class, Kuopio_Broken.class);
@@ -359,7 +359,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoProducerMethodParameterWithPassivatingScopeFails()
{
deployBeans(CityProducer2.class, Jamsa_Broken.class);
@@ -376,7 +376,7 @@
*
*/
@Test(groups = { "contexts", "passivation", "stub" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBeanFails() throws Exception
{
// TODO This doesn't test injction in a SFSB, but into a Enterprise bean
@@ -394,7 +394,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoNonTransientFieldOfWebBeanWithPassivatingScopeFails()
{
deployBeans(CityProducer.class, Uusikaupunki_Broken.class);
@@ -410,7 +410,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoTransientFieldOfWebBeanWithPassivatingScopeOK()
{
deployBeans(CityProducer.class, Salo_Broken.class);
@@ -426,7 +426,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoConstructorParameterOfWebBeanWithPassivatingScopeFails()
{
deployBeans(CityProducer.class, Loviisa_Broken.class);
@@ -442,7 +442,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoInitializerParameterOfWebBeanWithPassivatingScopeFails()
{
deployBeans(CityProducer.class, Mikkeli_Broken.class);
@@ -458,7 +458,7 @@
* IllegalProductException is thrown by the Web Bean manager.
*/
@Test(groups = { "contexts", "passivation" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "8.4", id = "unknown")
public void testDependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoProducerMethodParameterWithPassivatingScopeFails()
{
// TODO Not quite sure what this test is doing
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/bean/BeanDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/bean/BeanDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/bean/BeanDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -8,6 +8,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -24,7 +25,7 @@
// throws a definition exception if any of these occur
@Test
- @SpecAssertion(section = "2")
+ @SpecAssertion(section = "2", id = "unknown")
public void testApiTypesNonEmpty()
{
Bean<?> model = createSimpleBean(RedSnapper.class);
@@ -32,7 +33,7 @@
}
@Test
- @SpecAssertion(section = "2")
+ @SpecAssertion(section = "2", id = "unknown")
public void testBindingTypesNonEmpty()
{
Bean<?> model = createSimpleBean(RedSnapper.class);
@@ -40,7 +41,7 @@
}
@Test
- @SpecAssertion(section = "2")
+ @SpecAssertion(section = "2", id = "unknown")
public void testHasScopeType()
{
Bean<?> model = createSimpleBean(RedSnapper.class);
@@ -48,7 +49,7 @@
}
@Test
- @SpecAssertion(section = "2")
+ @SpecAssertion(section = "2", id = "unknown")
public void testHasDeploymentType()
{
Bean<?> model = createSimpleBean(RedSnapper.class);
@@ -57,7 +58,7 @@
@SuppressWarnings("unchecked")
@Test(groups = "producerMethod")
- @SpecAssertion(section = "5.2")
+ @SpecAssertion(section = "5.2", id = "unknown")
public void testIsNullable() throws Exception
{
Bean<SpiderProducer> spiderProducerBean = createSimpleBean(SpiderProducer.class);
@@ -71,7 +72,10 @@
}
@Test
- @SpecAssertion(section = { "3.2.2", "2.2" })
+ @SpecAssertions({
+ @SpecAssertion(section = "3.2.2", id = "unknown"),
+ @SpecAssertion(section = "2.2", id = "unknown")
+ })
public void testBeanTypes()
{
Bean<Tarantula> bean = createSimpleBean(Tarantula.class);
@@ -85,7 +89,7 @@
}
@Test
- @SpecAssertion(section = "2.2")
+ @SpecAssertion(section = "2.2", id = "unknown")
public void testFinalApiType()
{
createSimpleBean(DependentFinalTuna.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/binding/BindingDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/binding/BindingDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/binding/BindingDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,6 +12,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.jboss.webbeans.tck.impl.literals.CurrentBinding;
import org.jboss.webbeans.tck.impl.util.MockCreationalContext;
import org.jboss.webbeans.tck.impl.util.Reflections;
@@ -31,7 +32,11 @@
return deploymentTypes;
}
- @Test @SpecAssertion(section={"2.3.3", "2.3.1"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "2.3.3", id = "unknown"),
+ @SpecAssertion(section = "2.3.1", id = "unknown")
+ })
public void testDefaultBindingDeclaredInJava()
{
Bean<Order> order = createSimpleBean(Order.class);
@@ -39,26 +44,29 @@
order.getBindings().iterator().next().annotationType().equals(Production.class);
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.3.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.3.2", id = "unknown")
public void testBindingHasCorrectTarget()
{
assert false;
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.3.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.3.2", id = "unknown")
public void testBindingHasCorrectRetention()
{
assert false;
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.3.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.3.2", id = "unknown")
public void testBindingDeclaresBindingAnnotation()
{
assert false;
}
@SuppressWarnings("unchecked")
- @Test @SpecAssertion(section="2.3.3")
+ @Test @SpecAssertion(section="2.3.3", id = "unknown")
public void testBindingsDeclaredInJava()
{
Bean<Cat> cat = createSimpleBean(Cat.class);
@@ -66,14 +74,15 @@
assert Reflections.annotationSetMatches(cat.getBindings(), Synchronous.class);
}
- @Test @SpecAssertion(section="2.3.3")
+ @Test @SpecAssertion(section="2.3.3", id = "unknown")
public void testMultipleBindings()
{
Bean<?> model = createSimpleBean(Cod.class);
assert model.getBindings().size() == 2;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.3.4")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.3.4", id = "unknown")
public void testBindingsDeclaredInXml()
{
//Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -85,7 +94,8 @@
assert false;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.3.4")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.3.4", id = "unknown")
public void testXmlBindingOverridesAndIgnoresJava()
{
//Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -98,7 +108,8 @@
assert false;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.3.4")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.3.4", id = "unknown")
public void testNoBindingsDeclaredInXml()
{
//Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -110,7 +121,11 @@
assert false;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section={"2.3.4", "2.3.1"})
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertions({
+ @SpecAssertion(section = "2.3.4", id = "unknown"),
+ @SpecAssertion(section = "2.3.1", id = "unknown")
+ })
public void testDefaultBindingDeclaredInXml()
{
Bean<?> model = createSimpleBean(Tuna.class);
@@ -119,7 +134,8 @@
assert false;
}
- @Test(groups={"injection", "producerMethod"}) @SpecAssertion(section="2.3.5")
+ @Test(groups={"injection", "producerMethod"})
+ @SpecAssertion(section="2.3.5", id = "unknown")
public void testFieldInjectedFromProducerMethod() throws Exception
{
Bean<SpiderProducer> spiderProducer = createSimpleBean(SpiderProducer.class);
@@ -131,13 +147,15 @@
assert barn.petSpider instanceof DefangedTarantula;
}
- @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="2.3.5")
+ @Test(groups={"stub", "injection", "webbeansxml"})
+ @SpecAssertion(section="2.3.5", id = "unknown")
public void testFieldWithBindingInXml()
{
assert false;
}
- @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="2.3.5")
+ @Test(groups={"stub", "injection", "webbeansxml"})
+ @SpecAssertion(section="2.3.5", id = "unknown")
public void testFieldWithBindingInXmlIgnoresAnnotations()
{
assert false;
@@ -158,19 +176,21 @@
assert spider instanceof DefangedTarantula;
}
- @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="2.3.6")
+ @Test(groups={"stub", "injection", "webbeansxml"})
+ @SpecAssertion(section="2.3.6", id = "unknown")
public void testMethodWithBindingAnnotationsOnParametersDeclaredInXml()
{
assert false;
}
- @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="2.3.6")
+ @Test(groups={"stub", "injection", "webbeansxml"})
+ @SpecAssertion(section="2.3.6", id = "unknown")
public void testMethodWithBindingAnnotationsOnParametersDeclaredInXmlIgnoresAnnotations()
{
assert false;
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testBindingDeclaredInheritedIsInherited() throws Exception
{
Set<? extends Annotation> bindings = createSimpleBean(BorderCollie.class).getBindings();
@@ -178,7 +198,7 @@
assert bindings.iterator().next().annotationType().equals(Hairy.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testBindingNotDeclaredInheritedIsNotInherited()
{
Set<? extends Annotation> bindings = createSimpleBean(ShetlandPony.class).getBindings();
@@ -186,7 +206,7 @@
assert bindings.iterator().next().annotationType().equals(Current.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testBindingDeclaredInheritedIsBlockedByIntermediateClass()
{
Set<? extends Annotation> bindings = createSimpleBean(ClippedBorderCollie.class).getBindings();
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/BrokenDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/BrokenDeploymentTypeTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/BrokenDeploymentTypeTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -18,7 +18,8 @@
{
@SuppressWarnings("unchecked")
- @Test(expectedExceptions=DeploymentException.class) @SpecAssertion(section="2.5.6")
+ @Test(expectedExceptions=DeploymentException.class)
+ @SpecAssertion(section="2.5.6", id = "unknown")
public void testStandardMustBeDeclared()
{
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/CustomDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/CustomDeploymentTypeTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/CustomDeploymentTypeTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -10,6 +10,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -28,7 +29,11 @@
}
@SuppressWarnings("unchecked")
- @Test @SpecAssertion(section={"2.5.6", "2.5.7"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "2.5.6", id = "unknown"),
+ @SpecAssertion(section = "2.5.7", id = "unknown")
+ })
public void testCustomDeploymentTypes()
{
assert configuration().getManagers().getEnabledDeploymentTypes().size() == 3;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DefaultDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DefaultDeploymentTypeTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DefaultDeploymentTypeTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -7,6 +7,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -17,7 +18,11 @@
public class DefaultDeploymentTypeTest extends AbstractTest
{
- @Test @SpecAssertion(section={"2.5.6", "2.5.7"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "2.5.6", id = "unknown"),
+ @SpecAssertion(section = "2.5.7", id = "unknown")
+ })
public void testDefaultEnabledDeploymentTypes()
{
assert configuration().getManagers().getEnabledDeploymentTypes().size() == 2;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DeploymentTypeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DeploymentTypeDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DeploymentTypeDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,6 +12,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -32,38 +33,43 @@
return deploymentTypes;
}
- @Test(expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.5.1")
+ @Test(expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section="2.5.1", id = "unknown")
public void testNonBuiltInComponentUsesStandard()
{
createSimpleBean(Gazelle_Broken.class);
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.5.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.5.2", id = "unknown")
public void testDeploymentTypeHasCorrectTarget()
{
assert false;
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.5.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.5.2", id = "unknown")
public void testDeploymentTypeHasCorrectRetention()
{
assert false;
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.5.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.5.2", id = "unknown")
public void testDeploymentTypeDeclaresScopeTypeAnnotation()
{
assert false;
}
- @Test(expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.5.3")
+ @Test(expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section="2.5.3", id = "unknown")
public void testTooManyDeploymentTypes()
{
createSimpleBean(BeanWithTooManyDeploymentTypes_Broken.class);
}
@SuppressWarnings("unchecked")
- @Test @SpecAssertion(section="2.5.3")
+ @Test @SpecAssertion(section="2.5.3", id = "unknown")
public void testDeploymentTypeInhertitedFromDeclaringBean() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -73,7 +79,8 @@
assert blackWidowSpiderModel.getDeploymentType().equals(AnotherDeploymentType.class);
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.5.4")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.5.4", id = "unknown")
public void testXmlDeploymentTypeOverridesJava()
{
//Map<Class<? extends Annotation>, Annotation> xmlDefinedDeploymentTypeAnnotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -87,7 +94,8 @@
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.5.4")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.5.4", id = "unknown")
public void testXmlRespectsJavaDeploymentType()
{
//AnnotatedClass<Tuna> annotatedItem = new SimpleAnnotatedClass<Tuna>(Tuna.class, new HashMap<Class<? extends Annotation>, Annotation>());
@@ -96,7 +104,8 @@
assert false;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.5.5")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.5.5", id = "unknown")
public void testXmlDefaultDeploymentType()
{
//AnnotatedClass<Antelope> antelopeAnnotatedItem = new SimpleAnnotatedClass<Antelope>(Antelope.class, new HashMap<Class<? extends Annotation>, Annotation>());
@@ -105,7 +114,7 @@
assert false;
}
- @Test @SpecAssertion(section="2.5.5")
+ @Test @SpecAssertion(section="2.5.5", id = "unknown")
public void testHighestPrecedenceDeploymentTypeFromStereotype()
{
Bean<?> bean = createSimpleBean(Rhinoceros.class);
@@ -113,7 +122,8 @@
}
@SuppressWarnings("unchecked")
- @Test(groups="beanLifecycle", expectedExceptions=UnsatisfiedDependencyException.class) @SpecAssertion(section="2.5.6")
+ @Test(groups="beanLifecycle", expectedExceptions=UnsatisfiedDependencyException.class)
+ @SpecAssertion(section="2.5.6", id = "unknown")
public void testBeanWithDisabledDeploymentTypeNotInstantiated()
{
Bean<RedSnapper> bean = createSimpleBean(RedSnapper.class);
@@ -124,38 +134,44 @@
- @Test(groups={"stub", "webbeansxml"}, expectedExceptions=DeploymentException.class) @SpecAssertion(section="2.5.6")
+ @Test(groups={"stub", "webbeansxml"}, expectedExceptions=DeploymentException.class)
+ @SpecAssertion(section="2.5.6", id = "unknown")
public void testMultipleDeployElementsCannotBeDefined()
{
}
- @Test @SpecAssertion(section={"2.5.5", "2.7.2", "4.1"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section= "2.5.5", id = "unknown"),
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "4.1", id = "unknown")
+ })
public void testWebBeanDeploymentTypeOverridesStereotype()
{
Bean<Reindeer> bean = createSimpleBean(Reindeer.class);
assert bean.getDeploymentType().equals(Production.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testDeploymentTypeDeclaredInheritedIsInherited() throws Exception
{
assert createSimpleBean(BorderCollie.class).getDeploymentType().equals(AnotherDeploymentType.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testDeploymentTypeNotDeclaredInheritedIsNotInherited()
{
assert createSimpleBean(ShetlandPony.class).getDeploymentType().equals(Production.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypeNotMarkedInherited()
{
assert createSimpleBean(GoldenRetriever.class).getDeploymentType().equals(Production.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypeMarkedInherited()
{
assert createSimpleBean(GoldenLabrador.class).getDeploymentType().equals(InheritedDeploymentType.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/name/NameDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/name/NameDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/name/NameDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -8,6 +8,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -26,20 +27,22 @@
return deploymentTypes;
}
- @Test(groups="stub", expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.6")
+ @Test(groups="stub", expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section="2.6", id = "unknown")
public void testInvalidElIdentifierUsedAsWebBeanName()
{
assert false;
}
- @Test @SpecAssertion(section="2.6.1")
+ @Test @SpecAssertion(section="2.6.1", id = "unknown")
public void testNonDefaultNamed()
{
Bean<Moose> moose = createSimpleBean(Moose.class);
assert moose.getName().equals("aMoose");
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.6.2")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.6.2", id = "unknown")
public void testNonDefaultXmlNamed()
{
/*Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -58,7 +61,8 @@
assert false;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.6.2")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.6.2", id = "unknown")
public void testXmlNamedOverridesJavaNamed()
{
/*Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -77,7 +81,11 @@
assert false;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section={"2.6.2", "2.6.3"})
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertions({
+ @SpecAssertion(section="2.6.2", id = "unknown"),
+ @SpecAssertion(section = "2.6.3",id = "unknown")
+ })
public void testJavaNamedUsedWhenNoXmlSpecified()
{
//Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -88,7 +96,11 @@
assert false;
}
- @Test @SpecAssertion(section={"2.6.3", "3.2.7"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section= "2.6.3", id = "unknown"),
+ @SpecAssertion(section = "3.2.7", id = "unknown")
+ })
public void testDefaultNamed()
{
Bean<Haddock> haddock = createSimpleBean(Haddock.class);
@@ -96,7 +108,8 @@
assert haddock.getName().equals("haddock");
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.6.3")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.6.3", id = "unknown")
public void testDefaultXmlNamed()
{
/*Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -116,28 +129,32 @@
assert false;
}
- @Test @SpecAssertion(section={"2.6.3", "2.7"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "2.6.3", id = "unknown"),
+ @SpecAssertion(section = "2.7", id = "unknown")
+ })
public void testSterotypeDefaultsName()
{
Bean<RedSnapper> model = createSimpleBean(RedSnapper.class);
assert model.getName().equals("redSnapper");
}
- @Test @SpecAssertion(section="2.6.4")
+ @Test @SpecAssertion(section="2.6.4", id = "unknown")
public void testNotNamedInJava()
{
Bean<SeaBass> model = createSimpleBean(SeaBass.class);
assert model.getName() == null;
}
- @Test @SpecAssertion(section="2.6.4")
+ @Test @SpecAssertion(section="2.6.4", id = "unknown")
public void testNotNamedInXml()
{
Bean<SeaBass> model = createSimpleBean(SeaBass.class);
assert model.getName() == null;
}
- @Test @SpecAssertion(section="2.6.4")
+ @Test @SpecAssertion(section="2.6.4", id = "unknown")
public void testNotNamedInStereotype()
{
Bean<Minnow> model = createSimpleBean(Minnow.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/scope/ScopeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/scope/ScopeDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/scope/ScopeDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -8,6 +8,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -18,39 +19,43 @@
public class ScopeDefinitionTest extends AbstractTest
{
- @Test @SpecAssertion(section="2.4")
+ @Test @SpecAssertion(section="2.4", id = "unknown")
public void testScopeTypesAreExtensible()
{
Bean<Mullet> mullet = createSimpleBean(Mullet.class);
assert mullet.getScopeType().equals(AnotherScopeType.class);
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.4.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.4.2", id = "unknown")
public void testScopeTypeHasCorrectTarget()
{
assert false;
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.4.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.4.2", id = "unknown")
public void testScopeTypeHasCorrectRetention()
{
assert false;
}
- @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.4.2")
+ @Test(groups={"stub", "annotationDefinition"})
+ @SpecAssertion(section="2.4.2", id = "unknown")
public void testScopeTypeDeclaresScopeTypeAnnotation()
{
assert false;
}
- @Test @SpecAssertion(section="2.4.3")
+ @Test @SpecAssertion(section="2.4.3", id = "unknown")
public void testScopeDeclaredInJava()
{
Bean<SeaBass> trout = createSimpleBean(SeaBass.class);
assert trout.getScopeType().equals(RequestScoped.class);
}
- @Test(expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.4.3")
+ @Test(expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section="2.4.3", id = "unknown")
public void testTooManyScopesSpecifiedInJava()
{
createSimpleBean(BeanWithTooManyScopeTypes.class);
@@ -66,7 +71,8 @@
//createSimpleBean(null, antelopeAnnotatedItem, manager);
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.4.4")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.4.4", id = "unknown")
public void testScopeDeclaredInXml()
{
//Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -78,7 +84,8 @@
assert false;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.4.4")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.4.4", id = "unknown")
public void testScopeMissingInXml()
{
//Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -89,7 +96,8 @@
assert false;
}
- @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.4.4")
+ @Test(groups={"stub", "webbeansxml"})
+ @SpecAssertion(section="2.4.4", id = "unknown")
public void testScopeDeclaredInXmlOverridesJava()
{
//Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -100,66 +108,75 @@
assert false;
}
- @Test @SpecAssertion(section="2.4.5")
+ @Test @SpecAssertion(section="2.4.5", id = "unknown")
public void testDefaultScope()
{
Bean<Order> order = createSimpleBean(Order.class);
assert order.getScopeType().equals(Dependent.class);
}
- @Test @SpecAssertion(section={"2.4.5", "2.7.2"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "2.4.5", id = "unknown"),
+ @SpecAssertion(section = "2.7.2", id = "unknown")
+ })
public void testScopeSpecifiedAndStereotyped()
{
Bean<Minnow> minnow = createSimpleBean(Minnow.class);
assert minnow.getScopeType().equals(RequestScoped.class);
}
- @Test(expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.4.5")
+ @Test(expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section="2.4.5", id = "unknown")
public void testMutipleIncompatibleScopeStereotypes()
{
createSimpleBean(Scallop_Broken.class);
}
- @Test @SpecAssertion(section="2.4.5")
+ @Test @SpecAssertion(section="2.4.5", id = "unknown")
public void testMutipleIncompatibleScopeStereotypesWithScopeSpecified()
{
Bean<Pollock> pollock = createSimpleBean(Pollock.class);
assert pollock.getScopeType().equals(Dependent.class);
}
- @Test @SpecAssertion(section="2.4.5")
+ @Test @SpecAssertion(section="2.4.5", id = "unknown")
public void testMutipleCompatibleScopeStereotypes()
{
Bean<Grayling> grayling = createSimpleBean(Grayling.class);
assert grayling.getScopeType().equals(ApplicationScoped.class);
}
- @Test @SpecAssertion(section={"2.7.2", "4.1"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "4.1", id = "unknown")
+ })
public void testWebBeanScopeTypeOverridesStereotype()
{
Bean<RedSnapper> bean = createSimpleBean(RedSnapper.class);
assert bean.getScopeType().equals(RequestScoped.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testScopeTypeDeclaredInheritedIsInherited() throws Exception
{
assert createSimpleBean(BorderCollie.class).getScopeType().equals(RequestScoped.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testScopeTypeNotDeclaredInheritedIsNotInherited()
{
assert createSimpleBean(ShetlandPony.class).getScopeType().equals(Dependent.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited()
{
assert createSimpleBean(GoldenRetriever.class).getScopeType().equals(ApplicationScoped.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited()
{
assert createSimpleBean(GoldenLabrador.class).getScopeType().equals(Dependent.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/stereotype/StereotypeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/stereotype/StereotypeDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/stereotype/StereotypeDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,6 +12,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -32,28 +33,28 @@
}
@Test(groups = { "stub", "annotationDefinition" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "2.7.1")
+ @SpecAssertion(section = "2.7.1", id = "unknown")
public void testHasCorrectTarget()
{
assert false;
}
@Test(groups = { "stub", "annotationDefinition" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "2.7.1")
+ @SpecAssertion(section = "2.7.1", id = "unknown")
public void testHasCorrectRetention()
{
assert false;
}
@Test(groups = { "stub", "annotationDefinition" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "2.7.1")
+ @SpecAssertion(section = "2.7.1", id = "unknown")
public void testHasStereotypeAnnotation()
{
assert false;
}
@Test
- @SpecAssertion(section = "2.7.1.1")
+ @SpecAssertion(section = "2.7.1.1", id = "unknown")
public void testStereotypeWithScopeType()
{
Bean<Moose> moose = createSimpleBean(Moose.class);
@@ -61,7 +62,7 @@
}
@Test
- @SpecAssertion(section = "2.7.1.1")
+ @SpecAssertion(section = "2.7.1.1", id = "unknown")
public void testStereotypeWithoutScopeType()
{
Bean<Reindeer> reindeer = createSimpleBean(Reindeer.class);
@@ -69,49 +70,52 @@
}
@Test(groups = "stub")
- @SpecAssertion(section = "2.7.1.2")
+ @SpecAssertion(section = "2.7.1.2", id = "unknown")
public void testStereotypeWithoutInterceptors()
{
assert false;
}
@Test(groups = { "stub", "interceptors" })
- @SpecAssertion(section = "2.7.1.2")
+ @SpecAssertion(section = "2.7.1.2", id = "unknown")
public void testStereotypeWithInterceptors()
{
assert false;
}
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "2.7.1.1")
+ @SpecAssertion(section = "2.7.1.1", id = "unknown")
public void testStereotypeWithTooManyScopeTypes()
{
deployBeans(Elk_Broken.class);
}
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "2.7.1.1")
+ @SpecAssertion(section = "2.7.1.1", id = "unknown")
public void testStereotypeWithTooManyDeploymentTypes()
{
deployBeans(Gazelle_Broken.class);
}
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "2.7.1.3")
+ @SpecAssertion(section = "2.7.1.3", id = "unknown")
public void testStereotypeWithNonEmptyNamed()
{
deployBeans(FallowDeer_Broken.class);
}
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "2.7.1")
+ @SpecAssertion(section = "2.7.1", id = "unknown")
public void testStereotypeWithBindingTypes()
{
deployBeans(RoeDeer_Broken.class);
}
-
+
@Test
- @SpecAssertion(section = { "2.7.2", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testMultipleStereotypes()
{
Bean<HighlandCow> highlandCow = createSimpleBean(HighlandCow.class);
@@ -122,7 +126,10 @@
}
@Test
- @SpecAssertion(section = { "2.7.2", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testMultipleStereotypesMergesScopes()
{
Bean<Springbok> springbok = createSimpleBean(Springbok.class);
@@ -130,28 +137,37 @@
}
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = { "2.7.2", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testMultipleStereotypesMergesRequiredTypes()
{
deployBeans(Antelope_Broken.class);
}
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = { "2.7.2", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testMultipleStereotypesWithMultipleDeploymentTypes()
{
deployBeans(Goat_Broken.class);
}
@Test(expectedExceptions = DefinitionException.class, groups = "stub")
- @SpecAssertion(section = { "2.7.2", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testMultipleStereotypesWithMultipleScopeTypes()
{
assert false;
}
@Test(groups = { "stub", "webbeansxml" })
- @SpecAssertion(section = "2.7.3")
+ @SpecAssertion(section = "2.7.3", id = "unknown")
public void testStereotypeDeclaredInXmlIgnoresJavaStereotypes()
{
// Map<Class<? extends Annotation>, Annotation> cooXmlAnnotations = new
@@ -175,7 +191,7 @@
}
@Test(groups = { "stub", "webbeansxml" })
- @SpecAssertion(section = "2.7.3")
+ @SpecAssertion(section = "2.7.3", id = "unknown")
public void testStereotypeDeclaredInXmlIgnoresJavaBindingTypes()
{
// Map<Class<? extends Annotation>, Annotation> cooXmlAnnotations = new
@@ -198,40 +214,52 @@
}
@Test
- @SpecAssertion(section = { "2.7.1.4", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.1.4", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testRequiredTypeIsImplemented()
{
assert createSimpleBean(HighlandCow.class).getTypes().contains(Animal.class);
}
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = { "2.7.1.4", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.1.4", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testRequiredTypeIsNotImplemented()
{
deployBeans(Chair_Broken.class);
}
@Test
- @SpecAssertion(section = { "2.7.1.4", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.1.4", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testScopeIsSupported()
{
assert createSimpleBean(Goldfish.class).getScopeType().equals(RequestScoped.class);
}
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = { "2.7.1.4", "2.7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.1.4", id = "unknown"),
+ @SpecAssertion(section = "2.7.4", id = "unknown")
+ })
public void testScopeIsNotSupported()
{
createSimpleBean(Carp_Broken.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testStereotypeDeclaredInheritedIsInherited() throws Exception
{
assert createSimpleBean(BorderCollie.class).getScopeType().equals(RequestScoped.class);
}
- @Test @SpecAssertion(section="4.1")
+ @Test @SpecAssertion(section="4.1", id = "unknown")
public void testStereotypeNotDeclaredInheritedIsNotInherited()
{
assert createSimpleBean(ShetlandPony.class).getDeploymentType().equals(Production.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/type/ApiTypeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/type/ApiTypeDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/type/ApiTypeDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -14,7 +14,7 @@
public class ApiTypeDefinitionTest extends AbstractTest
{
- @Test @SpecAssertion(section="2.6.3")
+ @Test @SpecAssertion(section="2.6.3", id = "unknown")
public void testDefaultNamed()
{
Bean<Haddock> haddock = createSimpleBean(Haddock.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/EventTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/EventTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/EventTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -17,6 +17,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -90,7 +91,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.1")
+ @SpecAssertion(section = "7.1", id = "unknown")
public void testEventTypeIncludesAllSuperclassesAndInterfacesOfEventObject() throws Exception
{
// Fire a single complex type of event with many observers
@@ -109,7 +110,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.2")
+ @SpecAssertion(section = "7.2", id = "unknown")
public void testManagerFireEvent()
{
// First a simple event with no bindings is fired
@@ -125,7 +126,10 @@
* variables or wildcards, an IllegalArgumentException is thrown
*/
@Test(groups = { "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = { "7.1", "7.2" })
+ @SpecAssertions({
+ @SpecAssertion(section = "7.1", id = "unknown"),
+ @SpecAssertion(section = "7.2", id = "unknown")
+ })
public void testManagerFireEventWithEventTypeParametersFails()
{
ATemplatedEventType<String> anEvent = new ATemplatedEventType<String>();
@@ -137,7 +141,10 @@
* variables or wildcards, an IllegalArgumentException is thrown
*/
@Test(groups = { "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = { "7.1", "7.2" })
+ @SpecAssertions({
+ @SpecAssertion(section = "7.1", id = "unknown"),
+ @SpecAssertion(section = "7.2", id = "unknown")
+ })
public void testManagerFireEventWithEventTypeWildcardsFails()
{
// Although the above test is really the same as with a wildcard, we will
@@ -148,7 +155,10 @@
}
@Test(groups = { "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = { "7.1", "7.2" })
+ @SpecAssertions({
+ @SpecAssertion(section = "7.1", id = "unknown"),
+ @SpecAssertion(section = "7.2", id = "unknown")
+ })
public void testManagerFireEventWithNonBindingAnnotationsFails()
{
// The specs are not exactly clear on what is supposed to happen here,
@@ -160,7 +170,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.3")
+ @SpecAssertion(section = "7.3", id = "unknown")
public void testManagerAddObserver()
{
Observer<AnEventType> observer = new AnObserver();
@@ -208,7 +218,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.3")
+ @SpecAssertion(section = "7.3", id = "unknown")
public void testManagerRemoveObserver()
{
Observer<AnEventType> observer = new AnObserver();
@@ -242,7 +252,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DuplicateBindingTypeException.class })
- @SpecAssertion(section = "7.3")
+ @SpecAssertion(section = "7.3", id = "unknown")
public void testMultipleInstancesOfSameBindingTypeWhenAddingObserverFails()
{
Observer<AnEventType> observer = new AnObserver();
@@ -250,7 +260,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = "7.3")
+ @SpecAssertion(section = "7.3", id = "unknown")
public void testNonBindingTypePassedToAddObserverFails()
{
Observer<AnEventType> observer = new AnObserver();
@@ -258,7 +268,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DuplicateBindingTypeException.class })
- @SpecAssertion(section = "7.3")
+ @SpecAssertion(section = "7.3", id = "unknown")
public void testMultipleInstancesOfSameBindingTypeWhenRemovingObserverFails()
{
Observer<AnEventType> observer = new AnObserver();
@@ -267,7 +277,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = "7.3")
+ @SpecAssertion(section = "7.3", id = "unknown")
public void testNonBindingTypePassedToRemoveObserverFails()
{
Observer<AnEventType> observer = new AnObserver();
@@ -276,7 +286,10 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = { "7.1", "7.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "7.1", id = "unknown"),
+ @SpecAssertion(section = "7.4", id = "unknown")
+ })
public void testConsumerNotifiedWhenEventTypeAndAllBindingsMatch()
{
AnObserver observer1 = new AnObserver();
@@ -293,7 +306,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.4")
+ @SpecAssertion(section = "7.4", id = "unknown")
public void testObserverThrowsExceptionAbortsNotifications()
{
AnObserverWithException observer = new AnObserverWithException();
@@ -320,7 +333,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.5")
+ @SpecAssertion(section = "7.5", id = "unknown")
public void testMultipleObserverMethodsOK()
{
// This bean has a couple observer methods
@@ -337,7 +350,10 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = { "7.5.1", "7.5.2" })
+ @SpecAssertions({
+ @SpecAssertion(section = "7.5.1", id = "unknown"),
+ @SpecAssertion(section = "7.5.2", id = "unknown")
+ })
public void testObserverMethodMustHaveOnlyOneEventParameter()
{
deployBeans(YorkshireTerrier_Broken.class);
@@ -347,7 +363,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.5.1")
+ @SpecAssertion(section = "7.5.1", id = "unknown")
public void testObserverMethodCannotObserveParameterizedEvents()
{
deployBeans(BostonTerrier.class);
@@ -356,7 +372,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.5.1")
+ @SpecAssertion(section = "7.5.1", id = "unknown")
public void testObserverMethodWithoutBindingTypesObservesEventsWithoutBindingTypes()
{
// This observer has no binding types specified
@@ -370,7 +386,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.5.2")
+ @SpecAssertion(section = "7.5.2", id = "unknown")
public void testObserverMethodAnnotatedProducesFails()
{
deployBeans(BorderTerrier.class);
@@ -379,7 +395,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.5.2")
+ @SpecAssertion(section = "7.5.2", id = "unknown")
public void testObserverMethodAnnotatedInitializerFails()
{
deployBeans(AustralianTerrier.class);
@@ -388,7 +404,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.5.2")
+ @SpecAssertion(section = "7.5.2", id = "unknown")
public void testObserverMethodWithDisposesParamFails()
{
deployBeans(FoxTerrier.class);
@@ -397,7 +413,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.5.2")
+ @SpecAssertion(section = "7.5.2", id = "unknown")
public void testObserverMethodMayHaveMultipleBindingTypes()
{
deployBeans(BullTerrier.class);
@@ -411,21 +427,21 @@
}
@Test(groups = { "stub", "events" })
- @SpecAssertion(section = "7.5.3")
+ @SpecAssertion(section = "7.5.3", id = "unknown")
public void testXMLDefinedObserverMethodIgnoresBindingAnnotations()
{
assert false;
}
@Test(groups = { "stub", "events" })
- @SpecAssertion(section = "7.5.3")
+ @SpecAssertion(section = "7.5.3", id = "unknown")
public void testXMLDefinedObserverNotFindingImplementationMethodFails()
{
assert false;
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.5.4")
+ @SpecAssertion(section = "7.5.4", id = "unknown")
public void testObserverMethodReceivesInjectionsOnNonObservesParameters()
{
deployBeans(BananaSpider.class);
@@ -438,7 +454,7 @@
* is created by some other separate action.
*/
@Test(groups = { "events" })
- @SpecAssertion(section = "7.5.5")
+ @SpecAssertion(section = "7.5.5", id = "unknown")
public void testConditionalObserver()
{
RecluseSpider.notified = false;
@@ -466,14 +482,14 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.1")
+ @SpecAssertion(section = "7.1", id = "unknown")
public void testTransactionalObserverCanOnlyObserveSinglePhase()
{
deployBeans(TooManyPhases_Broken.class);
}
@Test(groups = { "events" }, expectedExceptions=DefinitionException.class)
- @SpecAssertion(section = "7.5")
+ @SpecAssertion(section = "7.5", id = "unknown")
public void testObserverMethodOnEnterpriseBeanNotBusinessMethodOrStaticFails()
{
deployBeans(TibetanTerrier.class);
@@ -484,7 +500,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.5.8")
+ @SpecAssertion(section = "7.5.8", id = "unknown")
public void testObserverMethodRegistration()
{
// This bean has two observer methods, one static and one non-static
@@ -498,7 +514,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { TeaCupPomeranian.OversizedException.class })
- @SpecAssertion(section = "7.5.8")
+ @SpecAssertion(section = "7.5.8", id = "unknown")
public void testNonTransactionalObserverThrownNonCheckedExceptionIsRethrown()
{
deployBeans(TeaCupPomeranian.class);
@@ -508,7 +524,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { ObserverException.class })
- @SpecAssertion(section = "7.5.8")
+ @SpecAssertion(section = "7.5.8", id = "unknown")
public void testNonTransactionalObserverThrownCheckedExceptionIsWrappedAndRethrown()
{
deployBeans(TeaCupPomeranian.class);
@@ -518,7 +534,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DuplicateBindingTypeException.class })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testDuplicateBindingsToFireFails()
{
deployBeans(SweeWaxbill_Broken.class);
@@ -535,7 +551,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DuplicateBindingTypeException.class })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testDuplicateBindingsToObservesFails()
{
deployBeans(SweeWaxbill_Broken.class);
@@ -552,7 +568,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testNonBindingTypePassedToFireFails()
{
deployBeans(OwlFinch_Broken.class);
@@ -569,7 +585,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testNonBindingTypePassedToObservesFails()
{
deployBeans(OwlFinch_Broken.class);
@@ -586,7 +602,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testFiresAnnotationOnEventTypes()
{
deployBeans(BlueFacedParrotFinch.class);
@@ -649,7 +665,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testFiresAnnotationOnNonEventTypeInjectionPointFails()
{
deployBeans(CommonWaxbill_Broken.class);
@@ -666,7 +682,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testFiresAnnotationOnInjectionPointWithoutTypeParameterFails()
{
deployBeans(BlackRumpedWaxbill_Broken.class);
@@ -683,7 +699,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testFiresAnnotationOnInjectionPointWithWildcardedTypeParameterFails()
{
deployBeans(GoldbreastWaxbill_Broken.class);
@@ -700,7 +716,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testFiresAnnotationOnInjectionPointWithTypeVariabledTypeParameterFails()
{
deployBeans(JavaSparrow_Broken.class);
@@ -717,7 +733,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testImplicitEventBeanMatchesAPITypeOfInectionPoint()
{
deployBeans(BlueFacedParrotFinch.class);
@@ -738,7 +754,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testImplicitEventBeanMatchesBindingAnnotationsOfInjectionPoint()
{
deployBeans(OrangeCheekedWaxbill.class);
@@ -759,7 +775,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testImplicitEventBeanHasStandardDeploymentType()
{
deployBeans(BlueFacedParrotFinch.class);
@@ -782,7 +798,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testImplicitEventBeanHasDependentScope()
{
deployBeans(BlueFacedParrotFinch.class);
@@ -807,49 +823,49 @@
//TODO The manager related tests require intercepting all calls
// to it to verify that the correct calls are made.
@Test(groups = { "stub", "events", "underInvestigation" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testFireMethodCallsManagerFireWithEventObject()
{
assert false;
}
@Test(groups = { "stub", "events", "underInvestigation" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testFireMethodCallsManagerFireWithBindingAnnotationsExceptObservable()
{
assert false;
}
@Test(groups = { "stub", "events", "underInvestigation" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testFireMethodCallsManagerFireWithAllBindingAnnotationInstances()
{
assert false;
}
@Test(groups = { "stub", "events", "underInvestigation" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testObserveMethodCallsManagerAddObserverWithObserverObject()
{
assert false;
}
@Test(groups = { "stub", "events", "underInvestigation" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testObserveMethodCallsManagerAddObserverWithAllBindingAnnotationsExceptObservable()
{
assert false;
}
@Test(groups = { "stub", "events", "underInvestigation" })
- @SpecAssertion(section = "7.6")
+ @SpecAssertion(section = "7.6", id = "unknown")
public void testObserveMethodCallsManagerAddObserverWithAllBindingAnnotationInstance()
{
assert false;
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.7")
+ @SpecAssertion(section = "7.7", id = "unknown")
public void testEventObjectContainsTypeVariablesWhenResolvingFails()
{
eventObjectContainsTypeVariables(new ArrayList<String>());
@@ -862,7 +878,7 @@
}
@Test(groups = { "broken", "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = "7.7")
+ @SpecAssertion(section = "7.7", id = "unknown")
public void testEventObjectContainsWildcardsWhenResolvingFails()
{
eventObjectContainsWildcards(new ArrayList<String>());
@@ -876,7 +892,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { DuplicateBindingTypeException.class })
- @SpecAssertion(section = "7.7")
+ @SpecAssertion(section = "7.7", id = "unknown")
public void testDuplicateBindingTypesWhenResolvingFails()
{
AnObserver observer = new AnObserver();
@@ -886,7 +902,7 @@
}
@Test(groups = { "events" }, expectedExceptions = { IllegalArgumentException.class })
- @SpecAssertion(section = "7.7")
+ @SpecAssertion(section = "7.7", id = "unknown")
public void testNonBindingTypeAnnotationWhenResolvingFails()
{
AnObserver observer = new AnObserver();
@@ -898,7 +914,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.7")
+ @SpecAssertion(section = "7.7", id = "unknown")
public void testResolvingChecksEventType()
{
Observer<AnEventType> observer = new AnObserver();
@@ -910,7 +926,7 @@
}
@Test(groups = { "broken", "events" })
- @SpecAssertion(section = "7.7")
+ @SpecAssertion(section = "7.7", id = "unknown")
public void testResolvingChecksTypeParameters()
{
AListObserver observer = new AListObserver();
@@ -926,7 +942,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.7")
+ @SpecAssertion(section = "7.7", id = "unknown")
public void testResolvingChecksBindingTypes()
{
AnObserver observer = new AnObserver();
@@ -938,7 +954,7 @@
}
@Test(groups = { "events" })
- @SpecAssertion(section = "7.7")
+ @SpecAssertion(section = "7.7", id = "unknown")
public void testResolvingChecksBindingTypeMembers()
{
AnObserver observer = new AnObserver();
@@ -950,7 +966,7 @@
}
@Test(groups = { "events", "inheritance" })
- @SpecAssertion(section = "4.")
+ @SpecAssertion(section = "4.", id = "unknown")
public void testNonStaticObserverMethodNotInherited()
{
deployBeans(LazyFarmer.class);
@@ -958,7 +974,7 @@
}
@Test
- @SpecAssertion(section = "7.5.8")
+ @SpecAssertion(section = "7.5.8", id = "unknown")
public void testObserverCalledOnMostSpecializedInstance()
{
Shop.deliveryObservedBy = null;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/commonAnnotations/ResourceInjectionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/commonAnnotations/ResourceInjectionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/commonAnnotations/ResourceInjectionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,19 +12,19 @@
public class ResourceInjectionTest extends AbstractTest
{
- @Test(groups="stub") @SpecAssertion(section="3.10")
+ @Test(groups="stub") @SpecAssertion(section="3.10", id = "unknown")
public void testInjectionOfPersistenceContext()
{
assert false;
}
- @Test(groups="stub") @SpecAssertion(section="3.10")
+ @Test(groups="stub") @SpecAssertion(section="3.10", id = "unknown")
public void testInjectionOfResource()
{
assert false;
}
- @Test(groups="stub") @SpecAssertion(section="3.10")
+ @Test(groups="stub") @SpecAssertion(section="3.10", id = "unknown")
public void testInjectionOfEJB()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/decorator/DecoratorDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/decorator/DecoratorDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/decorator/DecoratorDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -6,13 +6,13 @@
public class DecoratorDefinitionTest
{
- @Test(groups="stub") @SpecAssertion(section="A.5")
+ @Test(groups="stub") @SpecAssertion(section="A.5", id = "unknown")
public void testDecoratorBindingInherited()
{
assert false;
}
- @Test(groups="stub") @SpecAssertion(section="A.5")
+ @Test(groups="stub") @SpecAssertion(section="A.5", id = "unknown")
public void testDecoratorBindingBlockedByIntermediateClass()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/deployment/BeanDeploymentTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/deployment/BeanDeploymentTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/deployment/BeanDeploymentTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -10,98 +10,98 @@
*/
public class BeanDeploymentTest
{
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.7", id = "unknown")
public void testOnlySpecializedSimpleBeanDeployed()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializedSimpleBeanExtends()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializedSimpleBeanHasSameBindingAnnotations()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializedSimpleBeanHasSameName()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7", id = "unknown")
public void testOnlySpecializedEnterpriseBeanDeployed()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7", id = "unknown")
public void testSpecializedEnterpriseBeanExtends()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7", id = "unknown")
public void testSpecializedEnterpriseBeanHasSameBindingAnnotations()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7", id = "unknown")
public void testSpecializedEnterpriseBeanHasSameName()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7", id = "unknown")
public void testSpecializedEnterpriseBeanAllLocalInterfaces()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.7", id = "unknown")
public void testSpecializedEnterpriseBeanSupportsBeanClassLocalView()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4", id = "unknown")
public void testOnlySpecializedProducerMethodBeanDeployed()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4", id = "unknown")
public void testSpecializedProducerMethodBeanDirectlyOverrides()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4", id = "unknown")
public void testSpecializedProducerMethodBeanHasSameBindingAnnotations()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4", id = "unknown")
public void testSpecializedProducerMethodBeanHasSameName()
{
// TODO Placeholder
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanDeclarationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanDeclarationTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanDeclarationTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -27,7 +27,7 @@
* time
*/
@Test(groups = { "enterpriseBeans" })
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testStatelessWithDependentScopeOK()
{
deployBeans(Giraffe.class);
@@ -40,7 +40,7 @@
* time
*/
@Test(groups = { "enterpriseBeans" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testStatelessWithRequestScopeFails()
{
deployBeans(Beagle_Broken.class);
@@ -54,7 +54,7 @@
*/
@Test(groups = { "enterpriseBeans" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testStatelessWithConversationScopeFails()
{
deployBeans(Boxer_Broken.class);
@@ -67,7 +67,7 @@
* time
*/
@Test(groups = { "enterpriseBeans" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testStatelessWithSessionScopeFails()
{
deployBeans(Bullmastiff_Broken.class);
@@ -80,7 +80,7 @@
* time
*/
@Test(groups = { "enterpriseBeans" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testStatelessWithApplicationScopeFails()
{
deployBeans(Dachshund_Broken.class);
@@ -93,7 +93,7 @@
* initialization time
*/
@Test(groups = { "enterpriseBeans" })
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testSingletonWithDependentScopeOK()
{
deployBeans(Labrador.class);
@@ -106,7 +106,7 @@
* initialization time
*/
@Test(groups = { "enterpriseBeans" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testSingletonWithRequestScopeFails()
{
deployBeans(Greyhound_Broken.class);
@@ -120,7 +120,7 @@
* initialization time
*/
@Test(groups = { "enterpriseBeans" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testSingletonWithConversationScopeFails()
{
deployBeans(Husky_Broken.class);
@@ -134,7 +134,7 @@
* initialization time
*/
@Test(groups = { "enterpriseBeans" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testSingletonWithSessionScopeFails()
{
deployBeans(IrishTerrier_Broken.class);
@@ -147,7 +147,7 @@
* initialization time
*/
@Test(groups = { "enterpriseBeans" })
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testSingletonWithApplicationScopeOK()
{
deployBeans(Laika.class);
@@ -159,7 +159,7 @@
* initialization time.
*/
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testEnterpriseBeanInterceptorFails()
{
deployBeans(Pug_Broken.class);
@@ -171,7 +171,7 @@
* initialization time.
*/
@Test(expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testEnterpriseBeanDecoratorFails()
{
deployBeans(Pekingese_Broken.class);
@@ -182,7 +182,7 @@
* annotations.
*/
@Test(expectedExceptions = DefinitionException.class, groups = { "enterpriseBeans", "stub" })
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testMultipleAnnotationDefinedEnterpriseBeansWithSameImplementationClassFails()
{
// TODO: testable?
@@ -194,7 +194,7 @@
* class. This occurs when Web Beans are defined using XML
*/
@Test(groups = { "webbeansxml", "enterpriseBeans", "stub" })
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testMultipleXMLDefinedEnterpriseBeansWithSameImplementationClassOK()
{
assert false;
@@ -206,7 +206,7 @@
* thus no special declaration is required.
*/
@Test(groups = { "enterpriseBeans", "stub" })
- @SpecAssertion(section = "3.3.2")
+ @SpecAssertion(section = "3.3.2", id = "unknown")
public void testAnnotatedEnterpriseBean()
{
// TODO: dupe?
@@ -218,7 +218,7 @@
* by specifying the bean class in web-beans.xml.
*/
@Test(groups = { "enterpriseBeans", "webbeansxml", "stub" })
- @SpecAssertion(section = "3.3.2")
+ @SpecAssertion(section = "3.3.2", id = "unknown")
public void testAnnotatedEnterpriseBeanComplementedWithXML()
{
// TODO dupe?
@@ -230,7 +230,7 @@
* ejb-jar.xml are also Web Beans.
*/
@Test(groups = { "enterpriseBeans", "ejbjarxml", "stub" })
- @SpecAssertion(section = "3.3.2")
+ @SpecAssertion(section = "3.3.2", id = "unknown")
public void testEJBJARDefinedEnterpriseBean()
{
// TODO dupe?
@@ -242,7 +242,7 @@
* by specifying the bean class and EJB name in web-beans.xml
*/
@Test(groups = { "enterpriseBeans", "ejbjarxml", "webbeansxml", "stub" })
- @SpecAssertion(section = "3.3.2")
+ @SpecAssertion(section = "3.3.2", id = "unknown")
public void testEJBJARDefinedEnterpriseBeanComplementedWithXML()
{
// TODO dupe?
@@ -255,7 +255,7 @@
* variables and their superinterfaces
*/
@Test(groups = { "enterpriseBeans", "stub" })
- @SpecAssertion(section = "3.3.3")
+ @SpecAssertion(section = "3.3.3", id = "unknown")
public void testAPITypesAreLocalInterfacesWithoutWildcardTypesOrTypeVariablesWithSuperInterfaces()
{
assert false;
@@ -267,7 +267,7 @@
* superclasses
*/
@Test(groups = { "enterpriseBeans", "stub" })
- @SpecAssertion(section = "3.3.3")
+ @SpecAssertion(section = "3.3.3", id = "unknown")
public void testEnterpriseBeanWithLocalViewAndParameterizedTypeIncludesBeanClassAndSuperclassesInAPITypes()
{
assert false;
@@ -277,7 +277,7 @@
* In addition, java.lang.Object is an API type of every enterprise Web Bean.
*/
@Test(groups = "enterpriseBeans")
- @SpecAssertion(section = "3.3.3")
+ @SpecAssertion(section = "3.3.3", id = "unknown")
public void testObjectIsInAPITypes()
{
assert createEnterpriseBean(Laika.class).getTypes().contains(Object.class);
@@ -287,7 +287,7 @@
* Remote interfaces are not included in the set of API types.
*/
@Test(groups = { "enterpriseBeans", "stub" })
- @SpecAssertion(section = "3.3.3")
+ @SpecAssertion(section = "3.3.3", id = "unknown")
public void testRemoteInterfacesAreNotInAPITypes()
{
assert false;
@@ -300,7 +300,7 @@
* attribute declares the EJB name of an EJB defined in ejb-jar.xml
*/
@Test(groups = { "enterpriseBeans", "webbeansxml", "ejbjarxml", "stub" })
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testXMLFilesEJBNameUsage()
{
assert false;
@@ -312,7 +312,7 @@
* thrown by the Web Bean manager at initialization time.
*/
@Test(expectedExceptions = DefinitionException.class, groups = { "enterpriseBeans" })
- @SpecAssertion(section = "3.3")
+ @SpecAssertion(section = "3.3", id = "unknown")
public void testMessageDrivenBeansNotOK()
{
deployBeans(Leopard.class);
@@ -324,7 +324,7 @@
* to lower case.
*/
@Test(groups = "enterpriseBeans")
- @SpecAssertion(section = "3.3.8")
+ @SpecAssertion(section = "3.3.8", id = "unknown")
public void testDefaultName()
{
assert createEnterpriseBean(Pitbull.class).getName().equals("pitbull");
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanLifecycleTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanLifecycleTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanLifecycleTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -29,7 +29,7 @@
* returns an enterprise bean proxy
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "stub" })
- @SpecAssertion(section = "6.5")
+ @SpecAssertion(section = "6.5", id = "unknown")
public void testProxyCreated()
{
assert false;
@@ -40,7 +40,7 @@
* Bean remove method upon the proxy
*/
@Test(groups = { "enterpriseBeans", "clientProxy", "lifecycle", "stub"})
- @SpecAssertion(section = "6.5")
+ @SpecAssertion(section = "6.5", id = "unknown")
public void testRemoveMethodCalled() throws Exception
{
GoodDoggie.destructorCalled = false;
@@ -66,7 +66,7 @@
* returned by Manager.getInstanceByType()
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "removeMethod", "stub" })
- @SpecAssertion(section = "6.5")
+ @SpecAssertion(section = "6.5", id = "unknown")
public void testFieldInjections()
{
assert false;
@@ -78,7 +78,7 @@
* instance, and is not required to call any remove method
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "removeMethod", "stub" })
- @SpecAssertion(section = "6.5")
+ @SpecAssertion(section = "6.5", id = "unknown")
public void testNoRemoveMethodsCalledIfEnterpriseBeanAlreadyRemoved()
{
assert false;
@@ -89,7 +89,7 @@
* the proxy and all EJB local object references.
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "removeMethod", "stub" })
- @SpecAssertion(section = "6.6")
+ @SpecAssertion(section = "6.6", id = "unknown")
public void testProxyAndLocalObjectReferencesDiscardedForStatelessEnterpriseBeans()
{
assert false;
@@ -101,7 +101,7 @@
* returned by Manager.getInstanceByType().
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "stub" })
- @SpecAssertion(section = "6.11")
+ @SpecAssertion(section = "6.11", id = "unknown")
public void testFieldInjectionsOnRemoveMethods()
{
assert false;
@@ -113,7 +113,7 @@
* in XML,
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "stub" })
- @SpecAssertion(section = "6.11")
+ @SpecAssertion(section = "6.11", id = "unknown")
public void testInitXMLDefinedValuesOnWebWeanEnterpriseBeans()
{
assert false;
@@ -125,7 +125,7 @@
* returned by Manager.getInstanceByType().
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "stub" })
- @SpecAssertion(section = "6.11")
+ @SpecAssertion(section = "6.11", id = "unknown")
public void testInitializerMethodsCalledWithCurrentParameterValues()
{
assert false;
@@ -136,7 +136,7 @@
* for the instance
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "interceptors", "stub" })
- @SpecAssertion(section = "6.11")
+ @SpecAssertion(section = "6.11", id = "unknown")
public void testInterceptorStackIsBuilt()
{
assert false;
@@ -147,7 +147,7 @@
* for the instance
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "decorators", "stub" })
- @SpecAssertion(section = "6.11")
+ @SpecAssertion(section = "6.11", id = "unknown")
public void testDecoratorStackIsBuilt()
{
assert false;
@@ -159,7 +159,7 @@
* objects, after the callback returns from the bean instance
*/
@Test(groups = { "enterpriseBeans", "lifecycle", "stub" })
- @SpecAssertion(section = "6.11")
+ @SpecAssertion(section = "6.11", id = "unknown")
public void testDependentObjectsDestroyed()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanRemoveMethodTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanRemoveMethodTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/EnterpriseBeanRemoveMethodTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -24,7 +24,7 @@
* passed to the method by the Web Bean manager
*/
@Test(groups = { "enterpriseBeans", "removeMethod", "lifecycle", "stub" })
- @SpecAssertion(section = "3.3.1")
+ @SpecAssertion(section = "3.3.1", id = "unknown")
public void applicationMayCallRemoveMethodOnDependentScopedSessionEnterpriseBeansButNoParametersArePassed()
{
assert false;
@@ -36,7 +36,7 @@
* scope other than @Dependent, an UnsupportedOperationException is thrown.
*/
@Test(groups = { "enterpriseBeans", "removeMethod", "lifecycle", "stub" }, expectedExceptions = UnsupportedOperationException.class)
- @SpecAssertion(section = "3.3.1")
+ @SpecAssertion(section = "3.3.1", id = "unknown")
public void applicationCannotCallRemoveMethodOnNonDependentScopedSessionEnterpriseBean()
{
assert false;
@@ -49,7 +49,7 @@
* destroying it
*/
@Test(groups = { "enterpriseBeans", "removeMethod", "lifecycle", "stub" })
- @SpecAssertion(section = "3.3.1")
+ @SpecAssertion(section = "3.3.1", id = "unknown")
public void applicationMayCallRemoveMethodOnDependentScopedSessionEnterpriseBeansButInstanceIsNotDestroyed()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/NewEnterpriseBeanTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/NewEnterpriseBeanTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/NewEnterpriseBeanTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -45,7 +45,7 @@
* declared type of the injection point.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanIsDependentScoped()
{
assert Dependent.class.equals(newEnterpriseBean.getScopeType());
@@ -60,7 +60,7 @@
* declared type of the injection point.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanIsOfStandardDeploymentType()
{
assert Standard.class.equals(newEnterpriseBean.getDeploymentType());
@@ -75,7 +75,7 @@
* declared type of the injection point.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanIsHasOnlyNewBinding()
{
assert newEnterpriseBean.getBindings().size() == 1;
@@ -91,7 +91,7 @@
* declared type of the injection point.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasNoWebBeanName()
{
assert newEnterpriseBean.getName() == null;
@@ -106,7 +106,7 @@
* declared type of the injection point.
*/
@Test(groups = { "stub", "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasNoStereotypes()
{
assert false;
@@ -121,7 +121,7 @@
* is an enterprise Web Bean.
*/
@Test(groups = { "new", "stub" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanIsEnterpriseWebBeanIfParameterTypeIsEnterpriseWebBean()
{
assert false;
@@ -139,7 +139,7 @@
* � has no decorators.
*/
@Test(groups = { "new", "stub" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasSameInitializerMethodsAsWrappedBean()
{
assert false;
@@ -157,7 +157,7 @@
* � has no decorators.
*/
@Test(groups = { "new", "stub" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasSameInjectedFieldsAsWrappedBean()
{
assert false;
@@ -175,7 +175,7 @@
* � has no decorators.
*/
@Test(groups = {"new", "stub" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasNoObservers()
{
assert false;
@@ -193,7 +193,7 @@
* � has no decorators.
*/
@Test(groups = { "new", "stub" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasNoProducerFields()
{
assert false;
@@ -211,7 +211,7 @@
* � has no decorators.
*/
@Test(groups = { "new", "stub" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasNoProducerMethods()
{
assert false;
@@ -229,7 +229,7 @@
* � has no decorators.
*/
@Test(groups = { "new", "stub" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasNoDisposalMethods()
{
assert false;
@@ -247,7 +247,7 @@
* � has no decorators.
*/
@Test(groups = { "stub", "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasSameInterceptorMethodsAsWrappedBean()
{
assert false;
@@ -265,7 +265,7 @@
* � has no decorators.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewBeanHasNoDecorators()
{
Annotation[] bindingTypes = newEnterpriseBean.getBindings().toArray(new Annotation[0]);
@@ -281,7 +281,7 @@
* Bean implementation class.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewAnnotationMayBeAppliedToField()
{
deployBeans(AnnotatedField.class, WrappedEnterpriseBean.class);
@@ -297,7 +297,7 @@
* Bean implementation class.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewAnnotationMayBeAppliedToProducerMethodParameter()
{
deployBeans(AnnotatedProducerParameter.class, WrappedEnterpriseBean.class);
@@ -313,7 +313,7 @@
* Bean implementation class.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewAnnotationMayBeAppliedToInitializerMethodParameter()
{
deployBeans(AnnotatedInitializerParameter.class, WrappedEnterpriseBean.class);
@@ -329,7 +329,7 @@
* Bean implementation class.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewAnnotationMayBeAppliedToConstructorMethodParameter()
{
deployBeans(AnnotatedConstructorParameter.class, WrappedEnterpriseBean.class);
@@ -344,7 +344,7 @@
* by the container at deployment time.
*/
@Test(groups = { "new" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewAnnotationCannotAppearInConjunctionWithOtherBindingType()
{
deployBeans(NewAndOtherBindingType_Broken.class);
@@ -358,7 +358,7 @@
* by the container at deployment time.
*/
@Test(groups = { "stub", "new" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewAnnotationCannotBeAppliedToNonWebBeanImplementationClass()
{
assert false;
@@ -369,13 +369,13 @@
* as a binding type
*/
@Test(groups = { "stub", "new" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.3.6")
+ @SpecAssertion(section = "3.3.6", id = "unknown")
public void testNewAnnotationCannotBeExplicitlyDeclared()
{
assert false;
}
- @Test @SpecAssertion(section="3.2.6")
+ @Test @SpecAssertion(section="3.2.6", id = "unknown")
public void testForEachEnterpriseBeanANewBeanExists()
{
deployBeans(Order.class, Lion.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/initializer/InitializerMethodTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/initializer/InitializerMethodTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/initializer/InitializerMethodTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -5,6 +5,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.jboss.webbeans.tck.impl.util.MockCreationalContext;
import org.testng.annotations.Test;
@@ -16,56 +17,61 @@
{
@Test(expectedExceptions=DefinitionException.class, groups="initializerMethod")
- @SpecAssertion(section="3.8")
+ @SpecAssertion(section="3.8", id = "unknown")
public void testStaticInitializerMethodNotAllowed()
{
createSimpleBean(Dottrel.class);
}
@Test(groups={"stub", "initializerMethod", "servlet"})
- @SpecAssertion(section="3.9")
+ @SpecAssertion(section="3.9", id = "unknown")
public void testInitializerMethodCalledOnServlet()
{
assert false;
}
@Test(groups={"stub", "initializerMethod", "ejb3"})
- @SpecAssertion(section="3.9")
+ @SpecAssertion(section="3.9", id = "unknown")
public void testInitializerMethodCalledOnEJBSessionBean()
{
assert false;
}
@Test(groups={"stub", "initializerMethod", "ejb3"})
- @SpecAssertion(section="3.9")
+ @SpecAssertion(section="3.9", id = "unknown")
public void testInitializerMethodCalledOnEJBMDB()
{
assert false;
}
@Test(groups={"stub", "initializerMethod", "ejb3", "singletons"})
- @SpecAssertion(section="3.9")
+ @SpecAssertion(section="3.9", id = "unknown")
public void testInitializerMethodCalledOnEJBSingleton()
{
assert false;
}
@Test(groups={"stub", "initializerMethod", "ejb3"})
- @SpecAssertion(section="3.9")
+ @SpecAssertion(section="3.9", id = "unknown")
public void testInitializerMethodNotABusinessMethod()
{
assert false;
}
@Test(groups={"stub", "initializerMethod", "interceptors"})
- @SpecAssertion(section="3.9")
+ @SpecAssertion(section="3.9", id = "unknown")
public void testMethodInterceptorNotCalledOnInitializerMethod()
{
assert false;
}
@Test(groups={"initializerMethod"})
- @SpecAssertion(section={"3.9", "5.3", "3.9.2", "3.9.3"})
+ @SpecAssertions({
+ @SpecAssertion(section = "3.9", id = "unknown"),
+ @SpecAssertion(section = "5.3", id = "unknown"),
+ @SpecAssertion(section = "3.9.2", id = "unknown"),
+ @SpecAssertion(section = "3.9.3", id = "unknown")
+ })
public void testMultipleInitializerMethodsAreCalled()
{
manager.addBean(createSimpleBean(Fox.class));
@@ -78,49 +84,52 @@
}
@Test(groups="initializerMethod", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section={"3.9.1", "3.4.2"})
+ @SpecAssertions({
+ @SpecAssertion(section = "3.9.1", id = "unknown"),
+ @SpecAssertion(section = "3.4.2", id = "unknown")
+ })
public void testInitializerMethodAnnotatedProduces()
{
createSimpleBean(Pheasant.class);
}
@Test(groups="initializerMethod", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.9.1")
+ @SpecAssertion(section="3.9.1", id = "unknown")
public void testInitializerMethodHasParameterAnnotatedDisposes()
{
createSimpleBean(Capercaillie.class);
}
@Test(groups="initializerMethod", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.9.1")
+ @SpecAssertion(section="3.9.1", id = "unknown")
public void testInitializerMethodHasParameterAnnotatedObserves()
{
createSimpleBean(Grouse.class);
}
@Test(groups={"stub", "initializerMethod", "webbeansxml"})
- @SpecAssertion(section="3.9.2")
+ @SpecAssertion(section="3.9.2", id = "unknown")
public void testInitializerMethodDeclaredInXml()
{
assert false;
}
@Test(groups={"stub", "initializerMethod", "webbeansxml"})
- @SpecAssertion(section="3.9.2")
+ @SpecAssertion(section="3.9.2", id = "unknown")
public void testInitializerMethodDeclaredInXmlIgnoresBindingAnnotationsInJava()
{
assert false;
}
@Test(groups={"stub", "initializerMethod", "webbeansxml"}, expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.9.2")
+ @SpecAssertion(section="3.9.2", id = "unknown")
public void testInitializerMethodDeclaredInXmlDoesNotExist()
{
assert false;
}
@Test(groups={"stub", "initializerMethod", "webbeansxml"})
- @SpecAssertion(section="3.9.2")
+ @SpecAssertion(section="3.9.2", id = "unknown")
public void testBeanHasAllInitializerMethodsDeclaredInJavaAndXml()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/interceptor/InterceptorDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/interceptor/InterceptorDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/interceptor/InterceptorDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -11,13 +11,13 @@
public class InterceptorDefinitionTest
{
- @Test(groups="stub") @SpecAssertion(section="4.2")
+ @Test(groups="stub") @SpecAssertion(section="4.2", id = "unknown")
public void testNonStaticWithInterceptorBindingInherited()
{
assert false;
}
- @Test(groups="stub") @SpecAssertion(section="4.2")
+ @Test(groups="stub") @SpecAssertion(section="4.2", id = "unknown")
public void testNonStaticWithInterceptorBindingBlockedByIntermediateClass()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/jms/JmsDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/jms/JmsDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/jms/JmsDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -14,7 +14,8 @@
public class JmsDefinitionTest extends AbstractTest
{
- @Test(expectedExceptions=DefinitionException.class, groups={"stub", "jms"}) @SpecAssertion(section="2.6")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "jms"})
+ @SpecAssertion(section="2.6", id = "unknown")
public void testJmsEndpointHasName()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -14,6 +14,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.jboss.webbeans.tck.impl.literals.CurrentBinding;
import org.testng.annotations.Test;
@@ -46,7 +47,7 @@
* @throws Exception
*/
@Test(groups = { "producerField" })
- @SpecAssertion(section = "2.5.3")
+ @SpecAssertion(section = "2.5.3", id = "unknown")
public void testProducerFieldInheritsDeploymentTypeOfDeclaringWebBean() throws Exception
{
deployBeans(TarantulaProducer.class, TarantulaConsumer.class);
@@ -68,7 +69,7 @@
*/
@Test(groups = { "broken", "producerField", "enterpriseBeans" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.5")
+ @SpecAssertion(section = "3.5", id = "unknown")
public void testProducerFieldIsNotBusinessField() throws Exception
{
deployBeans(VibratingSpiderImpl_Broken.class);
@@ -81,7 +82,7 @@
* @throws Exception
*/
@Test(groups = "producerField")
- @SpecAssertion(section = "3.5")
+ @SpecAssertion(section = "3.5", id = "unknown")
public void testParameterizedReturnType() throws Exception
{
deployBeans(FunnelWeaverSpiderProducer.class, FunnelWeaverSpiderConsumer.class);
@@ -106,7 +107,7 @@
* @throws Exception
*/
@Test(groups = "producerField", expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.5")
+ @SpecAssertion(section = "3.5", id = "unknown")
public void testParameterizedReturnTypeWithWildcard()
{
deployBeans(SpiderProducerWildCardType_Broken.class);
@@ -116,14 +117,17 @@
* A bean may declare multiple producer fields.
*/
@Test(groups = { "producerField", "deployment" })
- @SpecAssertion(section = "3.5")
+ @SpecAssertion(section = "3.5", id = "unknown")
public void testBeanDeclaresMultipleProducerFields()
{
deployBeans(OtherSpiderProducer.class);
}
@Test(groups = "producerField")
- @SpecAssertion(section = { "3.5", "2.3.1" })
+ @SpecAssertions({
+ @SpecAssertion(section = "3.5", id = "unknown"),
+ @SpecAssertion(section = "2.3.1", id = "unknown")
+ })
public void testDefaultBindingType()
{
deployBeans(StaticTarantulaProducer.class);
@@ -140,7 +144,7 @@
* @throws Exception
*/
@Test(groups = "producerField")
- @SpecAssertion(section = "3.5.1")
+ @SpecAssertion(section = "3.5.1", id = "unknown")
public void testApiTypeForClassReturn()
{
deployBeans(StaticTarantulaProducer.class);
@@ -164,7 +168,7 @@
* @throws Exception
*/
@Test(groups = { "producerField" })
- @SpecAssertion(section = "3.5.1")
+ @SpecAssertion(section = "3.5.1", id = "unknown")
public void testApiTypeForInterfaceReturn()
{
deployBeans(SpiderAsAnimalProducer.class);
@@ -183,7 +187,7 @@
* @throws Exception
*/
@Test(groups = { "producerField" })
- @SpecAssertion(section = "3.5.1")
+ @SpecAssertion(section = "3.5.1", id = "unknown")
public void testApiTypeForPrimitiveReturn()
{
deployBeans(OtherSpiderProducer.class);
@@ -202,7 +206,10 @@
* @throws Exception
*/
@Test(groups = { "producerField" })
- @SpecAssertion(section = { "3.5.1", "2.2" })
+ @SpecAssertions({
+ @SpecAssertion(section = "3.5.1", id = "unknown"),
+ @SpecAssertion(section = "2.2", id = "unknown")
+ })
public void testApiTypeForArrayTypeReturn()
{
deployBeans(OtherSpiderProducer.class);
@@ -221,7 +228,7 @@
* @throws Exception
*/
@Test(groups = "producerField")
- @SpecAssertion(section = "3.5.2")
+ @SpecAssertion(section = "3.5.2", id = "unknown")
public void testBindingType()
{
deployBeans(TameTarantulaProducer.class);
@@ -239,7 +246,7 @@
* @throws Exception
*/
@Test(groups = "producerField")
- @SpecAssertion(section = "3.5.2")
+ @SpecAssertion(section = "3.5.2", id = "unknown")
public void testScopeType()
{
deployBeans(TameTarantulaProducer.class);
@@ -258,7 +265,7 @@
* @throws Exception
*/
@Test(groups = "producerField")
- @SpecAssertion(section = "3.5.2")
+ @SpecAssertion(section = "3.5.2", id = "unknown")
public void testDeploymentType()
{
deployBeans(TameTarantulaProducer.class);
@@ -275,7 +282,7 @@
* @throws Exception
*/
@Test(groups = "producerField")
- @SpecAssertion(section = "3.5.2")
+ @SpecAssertion(section = "3.5.2", id = "unknown")
public void testNamedField()
{
deployBeans(BlackWidowProducer.class);
@@ -293,7 +300,10 @@
* @throws Exception
*/
@Test(groups = { "producerField" })
- @SpecAssertion(section = { "2.6.3", "3.5.4" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.6.3", id = "unknown"),
+ @SpecAssertion(section = "3.5.4", id = "unknown")
+ })
public void testDefaultNamedField()
{
deployBeans(StaticTarantulaProducer.class);
@@ -310,7 +320,11 @@
* @throws Exception
*/
@Test(groups = "producerField")
- @SpecAssertion(section = { "2.7.2", "3.5.2", "2.2" })
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "3.5.2", id = "unknown"),
+ @SpecAssertion(section = "2.2", id = "unknown")
+ })
public void testStereotype()
{
deployBeans(StaticTarantulaProducer.class);
@@ -322,7 +336,7 @@
}
@Test(groups = "producerField")
- @SpecAssertion(section = "4.2")
+ @SpecAssertion(section = "4.2", id = "unknown")
public void testNonStaticProducerFieldNotInherited()
{
deployBeans(InfertileChicken.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldLifecycleTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldLifecycleTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldLifecycleTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -11,6 +11,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -42,7 +43,7 @@
* value.
*/
@Test(groups = { "producerField" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testProducerStaticFieldBean()
{
deployBeans(StaticTarantulaProducer.class, TarantulaConsumer.class);
@@ -80,7 +81,7 @@
* @throws Exception
*/
@Test(groups = { "producerField" })
- @SpecAssertion(section = "6.8")
+ @SpecAssertion(section = "6.8", id = "unknown")
public void testProducerFieldBeanCreate() throws Exception
{
deployBeans(BlackWidowProducer.class, BlackWidowConsumer.class);
@@ -96,7 +97,7 @@
}
@Test(groups = { "producerField", "specialization" })
- @SpecAssertion(section = "6.8")
+ @SpecAssertion(section = "6.8", id = "unknown")
public void testSpecializedBeanAlwaysUsed() throws Exception
{
deployBeans(TarantulaProducer.class, SpecializedTarantulaProducer.class, TarantulaConsumer.class);
@@ -119,7 +120,11 @@
* @throws Exception
*/
@Test(groups = { "producerField" })
- @SpecAssertion(section = { "3.5", "6.8", "8.3" })
+ @SpecAssertions({
+ @SpecAssertion(section = "3.5", id = "unknown"),
+ @SpecAssertion(section = "6.8", id = "unknown"),
+ @SpecAssertion(section = "8.3", id = "unknown")
+ })
public void testProducerFieldReturnsNullIsDependent() throws Exception
{
deployBeans(NullSpiderProducer.class, NullSpiderConsumer.class);
@@ -141,8 +146,11 @@
*
* @throws Exception
*/
- @Test(groups = { "producerField" }, expectedExceptions = IllegalProductException.class)
- @SpecAssertion(section = { "3.5", "6.8" })
+ @Test(groups = { "producerField" }, expectedExceptions = IllegalProductException.class)
+ @SpecAssertions({
+ @SpecAssertion(section = "3.5", id = "unknown"),
+ @SpecAssertion(section = "6.8", id = "unknown")
+ })
public void testProducerFieldReturnsNullIsNotDependent() throws Exception
{
deployBeans(NullSpiderProducer_Broken.class, NullSpiderConsumer.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/DisposalMethodDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/DisposalMethodDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/DisposalMethodDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -11,7 +11,7 @@
public class DisposalMethodDefinitionTest
{
- @Test(groups="stub") @SpecAssertion(section="4.2")
+ @Test(groups="stub") @SpecAssertion(section="4.2", id = "unknown")
public void testNonStaticDisposalMethodNotInherited()
{
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/ProducerMethodDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/ProducerMethodDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/ProducerMethodDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -10,6 +10,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -21,7 +22,7 @@
{
@Test(groups="producerMethod")
- @SpecAssertion(section="2.5.3")
+ @SpecAssertion(section="2.5.3", id = "unknown")
public void testProducerMethodInheritsDeploymentTypeOfDeclaringWebBean() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -32,7 +33,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4")
+ @SpecAssertion(section="3.4", id = "unknown")
public void testStaticMethod() throws Exception
{
Bean<BeanWithStaticProducerMethod> bean = createSimpleBean(BeanWithStaticProducerMethod.class);
@@ -42,14 +43,14 @@
}
@Test(groups={"stub", "producerMethod", "enterpriseBeans", "stub"}, expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.4")
+ @SpecAssertion(section="3.4", id = "unknown")
public void testProducerMethodIsNotBusinessMethod() throws Exception
{
assert false;
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4")
+ @SpecAssertion(section="3.4", id = "unknown")
public void testParameterizedReturnType() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -59,7 +60,7 @@
}
@Test(groups="producerMethod", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.4")
+ @SpecAssertion(section="3.4", id = "unknown")
public void testParameterizedReturnTypeWithWildcard() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -69,7 +70,7 @@
}
@Test(groups="producerMethod", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.4")
+ @SpecAssertion(section="3.4", id = "unknown")
public void testParameterizedReturnTypeWithTypeParameter() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -79,7 +80,10 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section={"3.4", "2.3.1"})
+ @SpecAssertions({
+ @SpecAssertion(section = "3.4", id = "unknown"),
+ @SpecAssertion(section = "2.3.1", id = "unknown")
+ })
public void testDefaultBindingType() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -91,7 +95,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4.1")
+ @SpecAssertion(section="3.4.1", id = "unknown")
public void testApiTypeForClassReturn() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -108,7 +112,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4.1")
+ @SpecAssertion(section="3.4.1", id = "unknown")
public void testApiTypeForInterfaceReturn() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -121,7 +125,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4.1")
+ @SpecAssertion(section="3.4.1", id = "unknown")
public void testApiTypeForPrimitiveReturn() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -134,7 +138,10 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section={"3.4.1", "2.2"})
+ @SpecAssertions({
+ @SpecAssertion(section = "3.4.1", id = "unknown"),
+ @SpecAssertion(section = "2.2", id = "unknown")
+ })
public void testApiTypeForArrayTypeReturn() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -147,7 +154,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4.2")
+ @SpecAssertion(section="3.4.2", id = "unknown")
public void testBindingType() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -159,7 +166,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4.2")
+ @SpecAssertion(section="3.4.2", id = "unknown")
public void testScopeType() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -172,7 +179,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4.2")
+ @SpecAssertion(section="3.4.2", id = "unknown")
public void testDeploymentType() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -183,7 +190,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4.2")
+ @SpecAssertion(section="3.4.2", id = "unknown")
public void testNamedMethod() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -194,7 +201,7 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section="3.4.2")
+ @SpecAssertion(section="3.4.2", id = "unknown")
public void testDefaultNamedMethod() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -205,7 +212,7 @@
}
@Test(groups="producerMethod", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.4")
+ @SpecAssertion(section="3.4", id = "unknown")
public void testProducerMethodWithParameterAnnotatedDisposes() throws Exception
{
Bean<SpiderProducer_Broken> bean = createSimpleBean(SpiderProducer_Broken.class);
@@ -215,7 +222,7 @@
}
@Test(groups="producerMethod", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.4")
+ @SpecAssertion(section="3.4", id = "unknown")
public void testProducerMethodWithParameterAnnotatedObserves() throws Exception
{
Bean<SpiderProducer_Broken> bean = createSimpleBean(SpiderProducer_Broken.class);
@@ -225,7 +232,7 @@
}
@Test(groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.3.5")
+ @SpecAssertion(section="3.3.5", id = "unknown")
public void testDisposalMethodNonStatic()
{
// TODO Placeholder
@@ -233,7 +240,7 @@
}
@Test(groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.3.5")
+ @SpecAssertion(section="3.3.5", id = "unknown")
public void testDisposalMethodMethodDeclaredOnWebBeanImplementationClass()
{
// TODO Placeholder
@@ -241,7 +248,7 @@
}
@Test(groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.3.5")
+ @SpecAssertion(section="3.3.5", id = "unknown")
public void testDisposalMethodBindingAnnotations()
{
// TODO Placeholder
@@ -249,7 +256,7 @@
}
@Test(groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.3.5")
+ @SpecAssertion(section="3.3.5", id = "unknown")
public void testDisposalMethodDefaultBindingAnnotations()
{
// TODO Placeholder
@@ -257,7 +264,7 @@
}
@Test(groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.3.5")
+ @SpecAssertion(section="3.3.5", id = "unknown")
public void testDisposalMethodDoesNotResolveToProducerMethod()
{
// TODO Placeholder
@@ -265,7 +272,7 @@
}
@Test(groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.4.6")
+ @SpecAssertion(section="3.4.6", id = "unknown")
public void testDisposalMethodDeclaredOnEnabledBean()
{
// TODO Placeholder
@@ -275,7 +282,7 @@
}
@Test(groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.4.6")
+ @SpecAssertion(section="3.4.6", id = "unknown")
public void testBeanCanDeclareMultipleDisposalMethods()
{
// TODO move this
@@ -284,7 +291,7 @@
}
@Test(groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.4.6")
+ @SpecAssertion(section="3.4.6", id = "unknown")
public void testProducerMethodHasNoMoreThanOneDisposalMethod()
{
// TODO move this
@@ -293,7 +300,11 @@
}
@Test(groups="producerMethod")
- @SpecAssertion(section={"2.7.2", "3.4.2", "2.2"})
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "3.4.2", id = "unknown"),
+ @SpecAssertion(section = "2.2", id = "unknown")
+ })
public void testStereotypeSpecifiesScope() throws Exception
{
Bean<SpiderProducer> bean = createSimpleBean(SpiderProducer.class);
@@ -306,7 +317,11 @@
}
@Test(groups="producerMethod", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section={"2.7.2", "3.4.2", "2.2"})
+ @SpecAssertions({
+ @SpecAssertion(section = "2.7.2", id = "unknown"),
+ @SpecAssertion(section = "3.4.2", id = "unknown"),
+ @SpecAssertion(section = "2.2", id = "unknown")
+ })
public void testStereotypeEnforcesTypes() throws Exception
{
Bean<SpiderProducer_Broken> bean = createSimpleBean(SpiderProducer_Broken.class);
@@ -316,7 +331,7 @@
}
@Test
- @SpecAssertion(section="4.2")
+ @SpecAssertion(section="4.2", id = "unknown")
public void testNonStaticProducerMethodNotInherited()
{
deployBeans(InfertileChicken.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/ProducerMethodLifecycleTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/ProducerMethodLifecycleTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/method/ProducerMethodLifecycleTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -8,6 +8,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.jboss.webbeans.tck.impl.util.MockCreationalContext;
import org.testng.annotations.Test;
@@ -19,7 +20,8 @@
public class ProducerMethodLifecycleTest extends AbstractTest
{
- @Test(groups={"producerMethod", "broken"}) @SpecAssertion(section="B.1")
+ @Test(groups={"producerMethod", "broken"})
+ @SpecAssertion(section="B.1", id = "unknown")
public void testProducerMethodBeanCreate() throws Exception
{
Bean<SpiderProducer> spiderProducer = createSimpleBean(SpiderProducer.class);
@@ -30,21 +32,24 @@
assert tarantula != null;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "specialization"})
+ @SpecAssertion(section="3.3.4", id = "unknown")
public void testSpecializedBeanAlwaysUsed()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "disposalMethod", "beanLifecycle"}) @SpecAssertion(section="3.3.5")
+ @Test(groups={"stub", "disposalMethod", "beanLifecycle"})
+ @SpecAssertion(section="3.3.5", id = "unknown")
public void testDisposalMethodCalled()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"stub", "disposalMethod", "beanLifecycle"}) @SpecAssertion(section="3.3.5")
+ @Test(groups={"stub", "disposalMethod", "beanLifecycle"})
+ @SpecAssertion(section="3.3.5", id = "unknown")
public void testDisposalMethodHasParametersInjected()
{
// TODO Placeholder
@@ -53,7 +58,11 @@
@Test(groups={"producerMethod", "broken"})
- @SpecAssertion(section={"3.4", "B.1", "7.3"})
+ @SpecAssertions({
+ @SpecAssertion(section = "3.4", id = "unknown"),
+ @SpecAssertion(section = "B.1", id = "unknown"),
+ @SpecAssertion(section = "7.3", id = "unknown")
+ })
public void testProducerMethodReturnsNullIsDependent() throws Exception
{
Bean<SpiderProducer> spiderProducer = createSimpleBean(SpiderProducer.class);
@@ -65,7 +74,10 @@
}
@Test(groups="producerMethod", expectedExceptions=IllegalProductException.class)
- @SpecAssertion(section={"3.4", "B.1"})
+ @SpecAssertions({
+ @SpecAssertion(section = "3.4", id = "unknown"),
+ @SpecAssertion(section = "B.1", id = "unknown")
+ })
public void testProducerMethodReturnsNullIsNotDependent() throws Exception
{
Bean<SpiderProducer_Broken> spiderProducer = createSimpleBean(SpiderProducer_Broken.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/NewSimpleBeanTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/NewSimpleBeanTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/NewSimpleBeanTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -47,7 +47,7 @@
* declared type of the injection point.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanIsDependentScoped()
{
assert Dependent.class.equals(newSimpleBean.getScopeType());
@@ -62,7 +62,7 @@
* declared type of the injection point.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanIsOfStandardDeploymentType()
{
assert Standard.class.equals(newSimpleBean.getDeploymentType());
@@ -77,7 +77,7 @@
* declared type of the injection point.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanIsHasOnlyNewBinding()
{
assert newSimpleBean.getBindings().size() == 1;
@@ -93,7 +93,7 @@
* declared type of the injection point.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanHasNoWebBeanName()
{
assert newSimpleBean.getName() == null;
@@ -108,7 +108,7 @@
* declared type of the injection point.
*/
@Test(groups = { "stub", "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanHasNoStereotypes()
{
assert false;
@@ -126,7 +126,7 @@
* � has no decorators.
*/
@Test(groups = {"new", "stub" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanHasNoObservers()
{
assert false;
@@ -144,7 +144,7 @@
* � has no decorators.
*/
@Test(groups = { "new", "stub" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanHasNoProducerFields()
{
assert false;
@@ -162,7 +162,7 @@
* � has no decorators.
*/
@Test(groups = { "new", "stub" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanHasNoProducerMethods()
{
assert false;
@@ -180,7 +180,7 @@
* � has no decorators.
*/
@Test(groups = { "new" , "stub"})
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanHasNoDisposalMethods()
{
//Class<?> type = TypeInfo.ofTypes(newSimpleBean.getTypes()).getSuperClass();
@@ -200,7 +200,7 @@
* � has no decorators.
*/
@Test(groups = { "stub", "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanHasSameInterceptorMethodsAsWrappedBean()
{
assert false;
@@ -218,7 +218,7 @@
* � has no decorators.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewBeanHasNoDecorators()
{
Annotation[] bindingTypes = newSimpleBean.getBindings().toArray(new Annotation[0]);
@@ -234,7 +234,7 @@
* Bean implementation class.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewAnnotationMayBeAppliedToField()
{
deployBeans(AnnotatedField.class, WrappedSimpleBean.class);
@@ -250,7 +250,7 @@
* Bean implementation class.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewAnnotationMayBeAppliedToProducerMethodParameter()
{
deployBeans(AnnotatedProducerParameter.class, WrappedSimpleBean.class);
@@ -266,7 +266,7 @@
* Bean implementation class.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewAnnotationMayBeAppliedToInitializerMethodParameter()
{
deployBeans(AnnotatedInitializerParameter.class, WrappedSimpleBean.class);
@@ -282,7 +282,7 @@
* Bean implementation class.
*/
@Test(groups = { "new" })
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewAnnotationMayBeAppliedToConstructorMethodParameter()
{
deployBeans(AnnotatedConstructorParameter.class, WrappedSimpleBean.class);
@@ -297,7 +297,7 @@
* by the container at deployment time.
*/
@Test(groups = { "new" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewAnnotationCannotAppearInConjunctionWithOtherBindingType()
{
deployBeans(NewAndOtherBindingType_Broken.class);
@@ -311,7 +311,7 @@
* by the container at deployment time.
*/
@Test(groups = { "stub", "new" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewAnnotationCannotBeAppliedToNonWebBeanImplementationClass()
{
assert false;
@@ -322,14 +322,14 @@
* as a binding type
*/
@Test(groups = { "stub", "new" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.2.5")
+ @SpecAssertion(section = "3.2.5", id = "unknown")
public void testNewAnnotationCannotBeExplicitlyDeclared()
{
assert false;
}
@Test
- @SpecAssertion(section="3.2.5")
+ @SpecAssertion(section="3.2.5", id = "unknown")
public void testForEachSimpleBeanANewBeanExists()
{
deployBeans(Order.class, Lion.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/SimpleBeanDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/SimpleBeanDefinitionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/SimpleBeanDefinitionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -31,35 +31,37 @@
//*** BEAN CLASS CHECKS ****//
- @Test(expectedExceptions=DefinitionException.class) @SpecAssertion(section="3.2")
+ @Test(expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section="3.2", id = "unknown")
public void testAbstractClassDeclaredInJavaIsNotAllowed()
{
createSimpleBean(Cow_Broken.class);
}
@Test(groups="innerClass")
- @SpecAssertion(section="3.2")
+ @SpecAssertion(section="3.2", id = "unknown")
public void testStaticInnerClassDeclaredInJavaAllowed()
{
createSimpleBean(StaticInnerBean_Broken.class);
}
@Test(expectedExceptions=DefinitionException.class, groups="innerClass")
- @SpecAssertion(section="3.2")
+ @SpecAssertion(section="3.2", id = "unknown")
public void testNonStaticInnerClassDeclaredInJavaNotAllowed()
{
createSimpleBean(InnerBean_Broken.class);
}
@SuppressWarnings("unchecked")
- @Test(expectedExceptions=DefinitionException.class) @SpecAssertion(section="3.2")
+ @Test(expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section="3.2", id = "unknown")
public void testParameterizedClassDeclaredInJavaIsNotAllowed()
{
createSimpleBean(ParameterizedBean_Broken.class);
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "interceptors", "decorators"})
- @SpecAssertion(section="3.2")
+ @SpecAssertion(section="3.2", id = "unknown")
public void testClassCannotBeInterceptorAndDecorator()
{
@@ -103,69 +105,69 @@
}
@Test(groups={"stub", "producerMethod", "webbeansxml"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testBeanDeclaredInXmlIgnoresProducerMethodDeclaredInJava()
{
assert false;
}
@Test(groups={"stub", "disposalMethod", "webbeansxml"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testBeanDeclaredInXmlIgnoresDisposalMethodDeclaredInJava()
{
assert false;
}
@Test(groups={"stub", "observerMethod", "webbeansxml"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testBeanDeclaredInXmlIgnoresObserverMethodDeclaredInJava()
{
assert false;
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "webbeansxml"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testAbstractClassDeclaredInXmlIsNotAllowed()
{
}
@Test(groups={"stub", "innerClass", "webbeansxml"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testStaticInnerClassDeclaredInXmlAllowed()
{
assert false;
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "innerClass", "webbeansxml"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testNonStaticInnerClassDeclaredInXmlNotAllowed()
{
assert false;
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "webbeansxml"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testParameterizedClassDeclaredInXmlIsNotAllowed()
{
assert false;
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "interceptors"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testClassHasInterceptorInJavaMustHaveInterceptorInXml()
{
assert false;
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "interceptors"})
- @SpecAssertion(section="3.2.4")
+ @SpecAssertion(section="3.2.4", id = "unknown")
public void testClassHasDecoratorInJavaMustHaveDecoratorInXml()
{
assert false;
}
- @Test @SpecAssertion(section="3.2.5.1")
+ @Test @SpecAssertion(section="3.2.5.1", id = "unknown")
public void testInitializerAnnotatedConstructor() throws Exception
{
deployBeans(Sheep.class);
@@ -183,7 +185,7 @@
}
@Test
- @SpecAssertion(section="3.2.5.1")
+ @SpecAssertion(section="3.2.5.1", id = "unknown")
public void testImplicitConstructorUsed()
{
Bean<Order> order = createSimpleBean(Order.class);
@@ -191,7 +193,7 @@
}
@Test
- @SpecAssertion(section="3.2.6.1")
+ @SpecAssertion(section="3.2.6.1", id = "unknown")
public void testEmptyConstructorUsed()
{
createSimpleBean(Donkey.class).create(new MockCreationalContext<Donkey>());
@@ -199,7 +201,7 @@
}
@Test
- @SpecAssertion(section="3.2.6.1")
+ @SpecAssertion(section="3.2.6.1", id = "unknown")
public void testInitializerAnnotatedConstructorUsedOverEmptyConstuctor() throws Exception
{
deployBeans(Turkey.class);
@@ -215,56 +217,56 @@
}
@Test(expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.2.6.1")
+ @SpecAssertion(section="3.2.6.1", id = "unknown")
public void testTooManyInitializerAnnotatedConstructor()
{
createSimpleBean(Goose_Broken.class);
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "disposalMethod"})
- @SpecAssertion(section="3.2.6.1")
+ @SpecAssertion(section="3.2.6.1", id = "unknown")
public void testConstructorHasDisposesParameter()
{
assert false;
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "observerMethod"})
- @SpecAssertion(section="3.2.6.1")
+ @SpecAssertion(section="3.2.6.1", id = "unknown")
public void testConstructorHasObservesParameter()
{
assert false;
}
@Test(groups={"stub", "webbeansxml"})
- @SpecAssertion(section="3.2.6.2")
+ @SpecAssertion(section="3.2.6.2", id = "unknown")
public void testImplicitConstructorDeclaredInXmlUsed()
{
assert false;
}
@Test(groups={"stub", "webbeansxml"})
- @SpecAssertion(section="3.2.6.2")
+ @SpecAssertion(section="3.2.6.2", id = "unknown")
public void testEmptyConstructorDeclaredInXmlUsed()
{
assert false;
}
@Test(expectedExceptions=DefinitionException.class, groups={"stub", "webbeansxml"})
- @SpecAssertion(section="3.2.6.2")
+ @SpecAssertion(section="3.2.6.2", id = "unknown")
public void testConstructorDeclaredInXmlDoesNotExist()
{
assert false;
}
@Test(groups={"stub", "webbeansxml"})
- @SpecAssertion(section="3.2.6.2")
+ @SpecAssertion(section="3.2.6.2", id = "unknown")
public void testConstructorDeclaredInXmlIgnoresBindingTypesDeclaredInJava()
{
assert false;
}
@Test
- @SpecAssertion(section="3.2.6.3")
+ @SpecAssertion(section="3.2.6.3", id = "unknown")
public void testBindingTypeAnnotatedConstructor() throws Exception
{
deployBeans(Duck.class);
@@ -280,7 +282,7 @@
}
@Test
- @SpecAssertion(section="3.2")
+ @SpecAssertion(section="3.2", id = "unknown")
public void testDependentScopedBeanCanHavePublicField() throws Exception
{
deployBeans(Tiger.class);
@@ -298,7 +300,7 @@
}
@Test(expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.2")
+ @SpecAssertion(section="3.2", id = "unknown")
public void testNonDependentScopedBeanCanNotHavePublicField()
{
deployBeans(Leopard_Broken.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/SimpleBeanLifecycleTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/SimpleBeanLifecycleTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/SimpleBeanLifecycleTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -28,7 +28,7 @@
}
@Test(groups="beanConstruction")
- @SpecAssertion(section="3.2.5.3")
+ @SpecAssertion(section="3.2.5.3", id = "unknown")
public void testInjectionOfParametersIntoBeanConstructor()
{
Bean<FishPond> goldfishPondBean = createSimpleBean(FishPond.class);
@@ -39,14 +39,16 @@
assert fishPond.goldfish != null;
}
- @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.6")
+ @Test(groups={"stub", "specialization"})
+ @SpecAssertion(section="3.2.6", id = "unknown")
public void testSpecializedBeanAlwaysUsed()
{
// TODO Placeholder
assert false;
}
- @Test(groups="beanLifecycle") @SpecAssertion(section="5.3")
+ @Test(groups="beanLifecycle")
+ @SpecAssertion(section="5.3", id = "unknown")
public void testCreateReturnsInstanceOfBean()
{
Bean<RedSnapper> bean = createSimpleBean(RedSnapper.class);
@@ -54,42 +56,42 @@
}
@Test(groups={"stub", "beanLifecycle", "interceptors"})
- @SpecAssertion(section="6.3")
+ @SpecAssertion(section="6.3", id = "unknown")
public void testCreateBindsInterceptorStack()
{
assert false;
}
@Test(groups={"stub", "beanLifecycle", "decorators"})
- @SpecAssertion(section="6.3")
+ @SpecAssertion(section="6.3", id = "unknown")
public void testCreateBindsDecoratorStack()
{
assert false;
}
@Test(groups={"stub", "beanLifecycle", "commonAnnotations"})
- @SpecAssertion(section="6.3")
+ @SpecAssertion(section="6.3", id = "unknown")
public void testCreateInjectsEjb()
{
assert false;
}
@Test(groups={"stub", "beanLifecycle", "commonAnnotations"})
- @SpecAssertion(section="6.3")
+ @SpecAssertion(section="6.3", id = "unknown")
public void testCreateInjectsPersistenceContext()
{
assert false;
}
@Test(groups={"stub", "beanLifecycle", "commonAnnotations"})
- @SpecAssertion(section="6.3")
+ @SpecAssertion(section="6.3", id = "unknown")
public void testCreateInjectsResource()
{
assert false;
}
@Test(groups={"beanLifecycle", "lifecycleCallbacks"})
- @SpecAssertion(section="6.3")
+ @SpecAssertion(section="6.3", id = "unknown")
public void testPostConstructPreDestroy() throws Exception
{
Bean<FarmOffice> farmOfficeBean = createSimpleBean(FarmOffice.class);
@@ -104,7 +106,7 @@
assert farm.closed!=null;
}
- @Test @SpecAssertion(section="4.2")
+ @Test @SpecAssertion(section="4.2", id = "unknown")
public void testSubClassInheritsPostConstructOnSuperclass() throws Exception
{
OrderProcessor.postConstructCalled = false;
@@ -120,7 +122,7 @@
assert OrderProcessor.postConstructCalled;
}
- @Test @SpecAssertion(section="4.2")
+ @Test @SpecAssertion(section="4.2", id = "unknown")
public void testSubClassInheritsPreDestroyOnSuperclass() throws Exception
{
OrderProcessor.preDestroyCalled = false;
@@ -137,7 +139,7 @@
assert OrderProcessor.preDestroyCalled;
}
- @Test @SpecAssertion(section="4.2")
+ @Test @SpecAssertion(section="4.2", id = "unknown")
public void testSubClassDoesNotInheritPostConstructOnSuperclassBlockedByIntermediateClass() throws Exception
{
@@ -154,7 +156,7 @@
assert !OrderProcessor.postConstructCalled;
}
- @Test @SpecAssertion(section="4.2")
+ @Test @SpecAssertion(section="4.2", id = "unknown")
public void testSubClassDoesNotInheritPreDestroyConstructOnSuperclassBlockedByIntermediateClass() throws Exception
{
OrderProcessor.preDestroyCalled = false;
@@ -172,7 +174,8 @@
}
- @Test(groups="injection") @SpecAssertion(section="6.3")
+ @Test(groups="injection")
+ @SpecAssertion(section="6.3", id = "unknown")
public void testCreateInjectsFieldsDeclaredInJava()
{
Bean<TunaFarm> tunaFarmBean = createSimpleBean(TunaFarm.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/realization/RealizationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/realization/RealizationTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/realization/RealizationTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -33,7 +33,7 @@
return deploymentTypes;
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerMethodHasSameScope()
{
deployBeans(Cow.class);
@@ -41,7 +41,7 @@
assert manager.resolveByType(Dung.class, SMELLY_LITERAL).iterator().next().getScopeType().equals(RequestScoped.class);
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerMethodHasDeploymentTypeOfRealizingClass()
{
deployBeans(Cow.class);
@@ -49,7 +49,7 @@
assert manager.resolveByType(Dung.class, SMELLY_LITERAL).iterator().next().getDeploymentType().equals(AnotherDeploymentType.class);
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerMethodHasSameBindings()
{
deployBeans(Cow.class);
@@ -58,7 +58,7 @@
assert manager.resolveByType(Dung.class, SMELLY_LITERAL).iterator().next().getBindings().iterator().next().annotationType().equals(Smelly.class);
}
- @Test@SpecAssertion(section="4.4")
+ @Test@SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerMethodHasBindingsOfMethodAndRealizingType()
{
deployBeans(TameCow.class);
@@ -67,7 +67,7 @@
assert annotationSetMatches(manager.resolveByType(Dung.class, SMELLY_LITERAL).iterator().next().getBindings(), Smelly.class, Tame.class);
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerMethodHasSameStereotypes()
{
deployBeans(LabradorKennel.class);
@@ -75,13 +75,13 @@
assert manager.resolveByType(Dog.class).iterator().next().getScopeType().equals(RequestScoped.class);
}
- @Test(groups="stub") @SpecAssertion(section="4.1")
+ @Test(groups="stub") @SpecAssertion(section="4.1", id = "unknown")
public void testRealizedBeanWithProducerMethodHasSameInterceptorBindings()
{
assert false;
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerFieldHasSameScope()
{
deployBeans(Horse.class);
@@ -89,7 +89,7 @@
assert manager.resolveByType(Dung.class, SMELLY_LITERAL).iterator().next().getScopeType().equals(RequestScoped.class);
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerFieldHasDeploymentTypeOfRealizingClass()
{
deployBeans(Horse.class);
@@ -97,7 +97,7 @@
assert manager.resolveByType(Dung.class, SMELLY_LITERAL).iterator().next().getDeploymentType().equals(AnotherDeploymentType.class);
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerFieldHasSameBindings()
{
deployBeans(Horse.class);
@@ -106,7 +106,7 @@
assert manager.resolveByType(Dung.class, SMELLY_LITERAL).iterator().next().getBindings().iterator().next().annotationType().equals(Smelly.class);
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerFieldHasBindingsOfMethodAndRealizingType()
{
deployBeans(TameHorse.class);
@@ -115,7 +115,7 @@
assert annotationSetMatches(manager.resolveByType(Dung.class, SMELLY_LITERAL).iterator().next().getBindings(), Smelly.class, Tame.class);
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerFieldHasSameStereotypes()
{
deployBeans(Stable.class);
@@ -123,25 +123,25 @@
assert manager.resolveByType(Horse.class).iterator().next().getScopeType().equals(RequestScoped.class);
}
- @Test(groups="stub") @SpecAssertion(section="4.4")
+ @Test(groups="stub") @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedBeanWithProducerFieldHasSameInterceptorBindings()
{
assert false;
}
- @Test(groups="stub") @SpecAssertion(section="4.4")
+ @Test(groups="stub") @SpecAssertion(section="4.4", id = "unknown")
public void testDisposalMethodInherited()
{
assert false;
}
- @Test(groups="stub") @SpecAssertion(section="4.4")
+ @Test(groups="stub") @SpecAssertion(section="4.4", id = "unknown")
public void testRealizedDisposalMethodHasBindingsOfMethodAndRealizingType()
{
assert false;
}
- @Test @SpecAssertion(section="4.4")
+ @Test @SpecAssertion(section="4.4", id = "unknown")
public void testObserverMethodInheritedAndHasSameBindings()
{
deployBeans(FarmHouse.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/enterprise/EnterpriseBeanSpecializationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/enterprise/EnterpriseBeanSpecializationTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/enterprise/EnterpriseBeanSpecializationTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,6 +12,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -33,7 +34,10 @@
private static Annotation LANDOWNER_LITERAL = new AnnotationLiteral<Landowner>() {};
@Test
- @SpecAssertion(section = {"4.3.1", "3.2.7"})
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.2.7", id = "unknown")
+ })
public void testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean()
{
deployBeans(Farmer.class, LazyFarmer.class);
@@ -43,7 +47,11 @@
assert annotationSetMatches( manager.resolveByType(Farmer.class, LANDOWNER_LITERAL).iterator().next().getBindings(), Landowner.class, Lazy.class);
}
- @Test @SpecAssertion(section = {"4.3.1", "3.2.7"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.2.7", id = "unknown")
+ })
public void testSpecializingBeanHasNameOfSpecializedBean()
{
deployBeans(Farmer.class, LazyFarmer.class);
@@ -53,14 +61,17 @@
}
@Test(expectedExceptions=DefinitionException.class)
- @SpecAssertion(section = "4.3.1")
+ @SpecAssertion(section = "4.3.1", id = "unknown")
public void testSpecializingAndSpecializedBeanHasName()
{
deployBeans(FarmYard_Broken.class);
}
@Test(groups="broken")
- @SpecAssertion(section={"4.3.1", "3.2.7"})
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.2.7", id = "unknown")
+ })
public void testSpecializedBeanNotInstantiated() throws Exception
{
deployBeans(LazyFarmer.class, Farmer.class);
@@ -78,14 +89,14 @@
}
@Test(expectedExceptions=InconsistentSpecializationException.class)
- @SpecAssertion(section="4.3.1")
+ @SpecAssertion(section="4.3.1", id = "unknown")
public void testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean()
{
deployBeans(Farmer.class, OrganicFarmer_Broken.class);
}
@Test(groups="broken")
- @SpecAssertion(section="4.3.1")
+ @SpecAssertion(section="4.3.1", id = "unknown")
public void testProducerMethodOnSpecializedBeanCalledOnSpecializingBean() throws Exception
{
deployBeans(Office.class, Building.class);
@@ -103,42 +114,42 @@
}
@Test(expectedExceptions=InconsistentSpecializationException.class)
- @SpecAssertion(section="4.3.1")
+ @SpecAssertion(section="4.3.1", id = "unknown")
public void testTwoBeansSpecializeTheSameBean()
{
deployBeans(Farmer.class, SheepFarmer_Broken.class, FishFarmer_Broken.class);
}
@Test(groups={"specialization"},expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.2.7")
+ @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializingClassDirectlyExtendsSimpleBean()
{
deployBeans(Tractor_Broken.class);
}
@Test(groups={"specialization"},expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.2.7")
+ @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializingClassDirectlyExtendsNothing()
{
deployBeans(Cow_Broken.class);
}
@Test(groups={"specialization"},expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.2.7")
+ @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializingClassImplementsInterfaceAndExtendsNothing()
{
deployBeans(Donkey_Broken.class);
}
@Test(groups={"broken", "specialization"},expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.3.7")
+ @SpecAssertion(section="3.3.7", id = "unknown")
public void testSpecializingBeanDoesNotSupportAllLocalInterfacesOnSpecializedBean()
{
assert false;
}
@Test(groups={"broken", "specialization"},expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.3.7")
+ @SpecAssertion(section="3.3.7", id = "unknown")
public void testSpecializingBeanDoesNotSupportLocalInterfaceView()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,6 +12,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -32,7 +33,11 @@
return deploymentTypes;
}
- @Test @SpecAssertion(section = {"4.3.1", "3.4.5"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.4.5", id = "unknown")
+ })
public void testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean()
{
deployBeans(JewelryShop.class);
@@ -41,7 +46,11 @@
assert annotationSetMatches( manager.resolveByType(Product.class, EXPENSIVE_LITERAL).iterator().next().getBindings(), Expensive.class, Sparkly.class);
}
- @Test @SpecAssertion(section = {"4.3.1", "3.4.5"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.4.5", id = "unknown")
+ })
public void testSpecializingBeanHasNameOfSpecializedBean()
{
deployBeans(JewelryShop.class);
@@ -49,13 +58,18 @@
assert manager.resolveByType(Product.class, new AnnotationLiteral<Sparkly>(){}).iterator().next().getName().equals("expensiveGift");
}
- @Test(expectedExceptions=DefinitionException.class) @SpecAssertion(section = "4.3.1")
+ @Test(expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section = "4.3.1", id = "unknown")
public void testSpecializingAndSpecializedBeanHasName()
{
deployBeans(HighSchool_Broken.class);
}
- @Test @SpecAssertion(section={"4.3.1", "3.4.5"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.4.5", id = "unknown")
+ })
public void testSpecializedBeanNotInstantiated() throws Exception
{
deployBeans(JewelryShop.class, Shop.class);
@@ -73,35 +87,35 @@
}
@Test(expectedExceptions=InconsistentSpecializationException.class)
- @SpecAssertion(section="4.3.1")
+ @SpecAssertion(section="4.3.1", id = "unknown")
public void testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean()
{
deployBeans(ClothesShop_Broken.class);
}
@Test(expectedExceptions=InconsistentSpecializationException.class)
- @SpecAssertion(section="4.3.1")
+ @SpecAssertion(section="4.3.1", id = "unknown")
public void testTwoBeansSpecializeTheSameBean()
{
deployBeans(PictureShop_Broken.class, Bookshop_Broken.class);
}
@Test(expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.4.5")
+ @SpecAssertion(section="3.4.5", id = "unknown")
public void testSpecializedStaticMethod()
{
deployBeans(FurnitureShop_Broken.class);
}
@Test(expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.4.5")
+ @SpecAssertion(section="3.4.5", id = "unknown")
public void testSpecializedMethodDoesNotOverrideAnotherProducerMethod()
{
deployBeans(FurnitureShop_Broken.class);
}
@Test(expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.4.5")
+ @SpecAssertion(section="3.4.5", id = "unknown")
public void testSpecializedMethodIndirectlyOverridesAnotherProducerMethod()
{
deployBeans(ShoeShop_Broken.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/simple/SimpleBeanSpecializationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/simple/SimpleBeanSpecializationTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/simple/SimpleBeanSpecializationTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,6 +12,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.testng.annotations.Test;
/**
@@ -32,7 +33,11 @@
private static Annotation LANDOWNER_LITERAL = new AnnotationLiteral<Landowner>() {};
- @Test @SpecAssertion(section = {"4.3.1", "3.2.7"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.2.7", id = "unknown")
+ })
public void testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean()
{
deployBeans(LazyFarmer.class);
@@ -42,7 +47,11 @@
assert annotationSetMatches( manager.resolveByType(Farmer.class, LANDOWNER_LITERAL).iterator().next().getBindings(), Landowner.class, Lazy.class);
}
- @Test @SpecAssertion(section = {"4.3.1", "3.2.7"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.2.7", id = "unknown")
+ })
public void testSpecializingBeanHasNameOfSpecializedBean()
{
deployBeans(LazyFarmer.class);
@@ -51,13 +60,18 @@
assert manager.resolveByType(Farmer.class, LANDOWNER_LITERAL).iterator().next().getName().equals("farmer");
}
- @Test(expectedExceptions=DefinitionException.class) @SpecAssertion(section = "4.3.1")
+ @Test(expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section = "4.3.1", id = "unknown")
public void testSpecializingAndSpecializedBeanHasName()
{
deployBeans(FarmYard_Broken.class);
}
- @Test @SpecAssertion(section={"4.3.1", "3.2.7"})
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.3.1", id = "unknown"),
+ @SpecAssertion(section = "3.2.7", id = "unknown")
+ })
public void testSpecializedBeanNotInstantiated() throws Exception
{
deployBeans(LazyFarmer.class, Farmer.class);
@@ -75,13 +89,13 @@
}
@Test(expectedExceptions=InconsistentSpecializationException.class)
- @SpecAssertion(section="4.3.1")
+ @SpecAssertion(section="4.3.1", id = "unknown")
public void testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean()
{
deployBeans(OrganicFarmer_Broken.class);
}
- @Test @SpecAssertion(section="4.3.1")
+ @Test @SpecAssertion(section="4.3.1", id = "unknown")
public void testProducerMethodOnSpecializedBeanCalledOnSpecializingBean() throws Exception
{
deployBeans(Office.class, Building.class);
@@ -99,28 +113,28 @@
}
@Test(expectedExceptions=InconsistentSpecializationException.class)
- @SpecAssertion(section="4.3.1")
+ @SpecAssertion(section="4.3.1", id = "unknown")
public void testTwoBeansSpecializeTheSameBean()
{
deployBeans(SheepFarmer_Broken.class, FishFarmer_Broken.class);
}
@Test(groups={"specialization"},expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.2.7")
+ @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializingClassDirectlyExtendsEnterpriseBean()
{
deployBeans(FarmEquipment.class, Tractor_Broken.class);
}
@Test(groups={"specialization"},expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.2.7")
+ @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializingClassDirectlyExtendsNothing()
{
deployBeans(Cow_Broken.class);
}
@Test(groups={"specialization"},expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="3.2.7")
+ @SpecAssertion(section="3.2.7", id = "unknown")
public void testSpecializingClassImplementsInterfaceAndExtendsNothing()
{
deployBeans(Donkey_Broken.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/byname/InstantiationByNameTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/byname/InstantiationByNameTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/byname/InstantiationByNameTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -15,7 +15,7 @@
public class InstantiationByNameTest extends AbstractTest
{
- @Test(groups="resolution") @SpecAssertion(section="5.10")
+ @Test(groups="resolution") @SpecAssertion(section="5.10", id = "unknown")
public void testNoWebBeansFound() throws Exception
{
Bean<Cod> codBean = createSimpleBean(Cod.class);
@@ -27,7 +27,7 @@
}
@Test(expectedExceptions=AmbiguousDependencyException.class)
- @SpecAssertion(section="5.7.1")
+ @SpecAssertion(section="5.7.1", id = "unknown")
public void testAmbiguousDependencies() throws Exception
{
Bean<Cod> codBean = createSimpleBean(Cod.class);
@@ -40,7 +40,7 @@
manager.getInstanceByName("whitefish");
}
- @Test(groups={"resolution", "beanLifecycle"}) @SpecAssertion(section="5.7.1")
+ @Test(groups={"resolution", "beanLifecycle"}) @SpecAssertion(section="5.7.1", id = "unknown")
public void testGetInstanceByName()
{
Bean<Tuna> tunaBean = createSimpleBean(Tuna.class);
@@ -70,7 +70,7 @@
}
}
- @Test(groups={"stub", "resolution", "el"}) @SpecAssertion(section="5.10")
+ @Test(groups={"stub", "resolution", "el"}) @SpecAssertion(section="5.10", id = "unknown")
public void testGetInstanceByNameCalledOncePerDistinctNameInElExpression()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/byname/ResolutionByNameTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/byname/ResolutionByNameTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/byname/ResolutionByNameTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -36,7 +36,7 @@
* the Web Bean
*/
@Test(groups={"stub", "el"})
- @SpecAssertion(section="5.11")
+ @SpecAssertion(section="5.11", id = "unknown")
public void testELResolver()
{
assert manager.getInstanceByName("nonexistant") == null;
@@ -59,7 +59,7 @@
* AmbiguousDependencyException.
*/
@Test(expectedExceptions=AmbiguousDependencyException.class)
- @SpecAssertion(section="5.11")
+ @SpecAssertion(section="5.11", id = "unknown")
public void testDuplicateNamedBeans()
{
try
@@ -80,7 +80,7 @@
}
}
- @Test @SpecAssertion(section="5.11")
+ @Test @SpecAssertion(section="5.11", id = "unknown")
public void testNamedBasedResolution()
{
@@ -112,7 +112,7 @@
assert manager.resolveByName("whitefish").contains(plaiceBean);
}
- @Test(groups="resolution") @SpecAssertion(section="5.11")
+ @Test(groups="resolution") @SpecAssertion(section="5.11", id = "unknown")
public void testNoWebBeansFound() throws Exception
{
Bean<Cod> codBean = createSimpleBean(Cod.class);
@@ -133,7 +133,7 @@
* highest precedence deployment type that occurs in the set. If there are no matching Web Beans,
* an empty set is returned.
*/
- @Test(groups="stub") @SpecAssertion(section="5.11")
+ @Test(groups="stub") @SpecAssertion(section="5.11", id = "unknown")
public void testOnlyHighestPrecedenceResolved()
{
// Both Cod and Plaice are named "whitefish" - Plaice has the highest deployment type (AnotherDeploymentType)
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/clientProxy/ClientProxyTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/clientProxy/ClientProxyTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/clientProxy/ClientProxyTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -31,7 +31,7 @@
}
@Test(groups = "configuration().getBeans()")
- @SpecAssertion(section = { "5.4" })
+ @SpecAssertion(section = "5.4", id = "unknown")
public void testClientProxyUsedForNormalScope()
{
Bean<Tuna> tunaBean = createSimpleBean(Tuna.class);
@@ -41,7 +41,7 @@
}
@Test(groups = "configuration().getBeans()")
- @SpecAssertion(section = { "5.4" })
+ @SpecAssertion(section = "5.4", id = "unknown")
public void testClientProxyNotUsedForPseudoScope()
{
Bean<Fox> foxBean = createSimpleBean(Fox.class);
@@ -58,7 +58,7 @@
}
@Test(groups = "configuration().getBeans()")
- @SpecAssertion(section = "5.4")
+ @SpecAssertion(section = "5.4", id = "unknown")
public void testSimpleWebBeanClientProxyIsSerializable() throws IOException, ClassNotFoundException
{
Bean<TunedTuna> tunaBean = createSimpleBean(TunedTuna.class);
@@ -72,7 +72,7 @@
}
@Test(groups = "configuration().getBeans()", expectedExceptions = UnproxyableDependencyException.class)
- @SpecAssertion(section = "5.4.1")
+ @SpecAssertion(section = "5.4.1", id = "unknown")
public void testInjectionPointWithUnproxyableTypeWhichResolvesToNormalScopedWebBean()
{
Bean<FinalTuna_Broken> tunaBean = createSimpleBean(FinalTuna_Broken.class);
@@ -83,7 +83,7 @@
}
@Test(groups = "configuration().getBeans()")
- @SpecAssertion(section = "5.4.2")
+ @SpecAssertion(section = "5.4.2", id = "unknown")
public void testClientProxyInvocation()
{
Bean<TunedTuna> tunaBean = createSimpleBean(TunedTuna.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/injection/InjectionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/injection/InjectionTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/injection/InjectionTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -32,7 +32,7 @@
}
@Test(groups = { "injection", "producerMethod" })
- @SpecAssertion(section = "5.2")
+ @SpecAssertion(section = "5.2", id = "unknown")
public void testInjectionPerformsBoxingIfNecessary() throws Exception
{
Bean<SpiderProducer> spiderProducer = createSimpleBean(SpiderProducer.class);
@@ -45,14 +45,14 @@
}
@Test(groups = { "injection", "producerMethod" }, expectedExceptions = NullableDependencyException.class)
- @SpecAssertion(section = "5.2")
+ @SpecAssertion(section = "5.2", id = "unknown")
public void testPrimitiveInjectionPointResolvesToNullableWebBean() throws Exception
{
deployBeans(FarmHouseProducer_Broken.class, FarmHouse_Broken.class);
}
@Test(groups = { "injection", "clientProxy" }, expectedExceptions = ContextNotActiveException.class)
- @SpecAssertion(section = "5.3")
+ @SpecAssertion(section = "5.3", id = "unknown")
public void testInvokeNormalInjectedWebBeanWhenContextNotActive()
{
Bean<TunaFarm> tunaFarmBean = createSimpleBean(TunaFarm.class);
@@ -65,7 +65,7 @@
}
@Test(groups = "injection")
- @SpecAssertion(section = "5.3")
+ @SpecAssertion(section = "5.3", id = "unknown")
public void testInvokeDependentScopeWhenContextNotActive()
{
Bean<FoxRun> foxRunBean = createSimpleBean(FoxRun.class);
@@ -76,7 +76,7 @@
}
@Test(groups = "injection", expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.7")
+ @SpecAssertion(section = "3.7", id = "unknown")
public void testInjectingStaticField()
{
Bean<BeanWithStaticBoundField_Broken> bean = createSimpleBean(BeanWithStaticBoundField_Broken.class);
@@ -86,7 +86,7 @@
}
@Test(groups = "injection", expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.7")
+ @SpecAssertion(section = "3.7", id = "unknown")
public void testInjectingFinalField()
{
Bean<BeanWithFinalBoundField_Broken> bean = createSimpleBean(BeanWithFinalBoundField_Broken.class);
@@ -95,7 +95,7 @@
bean.create(new MockCreationalContext<BeanWithFinalBoundField_Broken>());
}
- @Test @SpecAssertion(section="4.2")
+ @Test @SpecAssertion(section="4.2", id = "unknown")
public void testFieldDeclaredInSuperclassInjected() throws Exception
{
deployBeans(Fox.class, DeluxeHenHouse.class, HenHouse.class);
@@ -113,35 +113,35 @@
}
@Test(groups = { "stub", "injection", "webbeansxml" })
- @SpecAssertion(section = "3.8.2")
+ @SpecAssertion(section = "3.8.2", id = "unknown")
public void testInjectFieldsDeclaredInXml()
{
assert false;
}
@Test(groups = { "stub", "injection", "webbeansxml" })
- @SpecAssertion(section = "3.8.2")
+ @SpecAssertion(section = "3.8.2", id = "unknown")
public void testInjectedFieldDeclaredInXmlIgnoresJavaAnnotations()
{
assert false;
}
@Test(groups = { "stub", "injection", "webbeansxml" })
- @SpecAssertion(section = "3.8.2")
+ @SpecAssertion(section = "3.8.2", id = "unknown")
public void testInjectedFieldDeclaredInXmlAssumesCurrent()
{
assert false;
}
@Test(groups = { "stub", "injection", "webbeansxml" }, expectedExceptions = DefinitionException.class)
- @SpecAssertion(section = "3.8.2")
+ @SpecAssertion(section = "3.8.2", id = "unknown")
public void testNonexistentFieldDefinedInXml()
{
assert false;
}
@Test(groups = { "stub", "injection", "webbeansxml" })
- @SpecAssertion(section = "3.8.2")
+ @SpecAssertion(section = "3.8.2", id = "unknown")
public void testInjectFieldsDeclaredInXmlAndJava()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/injectionpoint/InjectionPointTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/injectionpoint/InjectionPointTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/injectionpoint/InjectionPointTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -46,7 +46,7 @@
{
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testGetBean()
{
deployBeans(FieldInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -70,7 +70,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testGetType()
{
deployBeans(FieldInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -91,7 +91,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testGetBindingTypes()
{
deployBeans(FieldInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -114,7 +114,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testGetMemberField()
{
deployBeans(FieldInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -135,7 +135,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testGetMemberMethod()
{
deployBeans(MethodInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -161,7 +161,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testGetMemberConstructor()
{
deployBeans(ConstructorInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -187,7 +187,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testGetAnnotation()
{
deployBeans(FieldInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -208,7 +208,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testGetAnnotations()
{
deployBeans(FieldInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -232,7 +232,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testStandardDeployment() throws Exception
{
deployBeans();
@@ -251,7 +251,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testDependentScope() throws Exception
{
deployBeans();
@@ -270,7 +270,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testApiTypeInjectionPoint()
{
deployBeans(FieldInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
@@ -291,7 +291,7 @@
}
@Test(groups = { "injectionPoint" })
- @SpecAssertion(section = "5.6")
+ @SpecAssertion(section = "5.6", id = "unknown")
public void testCurrentBinding()
{
deployBeans(FieldInjectionPointBean.class, BeanWithInjectionPointMetadata.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/manager/ManagerTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/manager/ManagerTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/manager/ManagerTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -12,7 +12,7 @@
public class ManagerTest extends AbstractTest
{
@Test(groups={"manager", "injection", "deployment"})
- @SpecAssertion(section="5.7")
+ @SpecAssertion(section="5.7", id = "unknown")
public void testInjectingManager() throws Exception
{
deployBeans(FishFarmOffice.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/typesafe/InstantiationByTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/typesafe/InstantiationByTypeTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/typesafe/InstantiationByTypeTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -33,7 +33,7 @@
}
@Test(groups={"resolution", "beanLifecycle"})
- @SpecAssertion(section="5.8")
+ @SpecAssertion(section="5.8", id = "unknown")
public void testCurrentBindingTypeAssumed()
{
Bean<Tuna> tunaBean = createSimpleBean(Tuna.class);
@@ -42,14 +42,14 @@
}
@Test(groups="resolution", expectedExceptions=IllegalArgumentException.class)
- @SpecAssertion(section="5.8")
+ @SpecAssertion(section="5.8", id = "unknown")
public void testParameterizedTypeWithWildcardParameter()
{
manager.getInstanceByType(new TypeLiteral<ParameterizedBean_Broken<?>>(){});
}
@Test(groups="resolution", expectedExceptions=IllegalArgumentException.class)
- @SpecAssertion(section="5.8")
+ @SpecAssertion(section="5.8", id = "unknown")
public <T> void testParameterizedTypeWithTypeParameter()
{
manager.getInstanceByType(new TypeLiteral<ParameterizedBean_Broken<T>>(){});
@@ -57,21 +57,21 @@
@Test(groups="resolution", expectedExceptions=DuplicateBindingTypeException.class)
- @SpecAssertion(section="5.8")
+ @SpecAssertion(section="5.8", id = "unknown")
public void testDuplicateBindingTypesUsed()
{
manager.getInstanceByType(Tuna.class, new CurrentBinding(), new CurrentBinding());
}
@Test(groups="resolution", expectedExceptions=IllegalArgumentException.class)
- @SpecAssertion(section="5.8")
+ @SpecAssertion(section="5.8", id = "unknown")
public void testNonBindingTypeUsed()
{
manager.getInstanceByType(Tuna.class, new AnotherDeploymentTypeLiteral());
}
@Test(expectedExceptions=AmbiguousDependencyException.class)
- @SpecAssertion(section="5.8")
+ @SpecAssertion(section="5.8", id = "unknown")
public void testAmbiguousDependencies() throws Exception
{
Bean<Cod> codBean = createSimpleBean(Cod.class);
@@ -84,7 +84,7 @@
}
@Test(expectedExceptions=UnsatisfiedDependencyException.class)
- @SpecAssertion(section="5.8")
+ @SpecAssertion(section="5.8", id = "unknown")
public void testUnsatisfiedDependencies() throws Exception
{
Bean<Cod> codBean = createSimpleBean(Cod.class);
@@ -97,7 +97,7 @@
}
@Test(expectedExceptions=UnproxyableDependencyException.class)
- @SpecAssertion(section="5.8")
+ @SpecAssertion(section="5.8", id = "unknown")
public void testUnproxyableDependencies() throws Exception
{
deployBeans(FinalTuna_Broken.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/typesafe/ResolutionByTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/typesafe/ResolutionByTypeTest.java 2009-01-29 20:32:47 UTC (rev 1360)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/lookup/typesafe/ResolutionByTypeTest.java 2009-01-30 09:53:04 UTC (rev 1361)
@@ -13,6 +13,7 @@
import org.jboss.webbeans.tck.AbstractTest;
import org.jboss.webbeans.tck.impl.SpecAssertion;
+import org.jboss.webbeans.tck.impl.SpecAssertions;
import org.jboss.webbeans.tck.impl.literals.CurrentBinding;
import org.testng.annotations.Test;
@@ -33,7 +34,7 @@
}
@Test(groups="resolution")
- @SpecAssertion(section="5.9")
+ @SpecAssertion(section="5.9", id = "unknown")
public void testDefaultBindingTypeAssumed() throws Exception
{
Bean<Tuna> tunaBean = createSimpleBean(Tuna.class);
@@ -44,35 +45,35 @@
}
@Test(groups="resolution", expectedExceptions=IllegalArgumentException.class)
- @SpecAssertion(section="5.9")
+ @SpecAssertion(section="5.9", id = "unknown")
public void testParameterizedTypeWithWildcardParameter()
{
manager.resolveByType(new TypeLiteral<ParameterizedBean_Broken<?>>(){});
}
@Test(groups="resolution", expectedExceptions=IllegalArgumentException.class)
- @SpecAssertion(section="5.9")
+ @SpecAssertion(section="5.9", id = "unknown")
public <T> void testParameterizedTypeWithTypeParameter()
{
manager.resolveByType(new TypeLiteral<ParameterizedBean_Broken<T>>(){});
}
@Test(groups="resolution", expectedExceptions=DuplicateBindingTypeException.class)
- @SpecAssertion(section="5.9")
+ @SpecAssertion(section="5.9", id = "unknown")
public void testDuplicateBindingTypesUsed()
{
manager.resolveByType(Tuna.class, new CurrentBinding(), new CurrentBinding());
}
@Test(groups="resolution", expectedExceptions=IllegalArgumentException.class)
- @SpecAssertion(section="5.9")
+ @SpecAssertion(section="5.9", id = "unknown")
public void testNonBindingTypeUsed()
{
manager.resolveByType(Tuna.class, new AnotherDeploymentTypeLiteral());
}
@Test(groups="resolution")
- @SpecAssertion(section={"5.9"})
+ @SpecAssertion(section="5.9", id = "unknown")
public void testResolveByType() throws Exception
{
Bean<Tuna> tunaBean = createSimpleBean(Tuna.class);
@@ -98,7 +99,10 @@
}
@Test(groups="injection")
- @SpecAssertion(section={"2.3.5","5.9.2"})
+ @SpecAssertions({
+ @SpecAssertion(section = "2.3.5", id = "unknown"),
+ @SpecAssertion(section = "5.9.2", id = "unknown")
+ })
public void testAllBindingTypesSpecifiedForResolutionMustAppearOnWebBean()
{
Bean<Cod> codBean = createSimpleBean(Cod.class);
@@ -132,7 +136,7 @@
}
@Test(groups="resolution")
- @SpecAssertion(section="5.9")
+ @SpecAssertion(section="5.9", id = "unknown")
public void testResolveByTypeWithTypeParameter() throws Exception
{
Bean<ScottishFishFarmer> scottishFishFarmerBean = createSimpleBean(ScottishFishFarmer.class);
@@ -146,7 +150,7 @@
}
@Test(groups={"resolution", "producerMethod"})
- @SpecAssertion(section="5.9")
+ @SpecAssertion(section="5.9", id = "unknown")
public void testResolveByTypeWithArray() throws Exception
{
Bean<SpiderProducer> spiderProducerBean = createSimpleBean(SpiderProducer.class);
@@ -161,7 +165,7 @@
assert manager.resolveByType(Spider[].class).size() == 1;
}
- @Test @SpecAssertion(section="5.9")
+ @Test @SpecAssertion(section="5.9", id = "unknown")
public void testOnlyHighestEnabledPrecedenceWebBeansResolved() throws Exception
{
Bean<Cod> codBean = createSimpleBean(Cod.class);
@@ -179,7 +183,8 @@
}
- @Test(groups="resolution") @SpecAssertion(section="5.9")
+ @Test(groups="resolution")
+ @SpecAssertion(section="5.9", id = "unknown")
public void testNoWebBeansFound() throws Exception
{
Bean<Salmon> salmonBean = createSimpleBean(Salmon.class);
@@ -192,7 +197,8 @@
assert manager.resolveByType(Tuna.class, new CurrentBinding()).size() == 0;
}
- @Test(groups="resolution") @SpecAssertion(section="5.9.1")
+ @Test(groups="resolution")
+ @SpecAssertion(section="5.9.1", id = "unknown")
public void testResolveByTypeWithNonBindingMembers() throws Exception
{
Bean<Halibut> halibutBean = createSimpleBean(Halibut.class);
@@ -222,7 +228,7 @@
}
@Test(groups="resolution", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="5.9.1")
+ @SpecAssertion(section="5.9.1", id = "unknown")
public void testArrayValuedAnnotationMemberWithoutNonBinding()
{
manager.resolveByType(Animal.class, new BindingTypeWithBindingArrayTypeMemberLiteral_Broken() {
@@ -236,7 +242,7 @@
}
@Test(groups="resolution", expectedExceptions=DefinitionException.class)
- @SpecAssertion(section="5.9.1")
+ @SpecAssertion(section="5.9.1", id = "unknown")
public void testAnnotationValuedAnnotationMemberWithoutNonBinding()
{
manager.resolveByType(Animal.class, new BindingTypeWithBindingAnnotationMemberLiteral_Broken()
15 years, 11 months
[webbeans-commits] Webbeans SVN: r1360 - in tck/trunk/impl/src/main/java/org/jboss/webbeans/tck: unit/context/dependent and 2 other directories.
by webbeans-commits@lists.jboss.org
Author: dallen6
Date: 2009-01-29 15:32:47 -0500 (Thu, 29 Jan 2009)
New Revision: 1360
Added:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AbstractEvent.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AllEventTypesObserver.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/ComplexEvent.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/GeneralEvent.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/Terrier.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TibetanTerrier.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TooManyPhases_Broken.java
Removed:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/Terrier.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/TibetanTerrier.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/AnotherDeploymentType.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/OtherSpiderProducer.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/SpiderProducer.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/EventTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldLifecycleTest.java
Log:
A few more tests are now working; re-organized some of the tests as well.
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -20,7 +20,6 @@
import java.util.Set;
import javax.event.Observer;
-import javax.inject.DefinitionException;
import javax.inject.manager.Bean;
import org.jboss.webbeans.tck.AbstractTest;
@@ -62,16 +61,41 @@
assert observers.size() == 2;
}
- @Test(groups = { "events", "integration" }, expectedExceptions=DefinitionException.class)
- @SpecAssertion(section = "7.5")
- public void testObserverMethodOnEnterpriseBeanNotBusinessMethodOrStaticFails()
+ @Test(groups = { "stub", "events", "integration" })
+ @SpecAssertion(section = "7.5.6")
+ public void testTransactionalObserverNotifiedImmediatelyWhenNoTransactionInProgress()
{
- deployBeans(TibetanTerrier.class);
- Set<Bean<Object>> beans = manager.resolveByType(Object.class);
- assert beans.size() >= 2;
- Set<Observer<String>> observers = manager.resolveObservers("An event");
+ assert false;
}
+ @Test(groups = { "stub", "events", "integration" })
+ @SpecAssertion(section = "7.5.6")
+ public void testAfterTransactionCompletionObserver()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "events", "integration" })
+ @SpecAssertion(section = "7.5.6")
+ public void testAfterTransactionSuccessObserver()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "events", "integration" })
+ @SpecAssertion(section = "7.5.6")
+ public void testAfterTransactionFailureObserver()
+ {
+ assert false;
+ }
+
+ @Test(groups = { "stub", "events", "integration" })
+ @SpecAssertion(section = "7.5.6")
+ public void testBeforeTransactionCompletionObserver()
+ {
+ assert false;
+ }
+
/**
*
*/
Deleted: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/Terrier.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/Terrier.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/Terrier.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -1,9 +0,0 @@
-package org.jboss.webbeans.tck.integration.event;
-
-import javax.ejb.Local;
-
-@Local
-public interface Terrier
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/TibetanTerrier.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/TibetanTerrier.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/TibetanTerrier.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -1,12 +0,0 @@
-package org.jboss.webbeans.tck.integration.event;
-
-import javax.ejb.Stateless;
-import javax.event.Observes;
-
-@Stateless
-class TibetanTerrier implements Terrier
-{
- public void observeInitialized(@Observes String someEvent)
- {
- }
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/AnotherDeploymentType.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/AnotherDeploymentType.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/AnotherDeploymentType.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -1,20 +0,0 @@
-package org.jboss.webbeans.tck.unit.context.dependent;
-
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.inject.DeploymentType;
-
-@Target( { TYPE, METHOD })
-@Retention(RUNTIME)
-@Documented
-@DeploymentType
-@interface AnotherDeploymentType
-{
-
-}
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -76,10 +76,8 @@
@SpecAssertion(section = "8.3")
public void testInstanceUsedForProducerMethodNotShared() throws Exception
{
- Bean<SpiderProducer> spiderProducer = createSimpleBean(SpiderProducer.class);
- manager.addBean(spiderProducer);
- Method method = SpiderProducer.class.getMethod("produceTarantula");
- Bean<Tarantula> tarantulaBean = createProducerMethodBean(method, spiderProducer);
+ deployBeans(SpiderProducer.class);
+ Bean<Tarantula> tarantulaBean = manager.resolveByType(Tarantula.class).iterator().next();
Tarantula tarantula = tarantulaBean.create(new MockCreationalContext<Tarantula>());
Tarantula tarantula2 = tarantulaBean.create(new MockCreationalContext<Tarantula>());
assert tarantula != null;
@@ -96,10 +94,8 @@
@SpecAssertion(section = "8.3")
public void testInstanceUsedForProducerFieldNotShared() throws Exception
{
- Bean<OtherSpiderProducer> spiderProducer = createSimpleBean(OtherSpiderProducer.class);
- manager.addBean(spiderProducer);
- Field field = OtherSpiderProducer.class.getField("produceTarantula");
- Bean<Tarantula> tarantulaBean = createProducerFieldBean(field, spiderProducer);
+ deployBeans(OtherSpiderProducer.class);
+ Bean<Tarantula> tarantulaBean = manager.resolveByType(Tarantula.class).iterator().next();
Tarantula tarantula = tarantulaBean.create(new MockCreationalContext<Tarantula>());
Tarantula tarantula2 = tarantulaBean.create(new MockCreationalContext<Tarantula>());
assert tarantula != null;
@@ -261,9 +257,8 @@
public void testContextIsActiveDuringBeanCreation()
{
// Slightly roundabout, but I can't see a better way to test atm
- Bean<FoxRun> foxRunBean = createSimpleBean(FoxRun.class);
- Bean<Fox> foxBean = createSimpleBean(Fox.class);
- manager.addBean(foxBean);
+ deployBeans(FoxRun.class, Fox.class);
+ Bean<FoxRun> foxRunBean = manager.resolveByType(FoxRun.class).iterator().next();
FoxRun foxRun = foxRunBean.create(new MockCreationalContext<FoxRun>());
assert foxRun.fox != null;
}
@@ -287,9 +282,8 @@
@SpecAssertion(section = "8.4")
public void testContextIsActiveDuringInjection()
{
- Bean<FoxRun> foxRunBean = createSimpleBean(FoxRun.class);
- Bean<Fox> foxBean = createSimpleBean(Fox.class);
- manager.addBean(foxBean);
+ deployBeans(FoxRun.class, Fox.class);
+ Bean<FoxRun> foxRunBean = manager.resolveByType(FoxRun.class).iterator().next();
FoxRun foxRun = foxRunBean.create(new MockCreationalContext<FoxRun>());
assert foxRun.fox != null;
}
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/OtherSpiderProducer.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/OtherSpiderProducer.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/OtherSpiderProducer.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -2,7 +2,6 @@
import javax.inject.Produces;
-@AnotherDeploymentType
public class OtherSpiderProducer
{
@Produces public Tarantula produceTarantula = new Tarantula();
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/SpiderProducer.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/SpiderProducer.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/SpiderProducer.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -3,7 +3,6 @@
import javax.inject.Disposes;
import javax.inject.Produces;
-@AnotherDeploymentType
class SpiderProducer
{
@Produces public Tarantula produceTarantula()
Added: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AbstractEvent.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AbstractEvent.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AbstractEvent.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -0,0 +1,28 @@
+/*
+ * 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.webbeans.tck.unit.event;
+
+/**
+ * Abstract level of event hierarchy used to test firing
+ * a concrete type and observing each of the event types
+ * associated with that concrete type.
+ *
+ * @author David Allen
+ *
+ */
+abstract class AbstractEvent implements GeneralEvent {}
\ No newline at end of file
Property changes on: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AbstractEvent.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AllEventTypesObserver.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AllEventTypesObserver.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AllEventTypesObserver.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -0,0 +1,62 @@
+/*
+ * 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.webbeans.tck.unit.event;
+
+import javax.event.Observes;
+
+/**
+ * This class declares observer methods for every superclass and interface
+ * contained in the hierarchy for the {@link ComplexEvent} event type.
+ *
+ * @author David Allen
+ *
+ */
+class AllEventTypesObserver
+{
+ private static int objectEventQuantity = 0;
+ private static int generalEventQuantity = 0;
+ private static int abstractEventQuantity = 0;
+ private static int complexEventQuantity = 0;
+
+ public void observeObject(@Observes Object event)
+ {
+ // Avoid counting implicit container events
+ if (event instanceof ComplexEvent)
+ objectEventQuantity++;
+ }
+
+ public void observeGeneralEvent(@Observes GeneralEvent event)
+ {
+ generalEventQuantity++;
+ }
+
+ public void observeAbstractEvent(@Observes AbstractEvent event)
+ {
+ abstractEventQuantity++;
+ }
+
+ public void observeComplexEvent(@Observes ComplexEvent event)
+ {
+ complexEventQuantity++;
+ }
+
+ public int getTotalEventsObserved()
+ {
+ return objectEventQuantity + generalEventQuantity + abstractEventQuantity + complexEventQuantity;
+ }
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/AllEventTypesObserver.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/ComplexEvent.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/ComplexEvent.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/ComplexEvent.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -0,0 +1,30 @@
+/*
+ * 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.webbeans.tck.unit.event;
+
+/**
+ * An event type with a class/interface hierarchy complex enough
+ * to test observing all event types.
+ *
+ * @author David Allen
+ *
+ */
+public class ComplexEvent extends AbstractEvent implements GeneralEvent
+{
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/ComplexEvent.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/EventTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/EventTest.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/EventTest.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -89,11 +89,23 @@
}
}
- @Test(groups = { "stub", "events" })
+ @Test(groups = { "events" })
@SpecAssertion(section = "7.1")
- public void testEventTypeIncludesAllSuperclassesAndInterfacesOfEventObject()
+ public void testEventTypeIncludesAllSuperclassesAndInterfacesOfEventObject() throws Exception
{
- assert false;
+ // Fire a single complex type of event with many observers
+ deployBeans(AllEventTypesObserver.class);
+ new RunInDependentContext() {
+
+ @Override
+ protected void execute() throws Exception
+ {
+ AllEventTypesObserver theObserver = manager.getInstanceByType(AllEventTypesObserver.class);
+ manager.fireEvent(new ComplexEvent());
+ assert theObserver.getTotalEventsObserved() == 4;
+ }
+
+ }.run();
}
@Test(groups = { "events" })
@@ -453,48 +465,24 @@
}
}
- @Test(groups = { "stub", "events" })
+ @Test(groups = { "events" }, expectedExceptions = { DefinitionException.class })
@SpecAssertion(section = "7.1")
public void testTransactionalObserverCanOnlyObserveSinglePhase()
{
- assert false;
+ deployBeans(TooManyPhases_Broken.class);
}
- @Test(groups = { "stub", "events" })
- @SpecAssertion(section = "7.5.6")
- public void testTransactionalObserverNotifiedImmediatelyWhenNoTransactionInProgress()
+ @Test(groups = { "events" }, expectedExceptions=DefinitionException.class)
+ @SpecAssertion(section = "7.5")
+ public void testObserverMethodOnEnterpriseBeanNotBusinessMethodOrStaticFails()
{
- assert false;
+ deployBeans(TibetanTerrier.class);
+ Set<Bean<Object>> beans = manager.resolveByType(Object.class);
+ assert beans.size() >= 2;
+ @SuppressWarnings("unused")
+ Set<Observer<String>> observers = manager.resolveObservers("An event");
}
- @Test(groups = { "stub", "events" })
- @SpecAssertion(section = "7.5.6")
- public void testAfterTransactionCompletionObserver()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "events" })
- @SpecAssertion(section = "7.5.6")
- public void testAfterTransactionSuccessObserver()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "events" })
- @SpecAssertion(section = "7.5.6")
- public void testAfterTransactionFailureObserver()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "events" })
- @SpecAssertion(section = "7.5.6")
- public void testBeforeTransactionCompletionObserver()
- {
- assert false;
- }
-
@Test(groups = { "events" })
@SpecAssertion(section = "7.5.8")
public void testObserverMethodRegistration()
@@ -816,42 +804,44 @@
}
}
- @Test(groups = { "stub", "events" })
+ //TODO The manager related tests require intercepting all calls
+ // to it to verify that the correct calls are made.
+ @Test(groups = { "stub", "events", "underInvestigation" })
@SpecAssertion(section = "7.6")
public void testFireMethodCallsManagerFireWithEventObject()
{
assert false;
}
- @Test(groups = { "stub", "events" })
+ @Test(groups = { "stub", "events", "underInvestigation" })
@SpecAssertion(section = "7.6")
public void testFireMethodCallsManagerFireWithBindingAnnotationsExceptObservable()
{
assert false;
}
- @Test(groups = { "stub", "events" })
+ @Test(groups = { "stub", "events", "underInvestigation" })
@SpecAssertion(section = "7.6")
public void testFireMethodCallsManagerFireWithAllBindingAnnotationInstances()
{
assert false;
}
- @Test(groups = { "stub", "events" })
+ @Test(groups = { "stub", "events", "underInvestigation" })
@SpecAssertion(section = "7.6")
public void testObserveMethodCallsManagerAddObserverWithObserverObject()
{
assert false;
}
- @Test(groups = { "stub", "events" })
+ @Test(groups = { "stub", "events", "underInvestigation" })
@SpecAssertion(section = "7.6")
public void testObserveMethodCallsManagerAddObserverWithAllBindingAnnotationsExceptObservable()
{
assert false;
}
- @Test(groups = { "stub", "events" })
+ @Test(groups = { "stub", "events", "underInvestigation" })
@SpecAssertion(section = "7.6")
public void testObserveMethodCallsManagerAddObserverWithAllBindingAnnotationInstance()
{
Added: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/GeneralEvent.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/GeneralEvent.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/GeneralEvent.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -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.webbeans.tck.unit.event;
+
+/**
+ * Arbitrary interface to test firing events and observing all
+ * event types.
+ *
+ * @author David Allen
+ *
+ */
+interface GeneralEvent {}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/GeneralEvent.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/Terrier.java (from rev 1282, tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/Terrier.java)
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/Terrier.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/Terrier.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -0,0 +1,9 @@
+package org.jboss.webbeans.tck.unit.event;
+
+import javax.ejb.Local;
+
+@Local
+public interface Terrier
+{
+
+}
Copied: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TibetanTerrier.java (from rev 1282, tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/TibetanTerrier.java)
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TibetanTerrier.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TibetanTerrier.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -0,0 +1,12 @@
+package org.jboss.webbeans.tck.unit.event;
+
+import javax.ejb.Stateless;
+import javax.event.Observes;
+
+@Stateless
+class TibetanTerrier implements Terrier
+{
+ public void observeInitialized(@Observes String someEvent)
+ {
+ }
+}
Added: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TooManyPhases_Broken.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TooManyPhases_Broken.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TooManyPhases_Broken.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -0,0 +1,37 @@
+/*
+ * 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.webbeans.tck.unit.event;
+
+import javax.event.AfterTransactionFailure;
+import javax.event.AfterTransactionSuccess;
+import javax.event.Observes;
+
+/**
+ * The observer method defined here has too many transactional phases
+ * specified.
+ *
+ * @author David Allen
+ *
+ */
+public class TooManyPhases_Broken
+{
+ public void observeSomething(@Observes @AfterTransactionSuccess @AfterTransactionFailure String event)
+ {
+
+ }
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/event/TooManyPhases_Broken.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldLifecycleTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldLifecycleTest.java 2009-01-29 18:30:14 UTC (rev 1359)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/producer/field/ProducerFieldLifecycleTest.java 2009-01-29 20:32:47 UTC (rev 1360)
@@ -158,7 +158,6 @@
if (consumer.getInjectedSpider() == null)
{
// No proxy in this impl, and no exception = fail
- assert false;
}
else
{
15 years, 11 months
[webbeans-commits] Webbeans SVN: r1359 - doc/trunk/reference.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-01-29 13:30:14 -0500 (Thu, 29 Jan 2009)
New Revision: 1359
Modified:
doc/trunk/reference/pom.xml
Log:
minor
Modified: doc/trunk/reference/pom.xml
===================================================================
--- doc/trunk/reference/pom.xml 2009-01-29 18:29:54 UTC (rev 1358)
+++ doc/trunk/reference/pom.xml 2009-01-29 18:30:14 UTC (rev 1359)
@@ -199,4 +199,19 @@
<developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/doc</developerConnection>
<url>http://fisheye.jboss.org/browse/WebBeans/doc</url>
</scm>
+
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
</project>
\ No newline at end of file
15 years, 11 months
[webbeans-commits] Webbeans SVN: r1357 - in ri/trunk: webbeans-api and 2 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-01-29 13:22:24 -0500 (Thu, 29 Jan 2009)
New Revision: 1357
Modified:
ri/trunk/pom.xml
ri/trunk/webbeans-api/pom.xml
ri/trunk/webbeans-ri-spi/pom.xml
ri/trunk/webbeans-ri/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: ri/trunk/pom.xml
===================================================================
--- ri/trunk/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
+++ ri/trunk/pom.xml 2009-01-29 18:22:24 UTC (rev 1357)
@@ -3,7 +3,7 @@
<groupId>org.jboss.webbeans</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
- <version>1.0.0.ALPHA2</version>
+ <version>1.0.0-SNAPSHOT</version>
<name>Web Beans</name>
<url>http://www.seamframework.org/WebBeans</url>
@@ -79,7 +79,7 @@
<properties>
<webbeans.tck.version>1.0.0.ALPHA1</webbeans.tck.version>
- <webbeans.ri.version>1.0.0.ALPHA2</webbeans.ri.version>
+ <webbeans.ri.version>1.0.0-SNAPSHOT</webbeans.ri.version>
</properties>
<dependencyManagement>
@@ -424,9 +424,9 @@
</licenses>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri/1.0.0.ALPHA2</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri/tags/1.0.0.ALPHA2</developerConnection>
- <url>http://fisheye.jboss.org/browse/WebBeans/ri/1.0.0.ALPHA2</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri</developerConnection>
+ <url>http://fisheye.jboss.org/browse/WebBeans/ri</url>
</scm>
<distributionManagement>
Modified: ri/trunk/webbeans-api/pom.xml
===================================================================
--- ri/trunk/webbeans-api/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
+++ ri/trunk/webbeans-api/pom.xml 2009-01-29 18:22:24 UTC (rev 1357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.webbeans</groupId>
<artifactId>parent</artifactId>
- <version>1.0.0.ALPHA2</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>org.jboss.webbeans</groupId>
Modified: ri/trunk/webbeans-ri/pom.xml
===================================================================
--- ri/trunk/webbeans-ri/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
+++ ri/trunk/webbeans-ri/pom.xml 2009-01-29 18:22:24 UTC (rev 1357)
@@ -2,7 +2,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
- <version>1.0.0.ALPHA2</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.webbeans</groupId>
Modified: ri/trunk/webbeans-ri-spi/pom.xml
===================================================================
--- ri/trunk/webbeans-ri-spi/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
+++ ri/trunk/webbeans-ri-spi/pom.xml 2009-01-29 18:22:24 UTC (rev 1357)
@@ -2,7 +2,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
- <version>1.0.0.ALPHA2</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.webbeans</groupId>
15 years, 11 months
[webbeans-commits] Webbeans SVN: r1356 - in ri/tags: 1.0.0.ALPHA2 and 4 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-01-29 13:22:17 -0500 (Thu, 29 Jan 2009)
New Revision: 1356
Added:
ri/tags/1.0.0.ALPHA2/
ri/tags/1.0.0.ALPHA2/jboss-as/build.properties
ri/tags/1.0.0.ALPHA2/pom.xml
ri/tags/1.0.0.ALPHA2/webbeans-api/pom.xml
ri/tags/1.0.0.ALPHA2/webbeans-ri-spi/pom.xml
ri/tags/1.0.0.ALPHA2/webbeans-ri/pom.xml
Removed:
ri/tags/1.0.0.ALPHA2/jboss-as/build.properties
ri/tags/1.0.0.ALPHA2/pom.xml
ri/tags/1.0.0.ALPHA2/webbeans-api/pom.xml
ri/tags/1.0.0.ALPHA2/webbeans-ri-spi/pom.xml
ri/tags/1.0.0.ALPHA2/webbeans-ri/pom.xml
Log:
[maven-release-plugin] copy for tag 1.0.0.ALPHA2
Copied: ri/tags/1.0.0.ALPHA2 (from rev 1300, ri/trunk)
Deleted: ri/tags/1.0.0.ALPHA2/jboss-as/build.properties
===================================================================
--- ri/trunk/jboss-as/build.properties 2009-01-29 17:24:33 UTC (rev 1300)
+++ ri/tags/1.0.0.ALPHA2/jboss-as/build.properties 2009-01-29 18:22:17 UTC (rev 1356)
@@ -1,4 +0,0 @@
-#jboss.home=/Applications/jboss-5.0.0.GA
-webbeans-ri-int.version=5.2.0-SNAPSHOT
-webbeans-ri.version=1.0.0-SNAPSHOT
-jboss-ejb3.version=1.0.0
Copied: ri/tags/1.0.0.ALPHA2/jboss-as/build.properties (from rev 1340, ri/trunk/jboss-as/build.properties)
===================================================================
--- ri/tags/1.0.0.ALPHA2/jboss-as/build.properties (rev 0)
+++ ri/tags/1.0.0.ALPHA2/jboss-as/build.properties 2009-01-29 18:22:17 UTC (rev 1356)
@@ -0,0 +1,4 @@
+#jboss.home=/Applications/jboss-5.0.0.GA
+webbeans-ri-int.version=5.2.0.ALPHA2
+webbeans-ri.version=1.0.0.ALPHA2
+jboss-ejb3.version=1.0.0
Deleted: ri/tags/1.0.0.ALPHA2/pom.xml
===================================================================
--- ri/trunk/pom.xml 2009-01-29 17:24:33 UTC (rev 1300)
+++ ri/tags/1.0.0.ALPHA2/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
@@ -1,470 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>parent</artifactId>
- <packaging>pom</packaging>
- <version>1.0.0-SNAPSHOT</version>
-
- <name>Web Beans</name>
- <url>http://www.seamframework.org/WebBeans</url>
-
- <description>
- The reference implementation of JSR 299: Web Beans
- </description>
-
- <developers>
- <developer>
- <name>Pete Muir</name>
- <roles>
- <role>Project Lead</role>
- </roles>
- <email>pete.muir(a)jboss.org</email>
- <organization>JBoss, a division of Red Hat</organization>
- <url>http://in.relation.to/Bloggers/Pete</url>
- </developer>
-
- <developer>
- <name>Shane Bryzak</name>
- <organization>JBoss, a division of Red Hat</organization>
- </developer>
-
- <developer>
- <name>David Allen</name>
- </developer>
-
- <developer>
- <name>Nicklas Karlsson</name>
- </developer>
- </developers>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshots Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- </pluginRepository>
- </pluginRepositories>
-
- <modules>
- <module>webbeans-api</module>
-<!-- <module>webbeans-ri</module>-->
- <module>webbeans-ri-spi</module>
- </modules>
-
- <properties>
- <webbeans.tck.version>1.0.0-SNAPSHOT</webbeans.tck.version>
- <webbeans.ri.version>1.0.0.ALPHA2</webbeans.ri.version>
- </properties>
-
- <dependencyManagement>
- <dependencies>
-
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>5.8</version>
- <classifier>jdk15</classifier>
- </dependency>
-
- <dependency>
- <groupId>javax.ejb</groupId>
- <artifactId>ejb-api</artifactId>
- <version>3.0</version>
- </dependency>
-
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- <version>1.0</version>
- </dependency>
-
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <version>1.0</version>
- </dependency>
-
- <dependency>
- <groupId>org.scannotation</groupId>
- <artifactId>scannotation</artifactId>
- <version>1.0.2</version>
- </dependency>
-
- <dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>3.8.1.GA</version>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- </dependency>
-
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- <version>1.0.1B</version>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- </dependency>
-
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <version>1.2</version>
- </dependency>
-
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
- </dependency>
-
- <dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
- <version>0.8</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-embedded</artifactId>
- <version>1.0.0-Alpha1</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- <exclusion>
- <groupId>bsh</groupId>
- <artifactId>bsh</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.cache</groupId>
- <artifactId>jbosscache-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.cluster</groupId>
- <artifactId>jboss-ha-client</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-ejb-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-servlet-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.ws.native</groupId>
- <artifactId>jbossws-native-saaj</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.ws.native</groupId>
- <artifactId>jbossws-native-jaxws</artifactId>
- </exclusion>
- <exclusion>
- <groupId>apache-log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-api</artifactId>
- <version>3.1.0-Alpha1</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.el</groupId>
- <artifactId>jboss-el</artifactId>
- <version>1.0_02.CR2</version>
- </dependency>
-
- <dependency>
- <groupId>com.sun.facelets</groupId>
- <artifactId>jsf-facelets</artifactId>
- <version>1.1.15.B1</version>
- </dependency>
-
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-ri</artifactId>
- <version>1.2</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
- <version>${webbeans.ri.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri</artifactId>
- <version>${webbeans.ri.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri-spi</artifactId>
- <version>${webbeans.ri.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans.tck</groupId>
- <artifactId>webbeans-tck-api</artifactId>
- <version>${webbeans.tck.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans.tck</groupId>
- <artifactId>webbeans-tck-impl</artifactId>
- <version>${webbeans.tck.version}</version>
- </dependency>
-
- </dependencies>
- </dependencyManagement>
-
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav</artifactId>
- <version>1.0-beta-2</version>
- </extension>
- </extensions>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-versions</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireMavenVersion>
- <version>2.0.9</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>
- true
- </addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>
- true
- </addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin
- </artifactId>
- <version>2.4.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.0-beta-8</version>
- <configuration>
- <tagBase>
- https://svn.jboss.org/repos/jbossas/projects/webbeans-ri-int/tags
- </tagBase>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <profiles>
- <profile>
- <id>coverage</id>
- <activation>
- <property>
- <name>coverage</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>emma-maven-plugin</artifactId>
- <version>1.0-alpha-1</version>
- <inherited>true</inherited>
- <executions>
- <execution>
- <phase>process-classes</phase>
- <goals>
-
- <goal>instrument</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <inherited>true</inherited>
- <configuration>
- <forkMode>once</forkMode>
- <reportFormat>xml</reportFormat>
- <classesDirectory>
- ${project.build.directory}/generated-classes/emma/classes
- </classesDirectory>
- </configuration>
-
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
- <ciManagement>
- <system>Hudson</system>
- <url />
- </ciManagement>
-
- <issueManagement>
- <system>JIRA</system>
- <url>http://jira.jboss.org/browse/WBRI</url>
- </issueManagement>
-
- <inceptionYear>2008</inceptionYear>
-
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- <license>
- <name>Lesser Gnu Public License, Version 2.1</name>
- <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
- </license>
- </licenses>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri</developerConnection>
- <url>http://fisheye.jboss.org/browse/WebBeans/ri</url>
- </scm>
-
- <distributionManagement>
- <repository>
- <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
- <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
- <!-- todo : replace this with direct svn access once the svnkit providers are available -->
- <id>repository.jboss.org</id>
- <url>file://${maven.repository.root}</url>
- </repository>
- <snapshotRepository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>dav:https://snapshots.jboss.org/maven2</url>
- </snapshotRepository>
- </distributionManagement>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <configuration>
- <formats>
- <format>html</format>
- <format>xml</format>
- </formats>
- <instrumentation>
- <ignores>
- <ignore>javax.webbeans.*</ignore>
- </ignores>
- </instrumentation>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
-</project>
Copied: ri/tags/1.0.0.ALPHA2/pom.xml (from rev 1355, ri/trunk/pom.xml)
===================================================================
--- ri/tags/1.0.0.ALPHA2/pom.xml (rev 0)
+++ ri/tags/1.0.0.ALPHA2/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
@@ -0,0 +1,467 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>parent</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0.0.ALPHA2</version>
+
+ <name>Web Beans</name>
+ <url>http://www.seamframework.org/WebBeans</url>
+
+ <description>
+ The reference implementation of JSR 299: Web Beans
+ </description>
+
+ <developers>
+ <developer>
+ <name>Pete Muir</name>
+ <roles>
+ <role>Project Lead</role>
+ </roles>
+ <email>pete.muir(a)jboss.org</email>
+ <organization>JBoss, a division of Red Hat</organization>
+ <url>http://in.relation.to/Bloggers/Pete</url>
+ </developer>
+
+ <developer>
+ <name>Shane Bryzak</name>
+ <organization>JBoss, a division of Red Hat</organization>
+ </developer>
+
+ <developer>
+ <name>David Allen</name>
+ </developer>
+
+ <developer>
+ <name>Nicklas Karlsson</name>
+ </developer>
+ </developers>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <url>http://repository.jboss.org/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <url>http://snapshots.jboss.org/maven2</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <url>http://repository.jboss.org/maven2</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <modules>
+ <module>webbeans-api</module>
+ <module>webbeans-ri</module>
+ <module>webbeans-ri-spi</module>
+ </modules>
+
+ <properties>
+ <webbeans.tck.version>1.0.0.ALPHA1</webbeans.tck.version>
+ <webbeans.ri.version>1.0.0.ALPHA2</webbeans.ri.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>5.8</version>
+ <classifier>jdk15</classifier>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.ejb</groupId>
+ <artifactId>ejb-api</artifactId>
+ <version>3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>jsr250-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>persistence-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.scannotation</groupId>
+ <artifactId>scannotation</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <version>3.8.1.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ <version>1.0.1B</version>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <version>1.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.2_10</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.collections</groupId>
+ <artifactId>google-collections</artifactId>
+ <version>0.8</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-embedded</artifactId>
+ <version>1.0.0-Alpha1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>bsh</groupId>
+ <artifactId>bsh</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.cache</groupId>
+ <artifactId>jbosscache-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.cluster</groupId>
+ <artifactId>jboss-ha-client</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-ejb-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.ws.native</groupId>
+ <artifactId>jbossws-native-saaj</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.ws.native</groupId>
+ <artifactId>jbossws-native-jaxws</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>apache-log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-api</artifactId>
+ <version>3.1.0-Alpha1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.el</groupId>
+ <artifactId>jboss-el</artifactId>
+ <version>1.0_02.CR2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>1.1.15.B1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-ri</artifactId>
+ <version>1.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-api</artifactId>
+ <version>${webbeans.ri.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-ri</artifactId>
+ <version>${webbeans.ri.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-ri-spi</artifactId>
+ <version>${webbeans.ri.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans.tck</groupId>
+ <artifactId>webbeans-tck-api</artifactId>
+ <version>${webbeans.tck.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans.tck</groupId>
+ <artifactId>webbeans-tck-impl</artifactId>
+ <version>${webbeans.tck.version}</version>
+ </dependency>
+
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ <version>1.0-beta-2</version>
+ </extension>
+ </extensions>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-versions</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>2.0.9</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-8</version>
+ <configuration>
+ <tagBase>https://svn.jboss.org/repos/webbeans/ri/tags</tagBase>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ </plugins>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>
+ true
+ </addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>
+ true
+ </addDefaultSpecificationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>coverage</id>
+ <activation>
+ <property>
+ <name>coverage</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>emma-maven-plugin</artifactId>
+ <version>1.0-alpha-1</version>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+
+ <goal>instrument</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <forkMode>once</forkMode>
+ <reportFormat>xml</reportFormat>
+ <classesDirectory>
+ ${project.build.directory}/generated-classes/emma/classes
+ </classesDirectory>
+ </configuration>
+
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <ciManagement>
+ <system>Hudson</system>
+ <url />
+ </ciManagement>
+
+ <issueManagement>
+ <system>JIRA</system>
+ <url>http://jira.jboss.org/browse/WBRI</url>
+ </issueManagement>
+
+ <inceptionYear>2008</inceptionYear>
+
+ <licenses>
+ <license>
+ <name>Apache License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ </license>
+ <license>
+ <name>Lesser Gnu Public License, Version 2.1</name>
+ <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri/1.0.0.ALPHA2</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri/tags/1.0.0.ALPHA2</developerConnection>
+ <url>http://fisheye.jboss.org/browse/WebBeans/ri/1.0.0.ALPHA2</url>
+ </scm>
+
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <configuration>
+ <formats>
+ <format>html</format>
+ <format>xml</format>
+ </formats>
+ <instrumentation>
+ <ignores>
+ <ignore>javax.webbeans.*</ignore>
+ </ignores>
+ </instrumentation>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
+</project>
Deleted: ri/tags/1.0.0.ALPHA2/webbeans-api/pom.xml
===================================================================
--- ri/trunk/webbeans-api/pom.xml 2009-01-29 17:24:33 UTC (rev 1300)
+++ ri/tags/1.0.0.ALPHA2/webbeans-api/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
@@ -1,17 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
- <packaging>jar</packaging>
- <name>Web Beans API</name>
- <url>http://www.seamframework.org/WebBeans</url>
-
-
-</project>
\ No newline at end of file
Copied: ri/tags/1.0.0.ALPHA2/webbeans-api/pom.xml (from rev 1355, ri/trunk/webbeans-api/pom.xml)
===================================================================
--- ri/tags/1.0.0.ALPHA2/webbeans-api/pom.xml (rev 0)
+++ ri/tags/1.0.0.ALPHA2/webbeans-api/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
@@ -0,0 +1,17 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>parent</artifactId>
+ <version>1.0.0.ALPHA2</version>
+ </parent>
+
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-api</artifactId>
+ <packaging>jar</packaging>
+ <name>Web Beans API</name>
+ <url>http://www.seamframework.org/WebBeans</url>
+
+
+</project>
\ No newline at end of file
Deleted: ri/tags/1.0.0.ALPHA2/webbeans-ri/pom.xml
===================================================================
--- ri/trunk/webbeans-ri/pom.xml 2009-01-29 17:24:33 UTC (rev 1300)
+++ ri/tags/1.0.0.ALPHA2/webbeans-ri/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
@@ -1,173 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>parent</artifactId>
- <groupId>org.jboss.webbeans</groupId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri</artifactId>
- <name>Web Beans RI</name>
- <dependencies>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri-spi</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <scope>test</scope>
- <classifier>jdk15</classifier>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans.tck</groupId>
- <artifactId>webbeans-tck-api</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans.tck</groupId>
- <artifactId>webbeans-tck-impl</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-embedded</artifactId>
- <scope>runtime</scope>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-api</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javax.ejb</groupId>
- <artifactId>ejb-api</artifactId>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-ri</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
- </dependency>
-
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.jboss.webbeans.tck</groupId>
- <artifactId>webbeans-tck-impl</artifactId>
- <version>${webbeans.tck.version}</version>
- <type>xml</type>
- <classifier>suite</classifier>
- <overWrite>true</overWrite>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <suiteXmlFiles>
- <suiteXmlFile>unit-tests.xml,</suiteXmlFile>
- <suiteXmlFile>${project.build.directory}/dependency/webbeans-tck-impl-${webbeans.tck.version}-suite.xml</suiteXmlFile>
- </suiteXmlFiles>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-test-report</id>
- <phase>test</phase>
- <goals>
- <goal>report-only</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
- <outputName>test-report</outputName>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
\ No newline at end of file
Copied: ri/tags/1.0.0.ALPHA2/webbeans-ri/pom.xml (from rev 1355, ri/trunk/webbeans-ri/pom.xml)
===================================================================
--- ri/tags/1.0.0.ALPHA2/webbeans-ri/pom.xml (rev 0)
+++ ri/tags/1.0.0.ALPHA2/webbeans-ri/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
@@ -0,0 +1,173 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>parent</artifactId>
+ <groupId>org.jboss.webbeans</groupId>
+ <version>1.0.0.ALPHA2</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-ri</artifactId>
+ <name>Web Beans RI</name>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-ri-spi</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <scope>test</scope>
+ <classifier>jdk15</classifier>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans.tck</groupId>
+ <artifactId>webbeans-tck-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans.tck</groupId>
+ <artifactId>webbeans-tck-impl</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-embedded</artifactId>
+ <scope>runtime</scope>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.ejb</groupId>
+ <artifactId>ejb-api</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>jsr250-api</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>persistence-api</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-ri</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.collections</groupId>
+ <artifactId>google-collections</artifactId>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.webbeans.tck</groupId>
+ <artifactId>webbeans-tck-impl</artifactId>
+ <version>${webbeans.tck.version}</version>
+ <type>xml</type>
+ <classifier>suite</classifier>
+ <overWrite>true</overWrite>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <suiteXmlFiles>
+ <suiteXmlFile>unit-tests.xml,</suiteXmlFile>
+ <suiteXmlFile>${project.build.directory}/dependency/webbeans-tck-impl-${webbeans.tck.version}-suite.xml</suiteXmlFile>
+ </suiteXmlFiles>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-test-report</id>
+ <phase>test</phase>
+ <goals>
+ <goal>report-only</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
+ <outputName>test-report</outputName>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
Deleted: ri/tags/1.0.0.ALPHA2/webbeans-ri-spi/pom.xml
===================================================================
--- ri/trunk/webbeans-ri-spi/pom.xml 2009-01-29 17:24:33 UTC (rev 1300)
+++ ri/tags/1.0.0.ALPHA2/webbeans-ri-spi/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
@@ -1,42 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>parent</artifactId>
- <groupId>org.jboss.webbeans</groupId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri-spi</artifactId>
- <name>Web Beans RI Service Provider Interfaces</name>
- <dependencies>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <scope>test</scope>
- <classifier>jdk15</classifier>
- </dependency>
-
- <dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
- </dependency>
-
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- </build>
-
-</project>
\ No newline at end of file
Copied: ri/tags/1.0.0.ALPHA2/webbeans-ri-spi/pom.xml (from rev 1355, ri/trunk/webbeans-ri-spi/pom.xml)
===================================================================
--- ri/tags/1.0.0.ALPHA2/webbeans-ri-spi/pom.xml (rev 0)
+++ ri/tags/1.0.0.ALPHA2/webbeans-ri-spi/pom.xml 2009-01-29 18:22:17 UTC (rev 1356)
@@ -0,0 +1,42 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>parent</artifactId>
+ <groupId>org.jboss.webbeans</groupId>
+ <version>1.0.0.ALPHA2</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-ri-spi</artifactId>
+ <name>Web Beans RI Service Provider Interfaces</name>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>persistence-api</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <scope>test</scope>
+ <classifier>jdk15</classifier>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.collections</groupId>
+ <artifactId>google-collections</artifactId>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ </build>
+
+</project>
\ No newline at end of file
15 years, 11 months
[webbeans-commits] Webbeans SVN: r1355 - in ri/trunk: webbeans-api and 2 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-01-29 13:22:08 -0500 (Thu, 29 Jan 2009)
New Revision: 1355
Modified:
ri/trunk/pom.xml
ri/trunk/webbeans-api/pom.xml
ri/trunk/webbeans-ri-spi/pom.xml
ri/trunk/webbeans-ri/pom.xml
Log:
[maven-release-plugin] prepare release 1.0.0.ALPHA2
Modified: ri/trunk/pom.xml
===================================================================
--- ri/trunk/pom.xml 2009-01-29 18:18:14 UTC (rev 1354)
+++ ri/trunk/pom.xml 2009-01-29 18:22:08 UTC (rev 1355)
@@ -3,7 +3,7 @@
<groupId>org.jboss.webbeans</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0.ALPHA2</version>
<name>Web Beans</name>
<url>http://www.seamframework.org/WebBeans</url>
@@ -424,9 +424,9 @@
</licenses>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri</developerConnection>
- <url>http://fisheye.jboss.org/browse/WebBeans/ri</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri/1.0.0.ALPHA2</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri/tags/1.0.0.ALPHA2</developerConnection>
+ <url>http://fisheye.jboss.org/browse/WebBeans/ri/1.0.0.ALPHA2</url>
</scm>
<distributionManagement>
Modified: ri/trunk/webbeans-api/pom.xml
===================================================================
--- ri/trunk/webbeans-api/pom.xml 2009-01-29 18:18:14 UTC (rev 1354)
+++ ri/trunk/webbeans-api/pom.xml 2009-01-29 18:22:08 UTC (rev 1355)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.webbeans</groupId>
<artifactId>parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0.ALPHA2</version>
</parent>
<groupId>org.jboss.webbeans</groupId>
Modified: ri/trunk/webbeans-ri/pom.xml
===================================================================
--- ri/trunk/webbeans-ri/pom.xml 2009-01-29 18:18:14 UTC (rev 1354)
+++ ri/trunk/webbeans-ri/pom.xml 2009-01-29 18:22:08 UTC (rev 1355)
@@ -2,7 +2,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0.ALPHA2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.webbeans</groupId>
Modified: ri/trunk/webbeans-ri-spi/pom.xml
===================================================================
--- ri/trunk/webbeans-ri-spi/pom.xml 2009-01-29 18:18:14 UTC (rev 1354)
+++ ri/trunk/webbeans-ri-spi/pom.xml 2009-01-29 18:22:08 UTC (rev 1355)
@@ -2,7 +2,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0.ALPHA2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.webbeans</groupId>
15 years, 11 months
[webbeans-commits] Webbeans SVN: r1354 - ri/trunk.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-01-29 13:18:14 -0500 (Thu, 29 Jan 2009)
New Revision: 1354
Modified:
ri/trunk/pom.xml
Log:
prep for release
Modified: ri/trunk/pom.xml
===================================================================
--- ri/trunk/pom.xml 2009-01-29 18:14:01 UTC (rev 1353)
+++ ri/trunk/pom.xml 2009-01-29 18:18:14 UTC (rev 1354)
@@ -300,6 +300,15 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-8</version>
+ <configuration>
+ <tagBase>https://svn.jboss.org/repos/webbeans/ri/tags</tagBase>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
15 years, 11 months
[webbeans-commits] Webbeans SVN: r1353 - in tck/trunk: api and 1 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-01-29 13:14:01 -0500 (Thu, 29 Jan 2009)
New Revision: 1353
Modified:
tck/trunk/api/pom.xml
tck/trunk/impl/pom.xml
tck/trunk/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: tck/trunk/api/pom.xml
===================================================================
--- tck/trunk/api/pom.xml 2009-01-29 18:13:55 UTC (rev 1352)
+++ tck/trunk/api/pom.xml 2009-01-29 18:14:01 UTC (rev 1353)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss.webbeans.tck</groupId>
<artifactId>parent</artifactId>
- <version>1.0.0.ALPHA1</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>org.jboss.webbeans.tck</groupId>
Modified: tck/trunk/impl/pom.xml
===================================================================
--- tck/trunk/impl/pom.xml 2009-01-29 18:13:55 UTC (rev 1352)
+++ tck/trunk/impl/pom.xml 2009-01-29 18:14:01 UTC (rev 1353)
@@ -3,7 +3,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.jboss.webbeans.tck</groupId>
- <version>1.0.0.ALPHA1</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.webbeans.tck</groupId>
Modified: tck/trunk/pom.xml
===================================================================
--- tck/trunk/pom.xml 2009-01-29 18:13:55 UTC (rev 1352)
+++ tck/trunk/pom.xml 2009-01-29 18:14:01 UTC (rev 1353)
@@ -4,7 +4,7 @@
<groupId>org.jboss.webbeans.tck</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
- <version>1.0.0.ALPHA1</version>
+ <version>1.0.0-SNAPSHOT</version>
<name>Web Beans</name>
<url>http://www.seamframework.org/WebBeans</url>
@@ -232,11 +232,11 @@
</licenses>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/1.0.0.ALPHA1</connection>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans</connection>
<developerConnection>
- scm:svn:https://svn.jboss.org/repos/webbeans/tck/tags/1.0.0.ALPHA1
+ scm:svn:https://svn.jboss.org/repos/webbeans
</developerConnection>
- <url>http://fisheye.jboss.org/browse/WebBeans/1.0.0.ALPHA1</url>
+ <url>http://fisheye.jboss.org/browse/WebBeans</url>
</scm>
<distributionManagement>
@@ -256,7 +256,7 @@
<properties>
<webbeans.version>1.0.0.ALPHA2</webbeans.version>
- <webbeans.tck.version>1.0.0.ALPHA1</webbeans.tck.version>
+ <webbeans.tck.version>1.0.0-SNAPSHOT</webbeans.tck.version>
</properties>
</project>
15 years, 11 months