Skip to content

Commit

Permalink
@ignore annotationReferencesUndefined test, which causes problems wit…
Browse files Browse the repository at this point in the history
…h the Java 7 build on Travis.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150624246
  • Loading branch information
eamonnmcmanus authored and ronshapiro committed Mar 22, 2017
1 parent 8d3b77b commit dac87b7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import javax.lang.model.element.TypeElement;
import javax.lang.model.util.ElementFilter;
import javax.tools.JavaFileObject;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
Expand Down Expand Up @@ -2333,7 +2334,11 @@ public void referencingGeneratedClass() {
.compilesWithoutError();
}

// Test currently ignored because sometimes we get two UNDEFINED errors and sometimes we
// get no warnings if there is an error, depending on the exact JDK version. We may be
// able to get something a bit more solid once we require JDK 8.
@Test
@Ignore
public void annotationReferencesUndefined() {
// Test that we don't throw an exception if asked to compile @SuppressWarnings(UNDEFINED)
// where UNDEFINED is an undefined symbol.
Expand Down

0 comments on commit dac87b7

Please sign in to comment.