aboutsummaryrefslogtreecommitdiff
path: root/android/guava-tests/test/com/google/common/collect/ListsImplTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/guava-tests/test/com/google/common/collect/ListsImplTest.java')
-rw-r--r--android/guava-tests/test/com/google/common/collect/ListsImplTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/guava-tests/test/com/google/common/collect/ListsImplTest.java b/android/guava-tests/test/com/google/common/collect/ListsImplTest.java
index 8ef599c99..6ed0b66b3 100644
--- a/android/guava-tests/test/com/google/common/collect/ListsImplTest.java
+++ b/android/guava-tests/test/com/google/common/collect/ListsImplTest.java
@@ -99,11 +99,13 @@ public class ListsImplTest extends TestCase {
return example == null ? new ImmutableListExample("test") : example;
}
+ @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL
@Override
public String getName() {
return example == null ? super.getName() : buildTestName();
}
+ @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL
private String buildTestName() {
return super.getName() + ":" + example.getName();
}