[
https://java.net/jira/browse/GLAZEDLISTS-599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
brands resolved GLAZEDLISTS-599.
--------------------------------
Assignee: brands (was: jessewilson)
Resolution: Fixed
Fixed with commit
cf44258078c44b264dabada5f40931a1bb7bceb7
> GroupingList produces invalid ListChanges
> -----------------------------------------
>
> Key: GLAZEDLISTS-599
> URL:
https://java.net/jira/browse/GLAZEDLISTS-599> Project: glazedlists
> Issue Type: Bug
> Components: core
> Affects Versions: 1.10.0, 1.9.1
> Reporter: brands
> Assignee: brands
> Fix For: 1.10.0
>
>
> Another test for GroupingList that still fails:
> {code}
> @Test
> public void testIssue599() {
> BasicEventList<String> base = new BasicEventList<String>();
> base.add("A");
> base.add("A");
> TransactionList<String> source = new TransactionList<String>(base);
> GroupingList<String> grouped = new GroupingList<String>(source, String.CASE_INSENSITIVE_ORDER);
> ListConsistencyListener<List<String>> listener = ListConsistencyListener.<List<String>>install(grouped, "GROUPED:", true);
> listener.setPreviousElementTracked(false);
> source.beginEvent(true);
> source.add(0, "A");
> source.set(1, "A");
> source.add(3, "A");
> source.commitEvent();
> assertEquals("[[A, A, A, A]]", grouped.toString());
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)