[jboss-jira] [JBoss JIRA] (DROOLS-1896) Unify ModelField creation accross drools-wb repository tests

Michael Anstis (JIRA) issues at jboss.org
Fri Oct 27 04:35:18 EDT 2017


     [ https://issues.jboss.org/browse/DROOLS-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Anstis moved GUVNOR-3512 to DROOLS-1896:
------------------------------------------------

              Project: Drools  (was: Guvnor)
                  Key: DROOLS-1896  (was: GUVNOR-3512)
             Workflow: GIT Pull Request workflow   (was: classic default workflow)
          Component/s: Guided Decision Table Editor
                       Guided Rule Editor
                           (was: DSL)
                           (was: Guided Decision Table)
                           (was: Guided Rule Editor)
                           (was: XLS Decision Tables)
    Affects Version/s: 7.3.0.Final
                           (was: 7.3.0.Final)


> Unify ModelField creation accross drools-wb repository tests
> ------------------------------------------------------------
>
>                 Key: DROOLS-1896
>                 URL: https://issues.jboss.org/browse/DROOLS-1896
>             Project: Drools
>          Issue Type: Task
>          Components: Guided Decision Table Editor, Guided Rule Editor
>    Affects Versions: 7.3.0.Final
>            Reporter: Jozef Marko
>            Assignee: Jozef Marko
>            Priority: Minor
>
> A lot of tests in the drools-wb/drools-wb-screens respository need a initialization using a lot of ModelFields instances. This initialization code is just calling of contructor multple times. The problem is that the constructor has like 5/6 parameters where just two of them are needed for tests.
> This task should introduce static method that will construct ModelField but the most of constructor arguments will be hardcoded. This static method should be reused in all drools-wb-drools-wb-screens client tests.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list