Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
TCK testing: The ResourceResponse#createXxxURL methods should throw an InvalidStateException, however, they apparently do not.
To reproduce the problem, use the TCK command:
mvn test -Prun-tck -Dtest.module=V2SigTestsResource_ResourceResponse_SIGResource_hasCreate
Test results (from log):
Aug 27, 2014 4:44:30 PM javax.portlet.tck.beans.ClassChecker hasMethod
FINE: Method name: createActionURL
results of exception check: false
method exceptions: []
expected exceptions: [class java.lang.IllegalStateException]
Aug 27, 2014 4:44:30 PM javax.portlet.tck.beans.ClassChecker hasMethod
FINE: added exception types
Aug 27, 2014 4:44:30 PM javax.portlet.tck.beans.ClassChecker hasMethod
FINE: Method name: createRenderURL
results of exception check: false
method exceptions: []
expected exceptions: [class java.lang.IllegalStateException]
Aug 27, 2014 4:44:30 PM javax.portlet.tck.beans.ClassChecker hasMethod
FINE: added exception types
Aug 27, 2014 4:44:30 PM javax.portlet.tck.beans.ClassChecker hasMethod
FINE: Method name: createResourceURL
results of exception check: false
method exceptions: []
expected exceptions: [class java.lang.IllegalStateException]