[seam-issues] [JBoss JIRA] Created: (JBSEAM-4588) NotLoggedInException in org.jboss.seam.moc.AbstractSeamTest.FacesRequest.run() causes test to be marked as passed without actual test execution.

Sergey Vidyuk (JIRA) jira-events at lists.jboss.org
Fri Mar 5 11:15:10 EST 2010


NotLoggedInException in org.jboss.seam.moc.AbstractSeamTest.FacesRequest.run() causes test to be marked as passed without actual test execution.
------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBSEAM-4588
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4588
             Project: Seam
          Issue Type: Bug
          Components: Test Harness
    Affects Versions: 2.2.0.GA
            Reporter: Sergey Vidyuk


NotLoggedInException is thrown caought and logged in the org.jboss.seam.moc.AbstractSeamTest.FacesRequest.run() method if view id passer to the FacesRequest is not allowed to be accessed by not logged in user. org.jboss.seam.moc.AbstractSeamTest.FacesRequest.invokeApplication() is not executed but test is marked as passed.

I think in this situation test should fail. I have some tests affected by this issue which were written several month ago and even didn't know that they are not executed at all.

-- 
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 seam-issues mailing list