Description
This issue challenges the usage of upper case portlet modes and window states in Portlet Hub tests.
The JSDoc for the Portlet Hub setPortletMode function states:
The strings defined by the
Unknown macro: {@link PortletConstants}object should be used to specify the portlet mode.
In addition, the JSDoc for the Portlet Hub setWindowState function states:
The strings defined by the
Unknown macro: {@link PortletConstants}object should be used to specify the window state.
The portlet constants are defined in the JSDoc with lower case values:
portlet.js
* @property {string} VIEW Specifies portlet mode 'view' * @property {string} EDIT Specifies portlet mode 'edit' * @property {string} HELP Specifies portlet mode 'help' * @property {string} NORMAL Specifies window state 'normal' * @property {string} MINIMIZED Specifies window state 'minimized' * @property {string} MAXIMIZED Specifies window state 'maximized'
However, certain Portlet Hub related TCK tests are using an upper case value. For example, V3PortletHubTests_SPEC_23_JSState_clone3 has:
state.setPortletMode('VIEW'); state.setWindowState('NORMAL');