Author: shane.bryzak(a)jboss.com
Date: 2009-07-17 02:44:48 -0400 (Fri, 17 Jul 2009)
New Revision: 3074
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/lifecycle/ProducerMethodLifecycleTest.java
Log:
matched producer method lifecycle tests
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/lifecycle/ProducerMethodLifecycleTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/lifecycle/ProducerMethodLifecycleTest.java 2009-07-17
06:21:32 UTC (rev 3073)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/lifecycle/ProducerMethodLifecycleTest.java 2009-07-17
06:44:48 UTC (rev 3074)
@@ -13,7 +13,7 @@
/**
*
- * Spec version: 20090519
+ * Spec version: 20090625
*
*/
@Artifact
@@ -22,10 +22,7 @@
{
@Test(groups = { "producerMethod", "disposalMethod" })
- @SpecAssertions({
- @SpecAssertion(section = "7", id = "f"),
- @SpecAssertion(section = "7.5", id = "ma")
- })
+ @SpecAssertion(section = "7.3.4", id = "ma")
public void testProducerMethodBeanDestroy() throws Exception
{
new RunInDependentContext()
@@ -48,9 +45,7 @@
}
@Test(groups = { "producerMethod" })
- @SpecAssertions({
- @SpecAssertion(section = "7", id = "b")
- })
+ @SpecAssertion(section = "7.3.4", id = "review")
public void testProducerMethodBeanCreate() throws Exception
{
new RunInDependentContext()
@@ -68,7 +63,7 @@
@Test(groups = { "producerMethod" })
@SpecAssertions({
- @SpecAssertion(section = "7.5", id = "ea")
+ @SpecAssertion(section = "7.3.4", id = "ea")
})
public void testProducerMethodInvokedOnCreate() throws Exception
{
@@ -89,7 +84,7 @@
@Test(groups = { "producerMethod", "rewrite" })
//Test needs to user the InjectionTarget interface for these assertions
@SpecAssertions({
- @SpecAssertion(section = "11.4.1", id = "g")
+ @SpecAssertion(section = "review", id = "review")
})
public void testProducerMethodFromMostSpecializedBeanUsed() throws Exception
{
@@ -110,7 +105,7 @@
@Test(groups = { "producerMethod" })
@SpecAssertions({
- @SpecAssertion(section = "7.5", id = "k")
+ @SpecAssertion(section = "7.3.4", id = "k")
})
public void testCreateReturnsNullIfProducerDoesAndDependent() throws Exception
{
@@ -121,7 +116,7 @@
@Test(groups = { "producerMethod", "broken" }, expectedExceptions
= IllegalProductException.class )
@SpecAssertions({
- @SpecAssertion(section = "7.5", id = "l")
+ @SpecAssertion(section = "7.3.4", id = "l")
})
// TODO I'm not quite sure what this test is currently doing!
public void testCreateFailsIfProducerReturnsNullAndNotDependent() throws Exception
Show replies by date