Created
January 7, 2017 20:21
-
-
Save fab1an/0670b43886e63a4edee7c162f058fd01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void bugInGrouper() { | |
final TransactionList<String> source = new TransactionList<String>(new BasicEventList<String>()); | |
final UniqueList<String> uniqueList = new UniqueList<String>(source, String.CASE_INSENSITIVE_ORDER); | |
source.add("A"); | |
source.add("A"); | |
source.add("B"); | |
source.beginEvent(); | |
source.set(0, "B"); | |
source.set(1, "B"); | |
source.commitEvent(); | |
assertEquals(GlazedListsTests.stringToList("BBB"), source); | |
assertEquals(GlazedListsTests.stringToList("B"), uniqueList); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment