Regenerate tests for androidx support annotations

This commit is contained in:
Denis Zharkov
2018-03-14 14:01:15 +03:00
parent 7d8e7f481d
commit e1c29ad3fd
4 changed files with 29 additions and 11 deletions
@@ -25,9 +25,15 @@ public class ForeignAnnotationsNoAnnotationInClasspathTestGenerated extends Abst
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/foreignAnnotations/tests"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("android.kt")
public void testAndroid() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/android.kt");
@TestMetadata("android_support.kt")
public void testAndroid_support() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/android_support.kt");
doTest(fileName);
}
@TestMetadata("androidx.kt")
public void testAndroidx() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/androidx.kt");
doTest(fileName);
}
@@ -25,9 +25,15 @@ public class ForeignAnnotationsNoAnnotationInClasspathWithFastClassReadingTestGe
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/foreignAnnotations/tests"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("android.kt")
public void testAndroid() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/android.kt");
@TestMetadata("android_support.kt")
public void testAndroid_support() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/android_support.kt");
doTest(fileName);
}
@TestMetadata("androidx.kt")
public void testAndroidx() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/androidx.kt");
doTest(fileName);
}
@@ -25,9 +25,15 @@ public class ForeignAnnotationsTestGenerated extends AbstractForeignAnnotationsT
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/foreignAnnotations/tests"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("android.kt")
public void testAndroid() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/android.kt");
@TestMetadata("android_support.kt")
public void testAndroid_support() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/android_support.kt");
doTest(fileName);
}
@TestMetadata("androidx.kt")
public void testAndroidx() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/androidx.kt");
doTest(fileName);
}
@@ -26,13 +26,13 @@ public class JavacForeignAnnotationsTestGenerated extends AbstractJavacForeignAn
}
@TestMetadata("android_support.kt")
public void testAndroidSupport() throws Exception {
public void testAndroid_support() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/android_support.kt");
doTest(fileName);
}
@TestMetadata("androidx.kt")
public void testAndroidSupport() throws Exception {
public void testAndroidx() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/androidx.kt");
doTest(fileName);
}