Author: jharting
Date: 2009-07-21 07:32:00 -0400 (Tue, 21 Jul 2009)
New Revision: 3111
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/DisposalMethodDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/BeanWithStaticProducerMethod.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/ProducerMethodDefinitionTest.java
Log:
Added @SpecAssertions to tests that verify invocation of static producer and disposal
methods
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/DisposalMethodDefinitionTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/DisposalMethodDefinitionTest.java 2009-07-21
11:22:46 UTC (rev 3110)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/DisposalMethodDefinitionTest.java 2009-07-21
11:32:00 UTC (rev 3111)
@@ -30,7 +30,8 @@
@SpecAssertion(section = "3.3.5", id = "e"),
@SpecAssertion(section = "3.3.6", id = "ba"),
@SpecAssertion(section = "3.3.7", id = "a"),
- @SpecAssertion(section = "3.3.9", id = "aa")
+ @SpecAssertion(section = "3.3.9", id = "aa"),
+ @SpecAssertion(section = "5.6.6", id = "b")
})
public void testBindingTypesAppliedToDisposalMethodParameters() throws Exception
{
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/BeanWithStaticProducerMethod.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/BeanWithStaticProducerMethod.java 2009-07-21
11:22:46 UTC (rev 3110)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/BeanWithStaticProducerMethod.java 2009-07-21
11:32:00 UTC (rev 3111)
@@ -2,9 +2,7 @@
import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
-import javax.enterprise.inject.deployment.Production;
-@Production
class BeanWithStaticProducerMethod
{
static boolean stringDestroyed;
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/ProducerMethodDefinitionTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/ProducerMethodDefinitionTest.java 2009-07-21
11:22:46 UTC (rev 3110)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/ProducerMethodDefinitionTest.java 2009-07-21
11:32:00 UTC (rev 3111)
@@ -34,7 +34,8 @@
@Test(groups = "producerMethod")
@SpecAssertions( {
@SpecAssertion(section = "3.3", id = "b"),
- @SpecAssertion(section = "7.3.4", id = "a")
+ @SpecAssertion(section = "7.3.4", id = "a"),
+ @SpecAssertion(section = "5.6.6", id = "a")
} )
public void testStaticMethod() throws Exception
{
Show replies by date