[jboss-jira] [JBoss JIRA] (WFCORE-2343) ExpressionResolverUnitTestCase uses a system prop named 'test'

Brian Stansberry (JIRA) issues at jboss.org
Tue Feb 28 13:46:00 EST 2017


Brian Stansberry created WFCORE-2343:
----------------------------------------

             Summary: ExpressionResolverUnitTestCase uses a system prop named 'test'
                 Key: WFCORE-2343
                 URL: https://issues.jboss.org/browse/WFCORE-2343
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor


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

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

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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list