Test for the case when annotation arguments contain null in Java

This is an error in Java, but it may be present in the source by mistake
This commit is contained in:
Andrey Breslav
2014-01-17 13:13:50 +04:00
parent 8f56283771
commit 314b1e371b
3 changed files with 29 additions and 0 deletions
@@ -3109,6 +3109,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTestSourceJava("compiler/testData/loadJava/sourceJava/ErrorTypes.java");
}
@TestMetadata("NullInAnnotation.java")
public void testNullInAnnotation() throws Exception {
doTestSourceJava("compiler/testData/loadJava/sourceJava/NullInAnnotation.java");
}
@TestMetadata("ReturnInnerSubclassOfSupersInner.java")
public void testReturnInnerSubclassOfSupersInner() throws Exception {
doTestSourceJava("compiler/testData/loadJava/sourceJava/ReturnInnerSubclassOfSupersInner.java");