[weld-issues] [JBoss JIRA] Created: (CDITCK-74) Test fails in GF due to incorrect assumption

Santiago Pericas-Geertsen (JIRA) jira-events at lists.jboss.org
Fri Nov 20 15:46:35 EST 2009


Test fails in GF due to incorrect assumption
--------------------------------------------

                 Key: CDITCK-74
                 URL: https://jira.jboss.org/jira/browse/CDITCK-74
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Tests
    Affects Versions: 1.0.1.CR1
         Environment: Solaris x86 / JDK 6u16 / GF v3
            Reporter: Santiago Pericas-Geertsen


The test *.event.observer.enterprise.EnterpriseEventInheritenceTest includes the following assertion:

egg.getClassesVisited().iterator().next().equals(Farmer.class)

and the same assertion for the class StockWatcher. The classes Farmer and StockWatcher are stateful EJBs. The EJB container in GF subclasses these to create serializable versions. These new classes are named _Farmer_Serializable and _StockWatcher_Serializable and are therefore different from Farmer and StockWatcher. The assertion above fails in GF as a result. 

The other assertions in the test are fine, but the class equal assertion seems to strong to be portable across containers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list