[
https://jira.jboss.org/jira/browse/JBSEAM-4588?page=com.atlassian.jira.pl...
]
Sergey Vidyuk updated JBSEAM-4588:
----------------------------------
Description:
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 I never thought that they are not executed at all.
was:
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.
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 I never thought 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