Ignore Java 21 SortedSet methods in test

This commit is contained in:
Andrew Gaul 2024-10-09 12:18:32 -07:00
parent 4ef1d8b177
commit 89e834a4c5
1 changed files with 9 additions and 0 deletions

View File

@ -143,8 +143,17 @@ public class Reflection2Test {
.add("last") .add("last")
.add("subSet") .add("subSet")
.add("tailSet") .add("tailSet")
// Java 21 methods
.add("getFirst")
.add("getLast")
.add("addFirst")
.add("addLast")
.add("removeFirst")
.add("removeLast")
.add("reversed")
.build(); .build();
public void testMethods() { public void testMethods() {
Set<String> methodNames = FluentIterable.from(methods(Set.class)).transform(invokableToName) Set<String> methodNames = FluentIterable.from(methods(Set.class)).transform(invokableToName)
.transform(toStringFunction()) .transform(toStringFunction())