Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2343

ExpressionResolverUnitTestCase uses a system prop named 'test'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.0.0.Beta7
    • None
    • Management
    • None

      ExpressionResolverUnitTestCase does the and then checks the resolution of the expression returns "defaulted":

      input.get("defaulted").set(new ValueExpression("${test:default}"));
      

      That's fragile since the commonly used -Dtest=xxxx arg to maven will break it.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: