Author: pete.muir(a)jboss.org
Date: 2010-02-16 07:51:01 -0500 (Tue, 16 Feb 2010)
New Revision: 5843
Modified:
core/trunk/tests/src/test/java/org/jboss/weld/tests/serialization/SerializationTest.java
Log:
add expected exception
Modified:
core/trunk/tests/src/test/java/org/jboss/weld/tests/serialization/SerializationTest.java
===================================================================
---
core/trunk/tests/src/test/java/org/jboss/weld/tests/serialization/SerializationTest.java 2010-02-16
12:38:29 UTC (rev 5842)
+++
core/trunk/tests/src/test/java/org/jboss/weld/tests/serialization/SerializationTest.java 2010-02-16
12:51:01 UTC (rev 5843)
@@ -16,6 +16,8 @@
*/
package org.jboss.weld.tests.serialization;
+import javax.enterprise.inject.IllegalProductException;
+
import org.jboss.testharness.impl.packaging.Artifact;
import org.jboss.weld.test.AbstractWeldTest;
import org.jboss.weld.test.Utils;
@@ -42,7 +44,7 @@
assert deserializedCMgr.getConversationInstance().get() != null;
}
-
@Test(description="http://lists.jboss.org/pipermail/weld-dev/2010-February/002265.html")
+
@Test(description="http://lists.jboss.org/pipermail/weld-dev/2010-February/002265.html",
expectedExceptions=IllegalProductException.class)
public void testNonSerializableProductInjectedIntoSessionScopedBean()
{
getReference(LoggerConsumer.class).ping();
Show replies by date