Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6435

WicketTester should provide assertExists and assertNotExists methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.2.0, 9.0.0-M1
    • Component/s: None
    • Labels:
      None

      Description

      BaseWicketTester has:

      private Component assertExists(final String path)
      

      which is unfortunately private and doesn't provide contrary method.

      These methods are very important if you want to properly test code which is using Fragments: one Fragment is being added at time (exist) while another is not added (notExist)

      Could you please make assertExists public and add assertNotExists method?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgrigorov Martin Tzvetanov Grigorov
                Reporter:
                eximius Kamil
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: