Author: danielc.roth
Date: 2009-03-31 05:40:24 -0400 (Tue, 31 Mar 2009)
New Revision: 2283
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken1/MultipleDisposeParametersDefinitionTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetriever.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetrieverLocal.java
Log:
fixing tests
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken1/MultipleDisposeParametersDefinitionTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken1/MultipleDisposeParametersDefinitionTest.java 2009-03-31
09:06:08 UTC (rev 2282)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/disposal/method/definition/broken1/MultipleDisposeParametersDefinitionTest.java 2009-03-31
09:40:24 UTC (rev 2283)
@@ -6,6 +6,7 @@
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;
/**
@@ -15,6 +16,7 @@
*/
@Artifact
@ExpectedDeploymentException(DefinitionException.class)
+(a)BeansXml("beans.xml")
public class MultipleDisposeParametersDefinitionTest extends AbstractJSR299Test
{
@Test
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetriever.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetriever.java 2009-03-31
09:06:08 UTC (rev 2282)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetriever.java 2009-03-31
09:40:24 UTC (rev 2283)
@@ -4,14 +4,13 @@
import javax.ejb.Remove;
import javax.ejb.Stateful;
import javax.event.Observes;
-import javax.inject.Disposes;
@Stateful
@RequestScoped
class GoldenRetriever implements GoldenRetrieverLocal
{
@Remove
- public void bye(@Disposes Object something) {
+ public void bye(Object something) {
}
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetrieverLocal.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetrieverLocal.java 2009-03-31
09:06:08 UTC (rev 2282)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetrieverLocal.java 2009-03-31
09:40:24 UTC (rev 2283)
@@ -6,6 +6,8 @@
public interface GoldenRetrieverLocal
{
+ public void bye(Object something);
+
public void anObserverMethod(String event);
}
\ No newline at end of file
Show replies by date