diff options
Diffstat (limited to 'guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java')
-rw-r--r-- | guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java b/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java index 67ef67bf0..e78b87530 100644 --- a/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java +++ b/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java @@ -22,15 +22,16 @@ import static com.google.common.collect.testing.testers.CollectionAddTester.getA import static com.google.common.collect.testing.testers.CollectionCreationTester.getCreateWithNullUnsupportedMethod; import static com.google.common.collect.testing.testers.SetAddTester.getAddSupportedNullPresentMethod; +import junit.framework.Test; + import java.lang.reflect.Method; import java.util.Arrays; import java.util.Collection; import java.util.Set; -import junit.framework.Test; /** - * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known - * OpenJDK 6 bugs. + * Tests the {@link Set} implementations of {@link java.util}, suppressing + * tests that trip known OpenJDK 6 bugs. * * @author Kevin Bourrillion */ @@ -39,16 +40,16 @@ public class OpenJdk6SetTests extends TestsForSetsInJavaUtil { return new OpenJdk6SetTests().allTests(); } - @Override - protected Collection<Method> suppressForTreeSetNatural() { + @Override protected Collection<Method> suppressForTreeSetNatural() { return Arrays.asList( getAddNullUnsupportedMethod(), getAddAllNullUnsupportedMethod(), getCreateWithNullUnsupportedMethod()); } - @Override - protected Collection<Method> suppressForCheckedSet() { - return Arrays.asList(getAddNullSupportedMethod(), getAddSupportedNullPresentMethod()); + @Override protected Collection<Method> suppressForCheckedSet() { + return Arrays.asList( + getAddNullSupportedMethod(), + getAddSupportedNullPresentMethod()); } } |