[
https://issues.jboss.org/browse/DROOLS-3098?page=com.atlassian.jira.plugi...
]
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)