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

Jozef Marko (JIRA) issues at jboss.org
Wed Jul 11 08:48:01 EDT 2018


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

Jozef Marko updated DROOLS-1896:
--------------------------------
    Labels: drools-tools  (was: )


> 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
>              Labels: drools-tools
>
> 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