mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
Use BASIC_RESULTS_UNORDERED
This commit is contained in:
parent
2ccef669c8
commit
5446c9500a
@ -37,7 +37,7 @@ public class GroupByMapTest extends AbstractGroupByTest {
|
||||
|
||||
@Test
|
||||
public void Set_By_Sorted() {
|
||||
Map<Integer, Group> results = BASIC_RESULTS
|
||||
Map<Integer, Group> results = BASIC_RESULTS_UNORDERED
|
||||
.transform(groupBy(postId).as(postName, sortedSet(commentId)));
|
||||
|
||||
Group group = results.get(1);
|
||||
@ -49,7 +49,7 @@ public class GroupByMapTest extends AbstractGroupByTest {
|
||||
|
||||
@Test
|
||||
public void Set_By_Sorted_Reverse() {
|
||||
Map<Integer, Group> results = BASIC_RESULTS
|
||||
Map<Integer, Group> results = BASIC_RESULTS_UNORDERED
|
||||
.transform(groupBy(postId).as(postName, sortedSet(commentId, Ordering.natural().reverse())));
|
||||
|
||||
Group group = results.get(1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user