[webbeans-commits] Webbeans SVN: r2816 - in tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment: broken/tooMany and 8 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 12:12:53 -0400 (Wed, 10 Jun 2009)
New Revision: 2816
Removed:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/BrokenDeploymentTypeTest.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/TooManyDeploymentTypesTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/producerField/ProducerFieldDeploymentTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/producerMethod/ProducerMethodDeploymentTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/typevariable/ParameterizedTypeInjectionTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/wildcard/WildcardTypeInjectionTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/custom/CustomDeploymentTypeTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/defaultDeploymentType/DefaultDeploymentTypeTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/enterprise/EnterpriseDeploymentTypeDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/nonBuiltInUsesStandard/NonBuiltInUsesStandardTest.java
Log:
TCK updates
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/BrokenDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/BrokenDeploymentTypeTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/BrokenDeploymentTypeTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -1,31 +0,0 @@
-package org.jboss.jsr299.tck.tests.definition.deployment.broken;
-
-import javax.inject.DeploymentException;
-
-import org.hibernate.tck.annotations.SpecAssertion;
-import org.jboss.jsr299.tck.AbstractJSR299Test;
-import org.jboss.testharness.impl.packaging.Artifact;
-import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
-import org.jboss.testharness.impl.packaging.jsr299.BeansXml;
-import org.testng.annotations.Test;
-
-/**
- *
- * Spec version: PRD2
- */
-@Artifact
-@BeansXml("beans.xml")
-(a)ExpectedDeploymentException(DeploymentException.class)
-public class BrokenDeploymentTypeTest extends AbstractJSR299Test
-{
-
- @SuppressWarnings("unchecked")
- @Test
- @SpecAssertion(section="2.5.6", id = "c")
- public void testStandardMustBeDeclared()
- {
- assert false;
- }
-
-
-}
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/TooManyDeploymentTypesTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/TooManyDeploymentTypesTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/TooManyDeploymentTypesTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -32,8 +32,10 @@
@ExpectedDeploymentException(DefinitionException.class)
public class TooManyDeploymentTypesTest extends AbstractJSR299Test
{
- @Test(groups = { "deploymentType"})
- @SpecAssertion(section = "2.5.3", id = "d")
+ @Test(groups = { "deploymentType", "rewrite"})
+ // Definition exception has gone
+ //@SpecAssertion(section = "2.5.3", id = "d")
+ @SpecAssertion(section = "unknown", id = "unknown")
public void testTooManyDeploymentTypes()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/producerField/ProducerFieldDeploymentTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/producerField/ProducerFieldDeploymentTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/producerField/ProducerFieldDeploymentTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -12,7 +12,8 @@
@ExpectedDeploymentException(DefinitionException.class)
public class ProducerFieldDeploymentTest extends AbstractJSR299Test
{
- @Test(groups = { "deploymentType"})
+ @Test(groups = { "deploymentType", "rewrite"})
+ // DefinitionException has gone
@SpecAssertion(section = "2.5.3", id = "f")
public void testTooManyDeploymentTypes()
{
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/producerMethod/ProducerMethodDeploymentTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/producerMethod/ProducerMethodDeploymentTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/tooMany/producerMethod/ProducerMethodDeploymentTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -12,8 +12,10 @@
@ExpectedDeploymentException(DefinitionException.class)
public class ProducerMethodDeploymentTest extends AbstractJSR299Test
{
- @Test(groups = { "deploymentType"})
- @SpecAssertion(section = "2.5.3", id = "e")
+ @Test(groups = { "deploymentType" , "rewrite"})
+ // DefinitionException has gone
+ //@SpecAssertion(section = "2.5.3", id = "e")
+ @SpecAssertion(section= "unknown", id ="unknown")
public void testTooManyDeploymentTypes()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/typevariable/ParameterizedTypeInjectionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/typevariable/ParameterizedTypeInjectionTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/typevariable/ParameterizedTypeInjectionTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -16,8 +16,10 @@
@ExpectedDeploymentException(DefinitionException.class)
public class ParameterizedTypeInjectionTest extends AbstractJSR299Test
{
- @Test
- @SpecAssertion(section = "2.2", id = "c")
+ @Test(groups = "rewrite")
+ //@SpecAssertion(section = "2.2", id = "c")
+ // TODO no more DefinitionException
+ @SpecAssertion(section = "unknown", id = "unknown")
public void testInjectionPointIsNotParameterizedTypeWithTypeVariable()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/wildcard/WildcardTypeInjectionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/wildcard/WildcardTypeInjectionTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/broken/wildcard/WildcardTypeInjectionTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -17,7 +17,8 @@
public class WildcardTypeInjectionTest extends AbstractJSR299Test
{
@Test
- @SpecAssertion(section = "2.2", id = "d")
+ //@SpecAssertion(section = "2.2", id = "d")
+ @SpecAssertion(section="unknown", id="unknown")
public void testInjectionPointIsNotParameterizedTypeWithWildcardVariable()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/custom/CustomDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/custom/CustomDeploymentTypeTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/custom/CustomDeploymentTypeTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -11,7 +11,7 @@
/**
*
- * Spec version: PRD2
+ * Spec version: 20090519
*
*/
@Artifact
@@ -20,11 +20,12 @@
{
@SuppressWarnings("unchecked")
- @Test
+ @Test(groups="rewrite")
@SpecAssertions({
- @SpecAssertion(section = "2.5.6", id = "b"),
+ @SpecAssertion(section = "2.5.5", id = "b"),
@SpecAssertion(section = "2.5.2", id = "d")
})
+ // Note new wording around @Standard not being explicitly needed
public void testCustomDeploymentTypes()
{
assert getCurrentConfiguration().getManagers().getEnabledDeploymentTypes().size() == 3;
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/defaultDeploymentType/DefaultDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/defaultDeploymentType/DefaultDeploymentTypeTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/defaultDeploymentType/DefaultDeploymentTypeTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -11,7 +11,7 @@
/**
*
- * Spec version: PRD2
+ * Spec version: 20090519
*
*/
@Artifact
@@ -20,7 +20,7 @@
@Test
@SpecAssertions({
- @SpecAssertion(section = "2.5.6", id = "d")
+ @SpecAssertion(section = "2.5.5", id = "d")
})
public void testDefaultEnabledDeploymentTypes()
{
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/enterprise/EnterpriseDeploymentTypeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/enterprise/EnterpriseDeploymentTypeDefinitionTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/enterprise/EnterpriseDeploymentTypeDefinitionTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -9,14 +9,21 @@
import org.jboss.testharness.impl.packaging.jsr299.BeansXml;
import org.testng.annotations.Test;
+/**
+ *
+ * Spec version: 20090519
+ *
+ */
@IntegrationTest
@Artifact
@Packaging(PackagingType.EAR)
@BeansXml("beans.xml")
public class EnterpriseDeploymentTypeDefinitionTest extends AbstractJSR299Test
{
+
@Test(groups = { "deploymentType" })
- @SpecAssertion(section = "4.1", id = "cb")
+ @SpecAssertion(section = "unknown", id = "unknown")
+ //@SpecAssertion(section = "4.1", id = "cb")
public void testDeploymentTypeDeclaredInheritedIsInherited() throws Exception
{
assert getBeans(BorderCollieLocal.class, new WoofBinding()).size() == 1;
@@ -24,7 +31,8 @@
}
@Test(groups = { "deploymentType" })
- @SpecAssertion(section = "4.1", id = "cd")
+ @SpecAssertion(section = "unknown", id = "unknown")
+ //@SpecAssertion(section = "4.1", id = "cd")
public void testDeploymentTypeDeclaredInheritedIsIndirectlyInherited() throws Exception
{
assert getBeans(EnglishBorderCollieLocal.class).size() == 1;
@@ -32,7 +40,8 @@
}
@Test
- @SpecAssertion(section = "4.1", id = "dbb")
+ @SpecAssertion(section = "unknown", id = "unknown")
+ //@SpecAssertion(section = "4.1", id = "dbb")
public void testDeploymentTypeIsOverriddenByInheritedDeploymentType()
{
assert getBeans(CowLocal.class).size() == 1;
@@ -40,7 +49,8 @@
}
@Test
- @SpecAssertion(section = "4.1", id = "ddb")
+ @SpecAssertion(section = "unknown", id = "unknown")
+ //@SpecAssertion(section = "4.1", id = "ddb")
public void testDeploymentTypeIsOverriddenByIndirectlyInheritedDeploymentType()
{
assert getBeans(JerseyBullLocal.class).size() == 1;
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/nonBuiltInUsesStandard/NonBuiltInUsesStandardTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/nonBuiltInUsesStandard/NonBuiltInUsesStandardTest.java 2009-06-10 15:44:08 UTC (rev 2815)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/nonBuiltInUsesStandard/NonBuiltInUsesStandardTest.java 2009-06-10 16:12:53 UTC (rev 2816)
@@ -8,6 +8,11 @@
import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
import org.testng.annotations.Test;
+/**
+ *
+ * Spec version: 20090519
+ *
+ */
@Artifact
@ExpectedDeploymentException(DefinitionException.class)
public class NonBuiltInUsesStandardTest extends AbstractJSR299Test
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2815 - in tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition: deployment and 1 other directory.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 11:44:08 -0400 (Wed, 10 Jun 2009)
New Revision: 2815
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise/EnterpriseBindingDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/DeploymentTypeDefinitionTest.java
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise/EnterpriseBindingDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise/EnterpriseBindingDefinitionTest.java 2009-06-10 15:36:09 UTC (rev 2814)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/enterprise/EnterpriseBindingDefinitionTest.java 2009-06-10 15:44:08 UTC (rev 2815)
@@ -13,6 +13,9 @@
import org.jboss.testharness.impl.packaging.PackagingType;
import org.testng.annotations.Test;
+/**
+ * Spec version: 20090519
+ */
@Artifact
@IntegrationTest
@Packaging(PackagingType.EAR)
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/DeploymentTypeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/DeploymentTypeDefinitionTest.java 2009-06-10 15:36:09 UTC (rev 2814)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/deployment/DeploymentTypeDefinitionTest.java 2009-06-10 15:44:08 UTC (rev 2815)
@@ -18,9 +18,7 @@
import org.testng.annotations.Test;
/**
- *
- * Spec version: Public Release Draft 2
- *
+ * Spec version: 20090519
*/
@Artifact
@BeansXml("beans.xml")
@@ -40,10 +38,6 @@
assert elements.contains(ElementType.FIELD);
}
- /**
- *
- * TODO This text is not really a testable assertion
- */
@Test(groups = { "annotationDefinition", "deploymentType" })
@SpecAssertion(section = "2.5.2", id = "c")
public void testDeploymentTypeDeclaresDeploymentTypeAnnotation()
@@ -54,7 +48,7 @@
}
@Test(groups = { "deploymentType" })
- @SpecAssertion(section = "2.5.3", id = "c")
+ @SpecAssertion(section = "2.5.3", id = "g")
public void testDeploymentTypeInheritedFromDeclaringBean() throws Exception
{
assert getBeans(BlackWidow.class).size() == 1;
@@ -63,7 +57,7 @@
}
@Test(groups = { "webbeansxml", "deploymentType" })
- @SpecAssertion(section = "2.5.5", id = "a")
+ @SpecAssertion(section = "2.5.4", id = "aa")
public void testDefaultDeploymentType()
{
assert getBeans(Tarantula.class).size() == 1;
@@ -72,7 +66,7 @@
}
@Test(groups = { "deploymentType" })
- @SpecAssertion(section = "2.5.5", id = "b")
+ @SpecAssertion(section = "2.5.4", id = "b")
public void testHighestPrecedenceDeploymentTypeFromStereotype()
{
assert getBeans(Rhinoceros.class).size() == 1;
@@ -81,7 +75,7 @@
}
@Test(groups = { "beanLifecycle", "deploymentType" }, expectedExceptions = UnsatisfiedResolutionException.class)
- @SpecAssertion(section = "2.5.6", id = "a")
+ @SpecAssertion(section = "2.5.5", id = "a")
public void testBeanWithDisabledDeploymentTypeNotInstantiated()
{
getInstanceByType(RedSnapper.class);
@@ -89,7 +83,7 @@
@Test(groups = { "deploymentType" })
@SpecAssertions( {
- @SpecAssertion(section = "2.5.5", id = "c"),
+ @SpecAssertion(section = "2.5.4", id = "c"),
@SpecAssertion(section = "2.7.2", id = "da")
})
public void testWebBeanDeploymentTypeOverridesStereotype()
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2814 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 11:36:09 -0400 (Wed, 10 Jun 2009)
New Revision: 2814
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java 2009-06-10 15:32:35 UTC (rev 2813)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java 2009-06-10 15:36:09 UTC (rev 2814)
@@ -40,10 +40,11 @@
assert injectionPoint.getBean().getBindings().contains(new CurrentLiteral());
}
- @Test(groups = { "annotationDefinition" })
+ @Test(groups = { "annotationDefinition", "rewrite" })
@SpecAssertion(section = "2.3.2", id = "ba")
public void testBindingDeclaresBindingAnnotation()
{
+ // Probably can use new SPI for this...
assert !getBeans(Tarantula.class, new TameBinding()).isEmpty();
}
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2813 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 11:32:35 -0400 (Wed, 10 Jun 2009)
New Revision: 2813
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java 2009-06-10 15:22:00 UTC (rev 2812)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java 2009-06-10 15:32:35 UTC (rev 2813)
@@ -3,7 +3,6 @@
import java.lang.annotation.Annotation;
import java.util.Set;
-import javax.enterprise.inject.AnnotationLiteral;
import javax.enterprise.inject.spi.Bean;
import javax.enterprise.inject.spi.InjectionPoint;
@@ -16,14 +15,14 @@
import org.testng.annotations.Test;
/**
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
public class BindingDefinitionTest extends AbstractJSR299Test
{
@Test
- @SpecAssertion(section = "2.3.1", id = "a")
+ @SpecAssertion(section = "2.3.1", id = "aaa")
public void testDefaultBindingDeclaredInJava()
{
Bean<Order> order = getBeans(Order.class).iterator().next();
@@ -42,7 +41,7 @@
}
@Test(groups = { "annotationDefinition" })
- @SpecAssertion(section = "2.3.2", id = "b")
+ @SpecAssertion(section = "2.3.2", id = "ba")
public void testBindingDeclaresBindingAnnotation()
{
assert !getBeans(Tarantula.class, new TameBinding()).isEmpty();
@@ -59,8 +58,7 @@
@Test
@SpecAssertions({
- @SpecAssertion(section = "2.3.3", id = "b"),
- @SpecAssertion(section = "3.2.3", id = "be")
+ @SpecAssertion(section = "2.3.3", id = "d")
})
public void testMultipleBindings()
{
@@ -77,26 +75,6 @@
assert barn.petSpider instanceof DefangedTarantula;
}
- @Test(groups = { "injection", "producerMethod" })
- @SpecAssertion(section = "unknown", id = "unknown")
- public void testMethodWithBindingAnnotationsOnParametersAreInjected() throws Exception
- {
- new RunInDependentContext()
- {
-
- @Override
- protected void execute() throws Exception
- {
- Spider spider = getInstanceByType(Spider.class,new AnnotationLiteral<Produced>() {});
- assert spider != null;
- assert spider instanceof DefangedTarantula;
- }
-
- }.run();
-
-
- }
-
@Test
@SpecAssertion(section = "4.1", id = "aa")
public void testBindingDeclaredInheritedIsInherited() throws Exception
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2812 - in tck/trunk/impl/src/main: java/org/jboss/jsr299/tck/tests/context/request/ejb and 4 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 11:22:00 -0400 (Wed, 10 Jun 2009)
New Revision: 2812
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/RequestContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/ejb/EJBRequestContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/standalone/RequestContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/session/SessionContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/bean/BeanDefinitionTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/RequestContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/RequestContextTest.java 2009-06-10 13:14:48 UTC (rev 2811)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/RequestContextTest.java 2009-06-10 15:22:00 UTC (rev 2812)
@@ -14,7 +14,7 @@
/**
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
@IntegrationTest(runLocally=true)
@@ -30,7 +30,7 @@
* the web application.
*/
@Test(groups = { "contexts", "servlet", "integration" })
- @SpecAssertion(section = "8.5.1", id = "a")
+ @SpecAssertion(section = "6.7.1", id = "aa")
public void testRequestScopeActiveDuringServiceMethod() throws Exception
{
WebClient webClient = new WebClient();
@@ -43,7 +43,7 @@
* the web application.
*/
@Test(groups = { "contexts", "servlet", "integration" })
- @SpecAssertion(section = "8.5.1", id = "b")
+ @SpecAssertion(section = "6.7.1", id = "ab")
public void testRequestScopeActiveDuringServletFilter() throws Exception
{
WebClient webClient = new WebClient();
@@ -56,7 +56,9 @@
* the Servlet service() method returns.
*/
@Test(groups = { "contexts", "servlet", "integration" })
- @SpecAssertion(section = "8.5.1", id = "c")
+ //@SpecAssertion(section = "6.7.1", id = "ba")
+ @SpecAssertion(section="unknown", id="unknown")
+ // TODO Need to tidy this one up, make it actually check that the context is active til after the service method ends
public void testRequestScopeIsDestroyedAfterServletRequest() throws Exception
{
WebClient webClient = new WebClient();
@@ -75,70 +77,4 @@
// assert Boolean.parseBoolean(beanDestructionResult.getContent());
}
- /**
- * The request scope is active during any Java EE web service invocation.
- */
- @Test(groups = { "stub", "contexts", "webservice", "integration" })
- @SpecAssertion(section = "8.5.1", id = "d")
- public void testRequestScopeActiveDuringWebSericeInvocation()
- {
- assert false;
- }
-
- /**
- * The request context is destroyed after the web service invocation
- * completes
- */
- @Test(groups = { "stub", "contexts", "webservice", "integration" })
- @SpecAssertion(section = "8.5.1", id = "e")
- public void testRequestScopeIsDestroyedAfterWebServiceInvocation()
- {
- assert false;
- }
-
- /**
- * The request scope is active during any remote method invocation of any EJB
- * bean, during any call to an EJB timeout method and during message delivery
- * to any EJB message driven bean.
- */
- @Test(groups = { "stub", "contexts", "ejb3", "integration" })
- @SpecAssertion(section = "8.5.1", id = "h")
- public void testRequestScopeActiveDuringRemoteMethodInvocationOfEjb()
- {
- assert false;
- }
-
- /**
- * The request scope is active during any remote method invocation of any EJB
- * bean, during any call to an EJB timeout method and during message delivery
- * to any EJB message driven bean.
- */
- @Test(groups = { "stub", "contexts", "ejb3", "integration" })
- @SpecAssertion(section = "8.5.1", id = "j")
- public void testRequestScopeActiveDuringEjbMessageDelivery()
- {
- assert false;
- }
-
- /**
- * The request context is destroyed after the remote method invocation,
- * timeout or message delivery completes.
- */
- @Test(groups = { "stub", "contexts", "ejb3", "integration" })
- @SpecAssertion(section = "8.5.1", id = "k")
- public void testRequestScopeDestroyedAfterRemoteMethodInvocationOfEjb()
- {
- assert false;
- }
-
- /**
- * The request context is destroyed after the remote method invocation,
- * timeout or message delivery completes.
- */
- @Test(groups = { "stub", "contexts", "ejb3", "integration" })
- @SpecAssertion(section = "8.5.1", id = "m")
- public void testRequestScopeDestroyedAfterEjbMessageDelivery()
- {
- assert false;
- }
}
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/ejb/EJBRequestContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/ejb/EJBRequestContextTest.java 2009-06-10 13:14:48 UTC (rev 2811)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/ejb/EJBRequestContextTest.java 2009-06-10 15:22:00 UTC (rev 2812)
@@ -13,7 +13,7 @@
*
* @author David Allen
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
@IntegrationTest
@@ -26,7 +26,7 @@
* to any EJB message driven bean.
*/
@Test(groups = { "ri-broken", "contexts", "ejb3.1", "integration" })
- @SpecAssertion(section = "8.5.1", id = "i")
+ @SpecAssertion(section = "6.7.1", id = "gc")
public void testRequestScopeActiveDuringCallToEjbTimeoutMethod() throws Exception
{
FMS flightManagementSystem = getInstanceByType(FMS.class);
@@ -40,7 +40,7 @@
* timeout or message delivery completes.
*/
@Test(groups = { "ri-broken", "contexts", "ejb3.1", "integration" })
- @SpecAssertion(section = "8.5.1", id = "l")
+ @SpecAssertion(section = "6.7.1", id = "hc")
public void testRequestScopeDestroyedAfterCallToEjbTimeoutMethod() throws Exception
{
FMS flightManagementSystem = getInstanceByType(FMS.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/standalone/RequestContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/standalone/RequestContextTest.java 2009-06-10 13:14:48 UTC (rev 2811)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/request/standalone/RequestContextTest.java 2009-06-10 15:22:00 UTC (rev 2812)
@@ -25,7 +25,7 @@
/**
* @author David Allen
*
- * Spec version: PRD2
+ * Spec version: 20090519
*
*/
@Artifact
@@ -35,7 +35,7 @@
* The request scope is active during any asynchronous observer method notification
*/
@Test(groups = { "contexts", "integration" })
- @SpecAssertion(section = "8.5.1", id = "f")
+ @SpecAssertion(section = "6.7.1", id = "gb")
public void testRequestScopeIsActiveDuringAsynchronousObserverMethodInvocation() throws Exception
{
getCurrentManager().fireEvent(new TargetEvent());
@@ -48,7 +48,7 @@
* completes
*/
@Test(groups = { "contexts", "integration" })
- @SpecAssertion(section = "8.5.1", id = "g")
+ @SpecAssertion(section = "6.7.1", id = "hb")
public void testRequestScopeIsDestroyedAfterAsynchronousObserverMethodInvocation() throws Exception
{
NearMiss event = new NearMiss();
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/session/SessionContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/session/SessionContextTest.java 2009-06-10 13:14:48 UTC (rev 2811)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/session/SessionContextTest.java 2009-06-10 15:22:00 UTC (rev 2812)
@@ -14,7 +14,7 @@
/**
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
@IntegrationTest(runLocally=true)
@@ -25,7 +25,7 @@
public class SessionContextTest extends AbstractJSR299Test
{
@Test(groups = { "contexts", "servlet", "integration" })
- @SpecAssertion(section = "8.5.2", id = "a")
+ @SpecAssertion(section = "6.7.2", id = "aa")
public void testSessionScopeActiveDuringServiceMethod() throws Exception
{
WebClient webClient = new WebClient();
@@ -34,7 +34,7 @@
}
@Test(groups = { "contexts", "servlet", "integration" })
- @SpecAssertion(section = "8.5.2", id = "b")
+ @SpecAssertion(section = "6.7.2", id = "ab")
public void testSessionScopeActiveDuringDoFilterMethod() throws Exception
{
WebClient webClient = new WebClient();
@@ -43,7 +43,7 @@
}
@Test(groups = { "contexts", "servlet", "integration" })
- @SpecAssertion(section = "8.5.2", id = "c")
+ @SpecAssertion(section = "6.7.2", id = "b")
public void testSessionContextSharedBetweenServletRequestsInSameHttpSession() throws Exception
{
WebClient webClient = new WebClient();
@@ -58,7 +58,7 @@
}
@Test(groups = { "contexts", "integration" })
- @SpecAssertion(section = "8.5.2", id = "d")
+ @SpecAssertion(section = "6.7.2", id = "c")
public void testSessionContextDestroyedWhenHttpSessionInvalidated() throws Exception
{
WebClient webClient = new WebClient();
@@ -79,7 +79,7 @@
}
@Test(groups = { "contexts", "integration" })
- @SpecAssertion(section = "8.5.2", id = "e")
+ @SpecAssertion(section = "6.7.2", id = "d")
public void testSessionContextDestroyedWhenHttpSessionTimesOut() throws Exception
{
WebClient webClient = new WebClient();
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/bean/BeanDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/bean/BeanDefinitionTest.java 2009-06-10 13:14:48 UTC (rev 2811)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/bean/BeanDefinitionTest.java 2009-06-10 15:22:00 UTC (rev 2812)
@@ -6,7 +6,6 @@
import javax.enterprise.inject.AnnotationLiteral;
import javax.enterprise.inject.deployment.Production;
import javax.enterprise.inject.spi.Bean;
-import javax.enterprise.inject.spi.Bean;
import org.hibernate.tck.annotations.SpecAssertion;
import org.hibernate.tck.annotations.SpecAssertions;
@@ -19,7 +18,7 @@
*
* @author Pete Muir
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
public class BeanDefinitionTest extends AbstractJSR299Test
@@ -71,7 +70,7 @@
}
@Test(groups = "producerMethod")
- @SpecAssertion(section = "5.2", id = "b")
+ @SpecAssertion(section = "5.1.3", id = "ba")
public void testIsNullable() throws Exception
{
assert getBeans(int.class).size() == 1;
@@ -86,10 +85,9 @@
@SpecAssertions({
@SpecAssertion(section = "3.2.2", id = "a"),
@SpecAssertion(section = "2.2", id = "a"),
- @SpecAssertion(section = "2.2", id = "e"),
- @SpecAssertion(section = "2.2", id = "h"),
- @SpecAssertion(section = "2.2", id = "i"),
- @SpecAssertion(section = "2.2", id = "k"),
+ @SpecAssertion(section = "2.2.1", id = "a"),
+ @SpecAssertion(section = "2.2.1", id = "d"),
+ @SpecAssertion(section = "2.2.1", id = "e"),
@SpecAssertion(section = "2.2", id = "l")
})
public void testBeanTypes()
@@ -106,7 +104,7 @@
}
@Test
- @SpecAssertion(section = "2.2", id = "m")
+ @SpecAssertion(section = "2.2.2", id = "a")
@SuppressWarnings("unused")
public void testBeanClientCanCastBeanInstanceToAnyBeanType()
{
@@ -122,7 +120,7 @@
}
@Test
- @SpecAssertion(section = "2.2", id = "g")
+ @SpecAssertion(section = "2.2.1", id = "d")
public void testFinalApiType()
{
assert !getBeans(DependentFinalTuna.class).isEmpty();
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 13:14:48 UTC (rev 2811)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 15:22:00 UTC (rev 2812)
@@ -2894,14 +2894,34 @@
</section>
<section id="6.6.4" title="Validation of passivation capable beans and dependencies">
- <assertion id="a">
- <text>If a managed bean which declares a passivating scope is not passivation capable, or has a non-transient injected field, bean constructor parameter or initializer method parameter that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ <assertion id="aa">
+ <text>If a managed bean which declares a passivating scope is not passivation capable~, or has a non-transient injected field, bean constructor parameter or initializer method parameter that does not resolve to a passivation capable dependency, ~then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
</assertion>
- <assertion id="b">
- <text>If a stateful session bean has a non-transient injected field, bean constructor parameter or initializer method parameter that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ <assertion id="ab">
+ <text>If a managed bean which ~declares a passivating scope is not passivation capable, or~ has a non-transient injected field~, bean constructor parameter or initializer method parameter~ that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
</assertion>
+ <assertion id="ac">
+ <text>If a managed bean which ~declares a passivating scope is not passivation capable, or~ has a non-transient ~injected field~, bean constructor parameter or ~initializer method parameter~ that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ </assertion>
+
+ <assertion id="ad">
+ <text>If a managed bean which ~declares a passivating scope is not passivation capable, or~ has a non-transient ~injected field, bean constructor parameter or~ initializer method parameter that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ </assertion>
+
+ <assertion id="ba">
+ <text>If a stateful session bean has a non-transient injected field~, bean constructor parameter or initializer method parameter~ that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ </assertion>
+
+ <assertion id="bb">
+ <text>If a stateful session bean has a non-transient ~injected field,~ bean constructor parameter ~or initializer method parameter~ that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ </assertion>
+
+ <assertion id="bc">
+ <text>If a stateful session bean has a non-transient~ injected field, bean constructor parameter or~ initializer method parameter that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+ </assertion>
+
<assertion id="c">
<text>If a producer method declares a passivating scope and the container is able to determine that it is not passivation capable by inspecting its return type, or has a parameter that does not resolve to a passivation capable dependency, then the container automatically detects the problem and treats it as a deployment problem, as defined in Section 12.4, "Problems detected automatically by the container".</text>
</assertion>
@@ -2937,14 +2957,22 @@
</section>
<section id="6.7.1" title="Request context lifecycle">
- <assertion id="a">
- <text>The request scope is active during the |service()| method of any servlet in the web application and during the |doFilter()| method of any servlet filter.</text>
+ <assertion id="aa">
+ <text>The request scope is active during the |service()| method of any servlet in the web application~ and during the |doFilter()| method of any servlet filter.~</text>
</assertion>
- <assertion id="b">
- <text>The request context is destroyed at the end of the servlet request, after the |service()| method and all |doFilter()| methods return.</text>
+ <assertion id="ab">
+ <text>The request scope is active ~during the |service()| method of any servlet in the web application and~ during the |doFilter()| method of any servlet filter.</text>
</assertion>
+ <assertion id="ba">
+ <text>The request context is destroyed at the end of the servlet request, after the |service()| method ~and all |doFilter()| methods~ return.</text>
+ </assertion>
+
+ <assertion id="bb">
+ <text>The request context is destroyed at the end of the servlet request, after ~the |service()| method and~ all |doFilter()| methods return.</text>
+ </assertion>
+
<assertion id="c">
<text>The request scope is active during any Java EE web service invocation.</text>
</assertion>
@@ -2961,24 +2989,62 @@
<text>The request context is destroyed after the notification completes</text>
</assertion>
- <assertion id="g">
- <text>The request scope is active during any remote method invocation of any EJB, during any asynchronous method invocation
-of any EJB, during any call to an EJB timeout method and during message delivery to any EJB message-driven bean.</text>
+ <assertion id="ga">
+ <text>The request scope is active during any remote method invocation of any EJB,~ during any asynchronous method invocation of any EJB, during any call to an EJB timeout method and during message delivery to any EJB message-driven bean.~</text>
</assertion>
- <assertion id="h">
- <text>The request context is destroyed after the remote method invocation, asynchronous method invocation, timeout or message delivery completes.</text>
+ <assertion id="gb">
+ <text>The request scope is active ~during any remote method invocation of any EJB~, during any asynchronous method invocation of any EJB, ~during any call to an EJB timeout method and during message delivery to any EJB message-driven bean.~</text>
</assertion>
+
+ <assertion id="gc">
+ <text>The request scope is active ~during any remote method invocation of any EJB, during any asynchronous method invocation of any EJB,~ during any call to an EJB timeout method ~and during message delivery to any EJB message-driven bean~.</text>
+ </assertion>
+
+ <assertion id="gd">
+ <text>The request scope is active ~during any remote method invocation of any EJB, during any asynchronous method invocation of any EJB, during any call to an EJB timeout method and~ during message delivery to any EJB message-driven bean.</text>
+ </assertion>
+
+ <assertion id="ha">
+ <text>The request context is destroyed after the remote method invocation,~ asynchronous method invocation, timeout or message delivery completes~.</text>
+ </assertion>
+
+ <assertion id="hb">
+ <text>The request context is destroyed after the ~remote method invocation,~ asynchronous method invocation~, timeout or message delivery completes~.</text>
+ </assertion>
+
+ <assertion id="hc">
+ <text>The request context is destroyed after the ~remote method invocation, asynchronous method invocation,~ timeout~ or message delivery completes~.</text>
+ </assertion>
+
+ <assertion id="hd">
+ <text>The request context is destroyed after the ~remote method invocation, asynchronous method invocation, timeout or~ message delivery completes.</text>
+ </assertion>
+
+
</section>
<section id="6.7.2" title="Session context lifecycle">
- <assertion id="a">
- <text>The session scope is active during the |service()| method of any servlet in the web application and during the |doFilter()| method of any servlet filter.</text>
+ <assertion id="aa">
+ <text>The session scope is active during the |service()| method of any servlet in the web application ~and during the |doFilter()| method of any servlet filter~.</text>
</assertion>
+ <assertion id="ab">
+ <text>The session scope is active ~during the |service()| method of any servlet in the web application and~ during the |doFilter()| method of any servlet filter.</text>
+ </assertion>
+
<assertion id="b">
- <text>The session context is shared between all servlet requests that occur in the same HTTP servlet session. The session context is destroyed when the |HTTPSession| is invalidated or times out.</text>
+ <text>The session context is shared between all servlet requests that occur in the same HTTP servlet session.</text>
</assertion>
+
+ <assertion id="c">
+ <text>The session context is destroyed when the |HTTPSession| is invalidated ~or times out~.</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>The session context is destroyed when the |HTTPSession| ~is invalidated or~ times out.</text>
+ </assertion>
+
</section>
<section id="6.7.3" title="Application context lifecycle">
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2811 - in tck/trunk/impl/src/main: resources and 1 other directory.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 09:14:48 -0400 (Wed, 10 Jun 2009)
New Revision: 2811
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/DependentContextEjbTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/DependentContextEjbTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/DependentContextEjbTest.java 2009-06-10 13:00:49 UTC (rev 2810)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/DependentContextEjbTest.java 2009-06-10 13:14:48 UTC (rev 2811)
@@ -28,7 +28,7 @@
import org.testng.annotations.Test;
/**
- * Spec version: Public Release Draft 2
+ * Spec version: 20090519
*/
@IntegrationTest
@Packaging(PackagingType.EAR)
@@ -36,7 +36,8 @@
public class DependentContextEjbTest extends AbstractJSR299Test
{
@Test(groups = { "contexts", "injection", "ejb3", "integration" })
- @SpecAssertion(section = "8.3", id = "k")
+ //@SpecAssertion(section = "8.3", id = "k")
+ @SpecAssertion(section = "unknown", id = "unknown")
public void testContextIsActiveDuringEJBDependencyInjection()
{
Bean<FoxRunLocal> foxRunBean = getBeans(FoxRunLocal.class).iterator().next();
@@ -45,7 +46,7 @@
}
@Test(groups = { "contexts", "postconstruct", "ejb3", "integration" })
- @SpecAssertion(section = "8.3", id = "l")
+ @SpecAssertion(section = "6.4.1", id = "ka")
public void testContextIsActiveDuringEJBPostConstruct()
{
Fox.setDependentContextActiveDuringPostConstruct(false);
@@ -54,7 +55,7 @@
}
@Test(groups = { "contexts", "ejb3", "integration", "ri-broken"})
- @SpecAssertion(section = "8.3.2", id = "ba")
+ @SpecAssertion(section = "6.4.3", id = "baa")
public void testDestroyingEjbDestroysDependents() throws Exception
{
new RunInDependentContext()
@@ -77,7 +78,7 @@
}
@Test(groups = { "contexts", "ejb3", "integration","ri-broken", "broken" })
- @SpecAssertion(section = "8.3.2", id = "ba")
+ @SpecAssertion(section = "6.4.3", id = "baa")
public void testDestroyingEjbDestroysDependentSimples() throws Exception
{
new RunInDependentContext()
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 13:00:49 UTC (rev 2810)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 13:14:48 UTC (rev 2811)
@@ -2700,9 +2700,17 @@
</assertion>
<assertion id="ka">
- <text>The |@Dependent| scope is inactive except when the container is injecting dependencies or invoking the |@PostConstruct| or |@PreDestroy| callback of a Java EE component class supporting injection.</text>
+ <text>The |@Dependent| scope is inactive except when the container is injecting dependencies ~or invoking the |@PostConstruct| or |@PreDestroy| callback~ of a Java EE component class supporting injection.</text>
</assertion>
+ <assertion id="kb">
+ <text>The |@Dependent| scope is inactive except when the container is ~injecting dependencies or~ invoking the |@PostConstruct| ~or |@PreDestroy|~ callback of a Java EE component class supporting injection.</text>
+ </assertion>
+
+ <assertion id="kc">
+ <text>The |@Dependent| scope is inactive except when the container is ~injecting dependencies or~ invoking the ~|@PostConstruct| or~ |@PreDestroy| callback of a Java EE component class supporting injection.</text>
+ </assertion>
+
<assertion id="la">
<text>The |@Dependent| scope is inactive except when |Instance.get()|, |Instance.iterator()| or |BeanManager.getReference()| is invoked upon an instance of |Instance| or |BeanManager| injected by the container into a bean or other Java EE component class supporting injection.</text>
</assertion>
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2810 - in tck/trunk/impl/src/main: java/org/jboss/jsr299/tck/tests/context/dependent and 1 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 09:00:49 -0400 (Wed, 10 Jun 2009)
New Revision: 2810
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/InvalidatingSessionDestroysConversationTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningConversationPropagatedByFacesContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningInstancesNotDestroyedTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/InvalidatingSessionDestroysConversationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/InvalidatingSessionDestroysConversationTest.java 2009-06-10 12:36:21 UTC (rev 2809)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/InvalidatingSessionDestroysConversationTest.java 2009-06-10 13:00:49 UTC (rev 2810)
@@ -14,7 +14,7 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact(addCurrentPackage=false)
@Classes({Storm.class, ConversationTestPhaseListener.class, ConversationStatusServlet.class, Cloud.class, CloudController.class})
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningConversationPropagatedByFacesContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningConversationPropagatedByFacesContextTest.java 2009-06-10 12:36:21 UTC (rev 2809)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningConversationPropagatedByFacesContextTest.java 2009-06-10 13:00:49 UTC (rev 2810)
@@ -18,7 +18,7 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact(addCurrentPackage=false)
@Classes({Storm.class, ConversationTestPhaseListener.class, ConversationStatusServlet.class, Cloud.class})
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningInstancesNotDestroyedTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningInstancesNotDestroyedTest.java 2009-06-10 12:36:21 UTC (rev 2809)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningInstancesNotDestroyedTest.java 2009-06-10 13:00:49 UTC (rev 2810)
@@ -14,7 +14,7 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact(addCurrentPackage=false)
@Classes({Storm.class, ConversationTestPhaseListener.class, ConversationStatusServlet.class, Cloud.class, CloudController.class})
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-06-10 12:36:21 UTC (rev 2809)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-06-10 13:00:49 UTC (rev 2810)
@@ -18,7 +18,7 @@
import org.testng.annotations.Test;
/**
- * Spec version: Public Release Draft 2
+ * Spec version: 20090519
*/
@Artifact
@BeansXml("beans.xml")
@@ -28,7 +28,7 @@
private static final Annotation TAME_LITERAL = new AnnotationLiteral<Tame> () {};
@Test(groups = { "contexts", "injection" })
- @SpecAssertion(section = "8.3", id = "a")
+ @SpecAssertion(section = "6.4", id = "a")
public void testInstanceNotSharedBetweenInjectionPoints()
{
Set<Bean<Fox>> foxBeans = getBeans(Fox.class);
@@ -41,7 +41,7 @@
}
@Test(groups = { "contexts", "el" })
- @SpecAssertion(section = "8.3", id = "c")
+ @SpecAssertion(section = "6.4", id = "c")
public void testInstanceUsedForElEvaluationNotShared() throws Exception
{
new RunInDependentContext()
@@ -60,7 +60,7 @@
}
@Test(groups = { "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3", id = "d")
+ @SpecAssertion(section = "6.4", id = "da")
public void testInstanceUsedForProducerMethodNotShared() throws Exception
{
Bean<Tarantula> tarantulaBean = getBeans(Tarantula.class).iterator().next();
@@ -72,7 +72,7 @@
}
@Test(groups = { "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3", id = "d")
+ @SpecAssertion(section = "6.4", id = "db")
public void testInstanceUsedForProducerFieldNotShared() throws Exception
{
Bean<Tarantula> tarantulaBean = getBeans(Tarantula.class, TAME_LITERAL).iterator().next();
@@ -84,7 +84,7 @@
}
@Test(groups = { "contexts", "disposalMethod" })
- @SpecAssertion(section = "8.3", id = "d")
+ @SpecAssertion(section = "6.4", id = "dc")
public void testInstanceUsedForDisposalMethodNotShared() throws Exception
{
new RunInDependentContext()
@@ -106,7 +106,7 @@
}
@Test(groups = { "contexts", "observerMethod" })
- @SpecAssertion(section = "8.3", id = "d")
+ @SpecAssertion(section = "6.4", id = "dd")
public void testInstanceUsedForObserverMethodNotShared() throws Exception
{
new RunInDependentContext()
@@ -125,8 +125,8 @@
}
@Test(groups = "contexts")
- @SpecAssertion(section = "8.3", id = "e")
- public void testContextGetWithCreateTrueReturnsNewInstance() throws Exception
+ @SpecAssertion(section = "6.4", id = "e")
+ public void testContextGetWithCreationalContextReturnsNewInstance() throws Exception
{
new RunInDependentContext()
{
@@ -146,7 +146,7 @@
}
@Test(groups = "contexts")
- @SpecAssertion(section = "8.3", id = "f")
+ @SpecAssertion(section = "6.4", id = "f")
public void testContextGetWithCreateFalseReturnsNull() throws Exception
{
new RunInDependentContext()
@@ -166,7 +166,7 @@
}
@Test(groups = { "contexts", "ri-broken" }, expectedExceptions = ContextNotActiveException.class)
- @SpecAssertion(section = "8.3", id = "g")
+ @SpecAssertion(section = "6.4.1", id = "ga")
public void testContextIsInactive()
{
// The RI test harness is broken here, it just enables the dependent context blindly
@@ -174,7 +174,7 @@
}
@Test(groups = { "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3", id = "g")
+ @SpecAssertion(section = "6.4.1", id = "gb")
public void testContextIsActiveWhenInvokingProducerMethod()
{
Bean<Tarantula> tarantulaBean = getBeans(Tarantula.class).iterator().next();
@@ -184,7 +184,7 @@
}
@Test(groups = { "contexts", "producerField"})
- @SpecAssertion(section = "8.3", id = "g")
+ @SpecAssertion(section = "6.4.1", id = "gc")
public void testContextIsActiveWhenInvokingProducerField()
{
// Reset test class
@@ -195,8 +195,7 @@
@Test(groups = { "contexts", "disposalMethod" })
@SpecAssertions({
- @SpecAssertion(section = "8.3", id = "g"),
- @SpecAssertion(section = "8.3", id = "j")
+ @SpecAssertion(section = "6.4.1", id = "gd")
})
public void testContextIsActiveWhenInvokingDisposalMethod()
{
@@ -209,7 +208,10 @@
}
@Test(groups = { "contexts", "observerMethod" })
- @SpecAssertion(section = "8.3", id = "g")
+ @SpecAssertions({
+ @SpecAssertion(section = "6.4.1", id = "ge"),
+ @SpecAssertion(section = "6.4.1", id = "i")
+ })
public void testContextIsActiveWhenCreatingObserverMethodInstance()
{
getCurrentManager().fireEvent(new HorseInStableEvent());
@@ -217,7 +219,7 @@
}
@Test(groups = { "contexts", "el" })
- @SpecAssertion(section = "8.3", id = "h")
+ @SpecAssertion(section = "6.4.1", id = "h")
public void testContextIsActiveWhenEvaluatingElExpression() throws Exception
{
SensitiveFox.setManager(getCurrentManager());
@@ -233,16 +235,8 @@
}.run();
}
- @Test(groups = { "contexts", "observerMethod" })
- @SpecAssertion(section = "8.3", id = "i")
- public void testContextIsActiveWhenInvokingObserverMethod()
- {
- getCurrentManager().fireEvent(new HorseInStableEvent());
- assert ApplicationHorseStable.isDependentContextActive();
- }
-
@Test(groups = { "contexts", "beanLifecycle" })
- @SpecAssertion(section = "8.3", id = "j")
+ @SpecAssertion(section = "6.4.1", id = "ja")
public void testContextIsActiveDuringBeanCreation() throws Exception
{
SensitiveFox.setManager(getCurrentManager());
@@ -261,7 +255,7 @@
}
@Test(groups = { "contexts", "injection" })
- @SpecAssertion(section = "8.3", id = "j")
+ @SpecAssertion(section = "6.4.1", id = "jc")
public void testContextIsActiveDuringInjection()
{
Bean<FoxRun> foxRunBean = getBeans(FoxRun.class).iterator().next();
@@ -271,8 +265,8 @@
@Test(groups = { "contexts", "beanDestruction"})
@SpecAssertions({
- @SpecAssertion(section = "8.3.2", id = "a"),
- @SpecAssertion(section = "8.3", id = "b")
+ @SpecAssertion(section = "6.4.3", id = "a"),
+ @SpecAssertion(section = "6.4", id = "b")
})
public void testDestroyingSimpleParentDestroysDependents() throws Exception
{
@@ -298,8 +292,8 @@
@Test(groups = { "contexts", "beanDestruction"})
@SpecAssertions({
- @SpecAssertion(section = "8.3.2", id = "a"),
- @SpecAssertion(section = "8.3", id = "b")
+ @SpecAssertion(section = "6.4.3", id = "a"),
+ @SpecAssertion(section = "6.4", id = "b")
})
public void testDestroyingSimpleParentDestroysDependentsOfSameBean() throws Exception
{
@@ -326,7 +320,7 @@
}
@Test(groups = { "contexts", "el"})
- @SpecAssertion(section = "8.3.2", id = "c")
+ @SpecAssertion(section = "6.4.3", id = "c")
public void testDependentsDestroyedWhenElEvaluationCompletes() throws Exception
{
new RunInDependentContext()
@@ -346,7 +340,7 @@
}
@Test(groups = { "contexts", "producerMethod" })
- @SpecAssertion(section = "8.3.2", id = "da")
+ @SpecAssertion(section = "6.4.3", id = "da")
public void testDependentsDestroyedWhenProducerMethodCompletes() throws Exception
{
new RunInDependentContext()
@@ -366,7 +360,7 @@
}
@Test(groups = { "contexts", "producerField" })
- @SpecAssertion(section = "8.3.2", id = "db")
+ @SpecAssertion(section = "6.4.3", id = "db")
public void testDependentsDestroyedWhenProducerFieldCompletes() throws Exception
{
new RunInDependentContext()
@@ -388,7 +382,7 @@
}
@Test(groups = { "contexts", "disposalMethod", "ri-broken" })
- @SpecAssertion(section = "8.3.2", id = "dc")
+ @SpecAssertion(section = "6.4.3", id = "dc")
public void testDependentsDestroyedWhenDisposalMethodCompletes() throws Exception
{
new RunInDependentContext()
@@ -413,7 +407,7 @@
}
@Test(groups = { "contexts", "observerMethod" })
- @SpecAssertion(section = "8.3.2", id = "dd")
+ @SpecAssertion(section = "6.4.3", id = "dd")
public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes() throws Exception
{
new RunInDependentContext()
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 12:36:21 UTC (rev 2809)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 13:00:49 UTC (rev 2810)
@@ -2615,10 +2615,22 @@
<text>When a bean is declared to have |@Dependent| scope, any instance of the bean that is used to evaluate a Unified EL expression exists to service that evaluation only</text>
</assertion>
- <assertion id="d">
- <text>When a bean is declared to have |@Dependent| scope, any instance of the bean that receives a producer method, producer field, disposal method or observer method invocation exists to service that invocation only</text>
+ <assertion id="da">
+ <text>When a bean is declared to have |@Dependent| scope, any instance of the bean that receives a producer method~, producer field, disposal method or observer method~ invocation exists to service that invocation only</text>
</assertion>
+ <assertion id="db">
+ <text>When a bean is declared to have |@Dependent| scope, any instance of the bean that receives a ~producer method,~ producer field~, disposal method or observer method~ invocation exists to service that invocation only</text>
+ </assertion>
+
+ <assertion id="dc">
+ <text>When a bean is declared to have |@Dependent| scope, any instance of the bean that receives a ~producer method, producer field,~ disposal method ~or observer method~ invocation exists to service that invocation only</text>
+ </assertion>
+
+ <assertion id="dd">
+ <text>When a bean is declared to have |@Dependent| scope, any instance of the bean that receives a ~producer method, producer field, disposal method or~ observer method invocation exists to service that invocation only</text>
+ </assertion>
+
<assertion id="e">
<text>Every invocation of the |get()| operation of the |Context| object for the |@Dependent| scope with a |CreationalContext| returns a new instance of the given bean</text>
</assertion>
@@ -2629,11 +2641,32 @@
</section>
<section id="6.4.1" title="Dependent scope lifecycle">
- <assertion id="g">
- <text>The |@Dependent| scope is inactive except when an instance of a bean with scope |@Dependent| is created by the container to receive a producer method, producer field, disposal method or observer method invocation</text>
+
+ <assertion id="ga">
+ <text>The |@Dependent| scope is inactive ~except when an instance of a bean with scope |@Dependent| is created by the container to receive a producer method, producer field, disposal method or observer method ~invocation</text>
<note>Assertions g through k are all related and should be treated as "or" conditions</note>
</assertion>
+
+ <assertion id="gb">
+ <text>The |@Dependent| scope is inactive except when an instance of a bean with scope |@Dependent| is created by the container to receive a producer method~, producer field, disposal method or observer method ~invocation</text>
+ <note>Assertions g through k are all related and should be treated as "or" conditions</note>
+ </assertion>
+ <assertion id="gc">
+ <text>The |@Dependent| scope is inactive except when an instance of a bean with scope |@Dependent| is created by the container to receive a ~producer method,~ producer field~, disposal method or observer method ~invocation</text>
+ <note>Assertions g through k are all related and should be treated as "or" conditions</note>
+ </assertion>
+
+ <assertion id="gd">
+ <text>The |@Dependent| scope is inactive except when an instance of a bean with scope |@Dependent| is created by the container to receive a ~producer method, producer field,~ disposal method ~or observer method ~invocation</text>
+ <note>Assertions g through k are all related and should be treated as "or" conditions</note>
+ </assertion>
+
+ <assertion id="ge">
+ <text>The |@Dependent| scope is inactive except when an instance of a bean with scope |@Dependent| is created by the container to receive a ~producer method, producer field, disposal method or~ observer method ~invocation</text>
+ <note>Assertions g through k are all related and should be treated as "or" conditions</note>
+ </assertion>
+
<assertion id="h">
<text>The |@Dependent| scope is inactive except while a Unified EL expression is evaluated</text>
</assertion>
@@ -2643,9 +2676,29 @@
</assertion>
<assertion id="ja">
- <text>The |@Dependent| scope is inactive except when the container is creating or destroying a contextual instance of a bean, injecting its dependencies, invoking its observer methods, or invoke its |@PostConstruct| or |@PreDestroy| callback.</text>
+ <text>The |@Dependent| scope is inactive except when the container is creating ~or destroying~ a contextual instance of a bean~, injecting its dependencies, invoking its observer methods, or invoke its |@PostConstruct| or |@PreDestroy| callback.~</text>
</assertion>
+ <assertion id="jb">
+ <text>The |@Dependent| scope is inactive except when the container is ~creating or~ destroying a contextual instance of a bean, ~injecting its dependencies, invoking its observer methods, or invoke its |@PostConstruct| or |@PreDestroy| callback.~</text>
+ </assertion>
+
+ <assertion id="jc">
+ <text>The |@Dependent| scope is inactive except when the container is ~creating or destroying a contextual instance of a bean,~ injecting its dependencies, ~invoking its observer methods, or invoke its |@PostConstruct| or |@PreDestroy| callback.~</text>
+ </assertion>
+
+ <assertion id="jd">
+ <text>The |@Dependent| scope is inactive except when the container is ~creating or destroying a contextual instance of a bean, injecting its dependencies,~ invoking its observer methods, ~or invoke its |@PostConstruct| or |@PreDestroy| callback.~</text>
+ </assertion>
+
+ <assertion id="je">
+ <text>The |@Dependent| scope is inactive except when the container is ~creating or destroying a contextual instance of a bean, injecting its dependencies, invoking its observer methods, or~ invoke its |@PostConstruct|~ or |@PreDestroy|~ callback.</text>
+ </assertion>
+
+ <assertion id="jf">
+ <text>The |@Dependent| scope is inactive except when the container is ~creating or destroying a contextual instance of a bean, injecting its dependencies, invoking its observer methods, or~ invoke ~its |@PostConstruct| or~ |@PreDestroy| callback.</text>
+ </assertion>
+
<assertion id="ka">
<text>The |@Dependent| scope is inactive except when the container is injecting dependencies or invoking the |@PostConstruct| or |@PreDestroy| callback of a Java EE component class supporting injection.</text>
</assertion>
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2809 - in tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context: application/standalone and 2 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 08:36:21 -0400 (Wed, 10 Jun 2009)
New Revision: 2809
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/EJBApplicationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/standalone/ApplicationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationBeginTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationEndTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationIdSetByApplicationTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationIdSetByContainerTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/ClientConversationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/InvalidatingSessionDestroysConversationTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningConversationPropagatedByFacesContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningInstancesNotDestroyedTest.java
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/EJBApplicationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/EJBApplicationContextTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/EJBApplicationContextTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -13,7 +13,7 @@
*
* @author David Allen
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
@IntegrationTest
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/standalone/ApplicationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/standalone/ApplicationContextTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/standalone/ApplicationContextTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -25,7 +25,7 @@
/**
* @author David Allen
*
- * Spec version: PRD2
+ * Spec version: 20090519
*
*/
@Artifact
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationBeginTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationBeginTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationBeginTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -11,14 +11,14 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
public class ConversationBeginTest extends AbstractJSR299Test
{
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "f")
+ @SpecAssertion(section = "6.7.4", id = "f")
public void testConversationBeginMakesConversationLongRunning()
{
Conversation conversation = getInstanceByType(Conversation.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationContextTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationContextTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -16,43 +16,42 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
-
public class ConversationContextTest extends AbstractJSR299Test
{
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "e")
+ @SpecAssertion(section = "6.7.4", id = "e")
public void testDefaultConversationIsTransient()
{
assert !getInstanceByType(Conversation.class).isLongRunning();
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "ia")
+ @SpecAssertion(section = "6.7.4", id = "iaa")
public void testBeanWithTypeConversation()
{
assert getBeans(Conversation.class).size() == 1;
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "ib")
+ @SpecAssertion(section = "6.7.4", id = "ib")
public void testBeanWithRequestScope()
{
assert getBeans(Conversation.class).iterator().next().getScopeType().equals(RequestScoped.class);
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "ic")
+ @SpecAssertion(section = "6.7.4", id = "ic")
public void testBeanWithDeploymentTypeStandard()
{
assert getBeans(Conversation.class).iterator().next().getDeploymentType().equals(Standard.class);
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "id")
+ @SpecAssertion(section = "6.7.4", id = "id")
public void testBeanWithBindingCurrent()
{
boolean found = false;
@@ -66,11 +65,11 @@
assert found;
}
- @Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "ie")
+ @Test(groups = { "contexts", "ri-broken" })
+ @SpecAssertion(section = "6.7.4", id = "ie")
public void testBeanWithNameJavaxContextConversation()
{
- assert getBeans(Conversation.class).iterator().next().getName().equals("javax.context.conversation");
+ assert getBeans(Conversation.class).iterator().next().getName().equals("javax.enterprise.context.conversation");
}
}
\ No newline at end of file
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationEndTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationEndTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationEndTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -11,14 +11,14 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
public class ConversationEndTest extends AbstractJSR299Test
{
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "g")
+ @SpecAssertion(section = "6.7.4", id = "g")
public void testConversationEndMakesConversationTransient()
{
Conversation conversation = getInstanceByType(Conversation.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationIdSetByApplicationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationIdSetByApplicationTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationIdSetByApplicationTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -11,14 +11,14 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
public class ConversationIdSetByApplicationTest extends AbstractJSR299Test
{
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "ha")
+ @SpecAssertion(section = "6.7.4", id = "ha")
public void testConversationIdMayBeSetByApplication()
{
Conversation conversation = getInstanceByType(Conversation.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationIdSetByContainerTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationIdSetByContainerTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationIdSetByContainerTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -11,14 +11,14 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
public class ConversationIdSetByContainerTest extends AbstractJSR299Test
{
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "f")
+ @SpecAssertion(section = "6.7.4", id = "f")
public void testConversationBeginMakesConversationLongRunning()
{
Conversation conversation = getInstanceByType(Conversation.class);
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/ClientConversationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/ClientConversationContextTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/ClientConversationContextTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -14,7 +14,7 @@
*
* @author Nicklas Karlsson
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact(addCurrentPackage=false)
@Classes({Storm.class, ConversationTestPhaseListener.class, ConversationStatusServlet.class, Cloud.class, CloudController.class})
@@ -31,7 +31,7 @@
{
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "hb")
+ @SpecAssertion(section = "6.7.4", id = "hb")
public void testConversationIdSetByContainerIsUnique() throws Exception
{
HttpClient client = new HttpClient();
@@ -43,7 +43,7 @@
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "j")
+ @SpecAssertion(section = "6.7.4", id = "j")
public void testTransientConversationInstancesDestroyedAtRequestEnd() throws Exception
{
HttpClient client = new HttpClient();
@@ -53,7 +53,7 @@
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "k")
+ @SpecAssertion(section = "6.7.4", id = "k")
public void testLongRunningConversationInstancesNotDestroyedAtRequestEnd() throws Exception
{
HttpClient client = new HttpClient();
@@ -63,7 +63,7 @@
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "n")
+ @SpecAssertion(section = "6.7.4", id = "n")
public void testManualCidPropagation() throws Exception
{
HttpClient client = new HttpClient();
@@ -73,7 +73,7 @@
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "o")
+ @SpecAssertion(section = "6.7.4", id = "o")
public void testConversationNotPropagated() throws Exception
{
HttpClient client = new HttpClient();
@@ -83,7 +83,7 @@
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "p")
+ @SpecAssertion(section = "6.7.4", id = "p")
public void testConversationsDontCrossSessionBoundary() throws Exception
{
HttpClient client = new HttpClient();
@@ -94,7 +94,7 @@
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "b")
+ @SpecAssertion(section = "6.7.4", id = "b")
public void testConversationActiveDuringNonFacesRequest() throws Exception
{
HttpClient client = new HttpClient();
@@ -102,7 +102,7 @@
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "s")
+ @SpecAssertion(section = "6.7.4", id = "s")
public void testConversationPropagationToNonExistentConversationLeadsToTransientConversation() throws Exception
{
HttpClient client = new HttpClient();
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/InvalidatingSessionDestroysConversationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/InvalidatingSessionDestroysConversationTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/InvalidatingSessionDestroysConversationTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -29,7 +29,7 @@
{
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "q")
+ @SpecAssertion(section = "6.7.4", id = "q")
public void testInvalidatingSessionDestroysConversation() throws Exception
{
HttpClient client = new HttpClient();
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningConversationPropagatedByFacesContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningConversationPropagatedByFacesContextTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningConversationPropagatedByFacesContextTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -37,7 +37,7 @@
private static final String REDIRECT_STORM_STRENGTH = "15";
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "l")
+ @SpecAssertion(section = "6.7.4", id = "l")
public void testConversationPropagated() throws Exception
{
WebClient webClient = new WebClient();
@@ -55,7 +55,7 @@
}
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "m")
+ @SpecAssertion(section = "6.7.4", id = "m")
public void testConversationPropagatedOverRedirect() throws Exception
{
WebClient webClient = new WebClient();
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningInstancesNotDestroyedTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningInstancesNotDestroyedTest.java 2009-06-10 11:57:21 UTC (rev 2808)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/LongRunningInstancesNotDestroyedTest.java 2009-06-10 12:36:21 UTC (rev 2809)
@@ -29,7 +29,7 @@
{
@Test(groups = { "contexts" })
- @SpecAssertion(section = "8.5.4", id = "k")
+ @SpecAssertion(section = "6.7.4", id = "k")
public void testLongRunningConversationInstancesNotDestroyedAtRequestEnd() throws Exception
{
HttpClient client = new HttpClient();
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2808 - in tck/trunk/impl/src/main: java/org/jboss/jsr299/tck/tests/context/application/standalone and 1 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 07:57:21 -0400 (Wed, 10 Jun 2009)
New Revision: 2808
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/EJBApplicationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/standalone/ApplicationContextTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/EJBApplicationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/EJBApplicationContextTest.java 2009-06-10 11:50:17 UTC (rev 2807)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/EJBApplicationContextTest.java 2009-06-10 11:57:21 UTC (rev 2808)
@@ -21,7 +21,7 @@
public class EJBApplicationContextTest extends AbstractJSR299Test
{
@Test(groups = { "broken", "contexts", "webservice", "integration" })
- @SpecAssertion(section = "8.5.3", id = "c")
+ @SpecAssertion(section = "6.7.3", id = "b")
public void testApplicationScopeActiveDuringWebSericeInvocation()
{
//TODO This test might work better with a separate client over HTTP
@@ -32,7 +32,7 @@
}
@Test(groups = { "contexts", "ejb3", "integration" })
- @SpecAssertion(section = "8.5.3", id = "f")
+ @SpecAssertion(section = "6.7.3", id = "dc")
public void testApplicationScopeActiveDuringCallToEjbTimeoutMethod() throws Exception
{
FMS flightManagementSystem = getInstanceByType(FMS.class);
@@ -42,8 +42,8 @@
}
@Test(groups = { "contexts", "ejb3", "integration" })
- @SpecAssertion(section = "8.5.3", id = "l")
- public void testApplicationContextSharedBetweenEJBTimeoutInvokations() throws Exception
+ @SpecAssertion(section = "6.7.3", id = "ef")
+ public void testApplicationContextSharedBetweenEJBTimeoutInvocations() throws Exception
{
FMS flightManagementSystem = getInstanceByType(FMS.class);
flightManagementSystem.climb();
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/standalone/ApplicationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/standalone/ApplicationContextTest.java 2009-06-10 11:50:17 UTC (rev 2807)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/standalone/ApplicationContextTest.java 2009-06-10 11:57:21 UTC (rev 2808)
@@ -32,7 +32,7 @@
public class ApplicationContextTest extends AbstractJSR299Test
{
@Test(groups = { "contexts", "events" })
- @SpecAssertion(section = "8.5.3", id = "d")
+ @SpecAssertion(section = "6.7.3", id = "c")
public void testApplicationScopeActiveDuringAsynchronousObserverMethodInvocation() throws Exception
{
getCurrentManager().fireEvent(new TargetEvent());
@@ -41,7 +41,7 @@
}
@Test(groups = { "contexts", "events", "integration" })
- @SpecAssertion(section = "8.5.3", id = "i")
+ @SpecAssertion(section = "6.7.3", id = "eb")
public void testApplicationContextSharedBetweenAsynchronousObservers() throws Exception
{
NearMiss event = new NearMiss();
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 11:50:17 UTC (rev 2807)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 11:57:21 UTC (rev 2808)
@@ -2937,10 +2937,22 @@
<text>The application scope is active during any asynchronous observer method notification.</text>
</assertion>
- <assertion id="d">
- <text>The application scope is also active during any remote method invocation of any EJB, during any asynchronous method invocation of any EJB, during any call to an EJB timeout method and during message delivery to any EJB message-driven bean.</text>
+ <assertion id="da">
+ <text>The application scope is also active during any remote method invocation of any EJB~, during any asynchronous method invocation of any EJB, during any call to an EJB timeout method and during message delivery to any EJB message-driven bean.</text>
</assertion>
+ <assertion id="db">
+ <text>The application scope is also active ~during any remote method invocation of any EJB~, during any asynchronous method invocation of any EJB~, during any call to an EJB timeout method and during message delivery to any EJB message-driven bean.~</text>
+ </assertion>
+
+ <assertion id="dc">
+ <text>The application scope is also active ~during any remote method invocation of any EJB, during any asynchronous method invocation of any EJB,~ during any call to an EJB timeout method~ and during message delivery to any EJB message-driven bean.~</text>
+ </assertion>
+
+ <assertion id="dd">
+ <text>The application scope is also active ~during any remote method invocation of any EJB, during any asynchronous method invocation of any EJB, during any call to an EJB timeout method and~ during message delivery to any EJB message-driven bean.</text>
+ </assertion>
+
<assertion id="ea">
<text>The application context is shared between all servlet requests~, asynchronous observer method notifications, web service invocations, EJB remote method invocations, EJB asynchronous method invocations, EJB timeouts and message deliveries to message driven beans ~that execute within the same application.</text>
</assertion>
15 years, 6 months
[webbeans-commits] Webbeans SVN: r2807 - in tck/trunk/impl/src/main: resources and 1 other directory.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-06-10 07:50:17 -0400 (Wed, 10 Jun 2009)
New Revision: 2807
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ApplicationContextTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
update tck to 20090519
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ApplicationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ApplicationContextTest.java 2009-06-10 11:42:30 UTC (rev 2806)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ApplicationContextTest.java 2009-06-10 11:50:17 UTC (rev 2807)
@@ -16,7 +16,7 @@
*
* @author David Allen
*
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
@IntegrationTest(runLocally=true)
@@ -28,7 +28,7 @@
{
@Test(groups = { "contexts", "servlet", "integration" })
- @SpecAssertion(section = "8.5.3", id = "a")
+ @SpecAssertion(section = "6.7.3", id = "aa")
public void testApplicationScopeActiveDuringServiceMethod() throws Exception
{
WebClient webClient = new WebClient();
@@ -37,7 +37,7 @@
}
@Test(groups = { "contexts", "servlet", "integration" })
- @SpecAssertion(section = "8.5.3", id = "b")
+ @SpecAssertion(section = "6.7.3", id = "ab")
public void testApplicationScopeActiveDuringDoFilterMethod() throws Exception
{
WebClient webClient = new WebClient();
@@ -45,23 +45,8 @@
webClient.getPage(getContextPath() + "SimplePage.html");
}
- @Test(groups = { "stub", "contexts", "ejb3", "integration" })
- @SpecAssertion(section = "8.5.3", id = "e")
- public void testApplicationScopeActiveDuringRemoteMethodInvocationOfEjb()
- {
- //TODO Easy to implement once global naming w/EJB3.1 is available
- assert false;
- }
-
- @Test(groups = { "stub", "contexts", "ejb3", "jms", "integration" })
- @SpecAssertion(section = "8.5.3", id = "g")
- public void testApplicationScopeActiveDuringMdbMessageDelivery()
- {
- assert false;
- }
-
@Test(groups = { "contexts", "integration" })
- @SpecAssertion(section = "8.5.3", id = "h")
+ @SpecAssertion(section = "6.7.3", id = "ea")
public void testApplicationContextSharedBetweenServletRequests() throws Exception
{
WebClient webClient = new WebClient();
@@ -75,34 +60,4 @@
assert Double.parseDouble(secondRequestResult.getContent()) == Double.parseDouble(firstRequestResult.getContent());
}
- @Test(groups = { "stub", "contexts", "webservice", "integration" })
- @SpecAssertion(section = "8.5.3", id = "j")
- public void testApplicationContextSharedBetweenWebServices()
- {
- assert false;
- }
-
- @Test(groups = { "stub", "contexts", "ejb3", "integration" })
- @SpecAssertion(section = "8.5.3", id = "k")
- public void testApplicationContextSharedBetweenRemoteMethodInvokations()
- {
- //TODO Easy to implement once global naming w/EJB3.1 is available
- assert false;
- }
-
- @Test(groups = { "stub", "contexts", "jms", "integration" })
- @SpecAssertion(section = "8.5.3", id = "m")
- public void testApplicationContextSharedBetweenMDBMessageDeliveries()
- {
- assert false;
- }
-
- @Test(groups = { "underInvestigation", "contexts", "integration" })
- @SpecAssertion(section = "8.5.3", id = "n")
- public void testApplicationScopeDestroyedWhenApplicationIsUndeployed()
- {
- //TODO How can the WB container be tested after the app is undeployed?
- assert false;
- }
-
}
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 11:42:30 UTC (rev 2806)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-06-10 11:50:17 UTC (rev 2807)
@@ -2921,10 +2921,14 @@
</section>
<section id="6.7.3" title="Application context lifecycle">
- <assertion id="a">
- <text>The application scope is active during the |service()| method of any servlet in the web application and during the |doFilter()| method of any servlet filter.</text>
+ <assertion id="aa">
+ <text>The application scope is active during the |service()| method of any servlet in the web application ~and during the |doFilter()| method of any servlet filter.~</text>
</assertion>
+ <assertion id="ab">
+ <text>The application scope is active during ~the |service()| method of any servlet in the web application and during~ the |doFilter()| method of any servlet filter.</text>
+ </assertion>
+
<assertion id="b">
<text>The application scope is active during any Java EE web service invocation.</text>
</assertion>
@@ -2937,10 +2941,34 @@
<text>The application scope is also active during any remote method invocation of any EJB, during any asynchronous method invocation of any EJB, during any call to an EJB timeout method and during message delivery to any EJB message-driven bean.</text>
</assertion>
- <assertion id="e">
- <text>The application context is shared between all servlet requests, asynchronous observer method notifications, web service invocations, EJB remote method invocations, EJB asynchronous method invocations, EJB timeouts and message deliveries to message driven beans that execute within the same application.</text>
+ <assertion id="ea">
+ <text>The application context is shared between all servlet requests~, asynchronous observer method notifications, web service invocations, EJB remote method invocations, EJB asynchronous method invocations, EJB timeouts and message deliveries to message driven beans ~that execute within the same application.</text>
</assertion>
+ <assertion id="eb">
+ <text>The application context is shared between all ~servlet requests,~ asynchronous observer method notifications~, web service invocations, EJB remote method invocations, EJB asynchronous method invocations, EJB timeouts and message deliveries to message driven beans ~that execute within the same application.</text>
+ </assertion>
+
+ <assertion id="ec">
+ <text>The application context is shared between all ~servlet requests, asynchronous observer method notifications,~ web service invocations~, EJB remote method invocations, EJB asynchronous method invocations, EJB timeouts and message deliveries to message driven beans ~that execute within the same application~.</text>
+ </assertion>
+
+ <assertion id="ed">
+ <text>The application context is shared between all ~servlet requests, asynchronous observer method notifications, web service invocations,~ EJB remote method invocations~, EJB asynchronous method invocations, EJB timeouts and message deliveries to message driven beans ~that execute within the same application~.</text>
+ </assertion>
+
+ <assertion id="ee">
+ <text>The application context is shared between all ~servlet requests, asynchronous observer method notifications, web service invocations, EJB remote method invocations,~ EJB asynchronous method invocations~, EJB timeouts and message deliveries to message driven beans ~that execute within the same application.</text>
+ </assertion>
+
+ <assertion id="ef">
+ <text>The application context is shared between all ~servlet requests, asynchronous observer method notifications, web service invocations, EJB remote method invocations, EJB asynchronous method invocations,~ EJB timeouts ~and message deliveries to message driven beans ~that execute within the same application.</text>
+ </assertion>
+
+ <assertion id="eg">
+ <text>The application context is shared between all ~servlet requests, asynchronous observer method notifications, web service invocations, EJB remote method invocations, EJB asynchronous method invocations, EJB timeouts and~ message deliveries to message driven beans ~that execute within the same application.</text>
+ </assertion>
+
<assertion id="f">
<text>The application context is destroyed when the application
is undeployed.</text>
15 years, 6 months