Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2773

Extend FixtureScript API to allow checking of optional params

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-M5
    • 2.0.0-M6
    • Core
    • None

    Description

      refactor this hack:

      public class FixtureScript {
        ...
        protected <T> void optionalParam(
          final String parameterName, final ExecutionContext ec, final Class<T> cls) {
          try {
              checkParam(parameterName, ec, cls);
          } catch (IllegalArgumentException e) {
              // Do nothing
          }
        }
      }
       

      Attachments

        Issue Links

          Activity

            People

              danhaywood Daniel Keir Haywood
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: