Author: nickarls
Date: 2008-12-08 13:54:12 -0500 (Mon, 08 Dec 2008)
New Revision: 483
Modified:
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/NewEventTest.java
Log:
Test-commit to see if Davids svn client can handle javadoc changes without conflicting
:-)
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/NewEventTest.java
===================================================================
---
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/NewEventTest.java 2008-12-08
18:26:41 UTC (rev 482)
+++
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/NewEventTest.java 2008-12-08
18:54:12 UTC (rev 483)
@@ -111,6 +111,10 @@
manager.fireEvent(anEvent, new RoleBinding("Admin"));
}
+ /**
+ * If the type of the event object passed to fireEvent() contains type
+ * variables or wildcards, an IllegalArgumentException is thrown
+ */
@Test(groups = { "events" }, expectedExceptions = {
IllegalArgumentException.class })
@SpecAssertion(section = { "8.1", "8.2" })
public void testManagerFireEventWithEventTypeParametersFails()
@@ -119,6 +123,10 @@
manager.fireEvent(anEvent);
}
+ /**
+ * If the type of the event object passed to fireEvent() contains type
+ * variables or wildcards, an IllegalArgumentException is thrown
+ */
@Test(groups = { "events" }, expectedExceptions = {
IllegalArgumentException.class })
@SpecAssertion(section = { "8.1", "8.2" })
public void testManagerFireEventWithEventTypeWildcardsFails()