Support rxjava 3 nullability annotations

This commit is contained in:
Victor Petukhov
2021-06-02 17:23:04 +03:00
parent 6d3badb2cd
commit f46dc713d7
11 changed files with 305 additions and 2 deletions
@@ -98,6 +98,30 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava.kt");
}
@Test
@TestMetadata("rxjava3Default.kt")
public void testRxjava3Default() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Default.kt");
}
@Test
@TestMetadata("rxjava3Errors.kt")
public void testRxjava3Errors() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Errors.kt");
}
@Test
@TestMetadata("rxjava3Ignore.kt")
public void testRxjava3Ignore() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Ignore.kt");
}
@Test
@TestMetadata("rxjava3Warnings.kt")
public void testRxjava3Warnings() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Warnings.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305")
@TestDataPath("$PROJECT_ROOT")
@@ -98,6 +98,30 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava.kt");
}
@Test
@TestMetadata("rxjava3Default.kt")
public void testRxjava3Default() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Default.kt");
}
@Test
@TestMetadata("rxjava3Errors.kt")
public void testRxjava3Errors() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Errors.kt");
}
@Test
@TestMetadata("rxjava3Ignore.kt")
public void testRxjava3Ignore() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Ignore.kt");
}
@Test
@TestMetadata("rxjava3Warnings.kt")
public void testRxjava3Warnings() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Warnings.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305")
@TestDataPath("$PROJECT_ROOT")
@@ -98,6 +98,30 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava.kt");
}
@Test
@TestMetadata("rxjava3Default.kt")
public void testRxjava3Default() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Default.kt");
}
@Test
@TestMetadata("rxjava3Errors.kt")
public void testRxjava3Errors() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Errors.kt");
}
@Test
@TestMetadata("rxjava3Ignore.kt")
public void testRxjava3Ignore() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Ignore.kt");
}
@Test
@TestMetadata("rxjava3Warnings.kt")
public void testRxjava3Warnings() throws Exception {
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Warnings.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/foreignAnnotationsTests/tests/jsr305")
@TestDataPath("$PROJECT_ROOT")