Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6117

Hamcrest: Simplify ResourceMatchers method signatures

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Testing Hamcrest 1.0.0
    • Testing
    • None

    Description

      the resource matching methods of ResourceMatchers should be simplified (before doing the 1.0.0 release):

      • eliminate "resource" prefix from method names, because resource is already in the "ResourceMatchers" class names, and the child methods do not contain this prefix as well
      • allow to specify property maps either as map, or as object vararg array (similar to resource builder and sling mocks)

      existing sling projects using this snapshot release will be updated as well.

      Attachments

        Activity

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: