[jboss-jira] [JBoss JIRA] (DROOLS-3098) UX: Add support for map and list
Ron Murhammer (Jira)
issues at jboss.org
Tue Nov 13 13:08:00 EST 2018
[ https://issues.jboss.org/browse/DROOLS-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660837#comment-13660837 ]
Ron Murhammer edited comment on DROOLS-3098 at 11/13/18 1:07 PM:
-----------------------------------------------------------------
More explanation of Daniele's example:
I have a ContactList which has a List of Contacts. Each Contact has a list of Phone Numbers. Each Phone Number has a couple of field like the actual number and the type (home, work, cell, etc).
*ContactList Fields*
- List of Contacts (GIVEN data)
- hasMultipleContacts (rules will set this field)
- hasDuplicatePhoneNumbers (rules will set this field)
*Example Data:*
ContactList (has list of contacts)
- Daniele
- Ron (has list of phone numbers)
-- Home 111-111-1111
-- Cell 222-222-2222
- Liz (has list of phone numbers)
-- Home 333-333-3333
-- Cell 444-444-4444
*Test Cases*
1. I want to create the above data in the given section UI table and have a rule that checks that I have multiple contacts in the contact list. Then in expect check that ContactList.hasMultipleContacts == true.
2. I want to create the above data in the given section UI table and have a rule that checks that across contacts, there aren't any duplicate phone numbers. Then in the expect check that ContactList.hasDuplicatePhoneNumbers == false.
was (Author: ron-murhammer):
More explanation of Daniele's example:
I have a ContactList which has a List of Contacts. Each Contact has a list of Phone Numbers. Each Phone Number has a couple of field like the actual number and the type (home, work, cell, etc).
*ContactList Fields*
- List of Contacts
- hasMultipleContacts
- hasDuplicatePhoneNumbers
*Example Data:*
ContactList (has list of contacts)
- Daniele
- Ron (has list of phone numbers)
-- Home 111-111-1111
-- Cell 222-222-2222
- Liz (has list of phone numbers)
-- Home 333-333-3333
-- Cell 444-444-4444
*Test Cases*
1. I want to create the above data in the given section UI table and have a rule that checks that I have multiple contacts in the contact list. Then in expect check that ContactList.hasMultipleContacts == true.
2. I want to create the above data in the given section UI table and have a rule that checks that across contacts, there aren't any duplicate phone numbers. Then in the expect check that ContactList.hasDuplicatePhoneNumbers == false.
> UX: Add support for map and list
> --------------------------------
>
> Key: DROOLS-3098
> URL: https://issues.jboss.org/browse/DROOLS-3098
> Project: Drools
> Issue Type: Story
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: Liz Clayton
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
>
> As user I want to be able to use Data Objects that contain Lists and Maps
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list