Author: pete.muir(a)jboss.org
Date: 2009-03-16 18:20:41 -0400 (Mon, 16 Mar 2009)
New Revision: 2055
Removed:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/impl/packaging/
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/impl/runner/
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/HelsinkiNonSerializable.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/PassivatingContextTest.java
Log:
fix test
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/HelsinkiNonSerializable.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/HelsinkiNonSerializable.java 2009-03-16
22:19:57 UTC (rev 2054)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/HelsinkiNonSerializable.java 2009-03-16
22:20:41 UTC (rev 2055)
@@ -2,5 +2,10 @@
class HelsinkiNonSerializable
{
+
+ public void ping()
+ {
+
+ }
}
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/PassivatingContextTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/PassivatingContextTest.java 2009-03-16
22:19:57 UTC (rev 2054)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/PassivatingContextTest.java 2009-03-16
22:20:41 UTC (rev 2055)
@@ -179,11 +179,11 @@
assert getCurrentManager().resolveByType(TurkuLocal.class).size() == 1;
}
- @Test(expectedExceptions = IllegalProductException.class, groups =
"broken")
+ @Test(expectedExceptions = IllegalProductException.class)
@SpecAssertion(section = "8.4", id = "cc")
public void
testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException()
{
- getCurrentManager().getInstanceByType(HelsinkiNonSerializable.class);
+ getCurrentManager().getInstanceByType(HelsinkiNonSerializable.class).ping();
}
}