LPS-44013 New utility class has been created for the PortletPreferences tests.
LPS-44013 A new method addLayout has been created to create a layout by a specific group.
LPS-44013 A new test class has been created to test the PortalPreferencesLocalService (addPortletPreferences)
LPS-44013 SF
LPS-44013 SF
LPS-44013 Distinguish jsPortletPreferences from portletPreferences
LPS-44013 SF
LPS-44013 SF
LPS-44013 I still don't like the test method names, or the protected helper method names. They just don't seem right. For example, the wayy ou use WithDefaultPreferences is actually not true. The other methods have default preferences too. Please rename all the methods in the test class, public and protected, so that they are logically consistent. The one I'm checking in right now is logically inconsistent, but I didn't have more time to come up with something that is consistent. Please resend. Thx.
LPS-44013 Rename of the test methods to make their names consistent.
LPS-44013 SF.
LPS-44013 Make it more obvious that we are passing a null value
LPS-44013 SF
LPS-43739 SF