Drop createQualifier: testData update

This commit is contained in:
Dmitry Petrov
2015-11-11 18:14:59 +03:00
parent 28d15e776a
commit 9856af48ca
47 changed files with 289 additions and 96 deletions
@@ -4773,6 +4773,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("companionObjectUsage.kt")
public void testCompanionObjectUsage() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/deprecated/companionObjectUsage.kt");
doTest(fileName);
}
@TestMetadata("componentUsage.kt")
public void testComponentUsage() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/deprecated/componentUsage.kt");
@@ -13068,6 +13074,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("constructorVsCompanion.kt")
public void testConstructorVsCompanion() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/resolve/constructorVsCompanion.kt");
doTest(fileName);
}
@TestMetadata("CycleInTypeArgs.kt")
public void testCycleInTypeArgs() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.kt");
@@ -13104,6 +13116,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("localObject.kt")
public void testLocalObject() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/resolve/localObject.kt");
doTest(fileName);
}
@TestMetadata("objectLiteralAsArgument.kt")
public void testObjectLiteralAsArgument() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/resolve/objectLiteralAsArgument.kt");
@@ -964,6 +964,18 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/resolve"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("javaPackageMembers.kt")
public void testJavaPackageMembers() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/resolve/javaPackageMembers.kt");
doTest(fileName);
}
@TestMetadata("javaStaticMembers.kt")
public void testJavaStaticMembers() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/resolve/javaStaticMembers.kt");
doTest(fileName);
}
@TestMetadata("kt4711.kt")
public void testKt4711() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/resolve/kt4711.kt");
@@ -128,7 +128,7 @@ public class KotlinTypeCheckerTest extends KotlinLiteFixture {
}
public void testJumps() throws Exception {
assertType("throw java.lang.Exception()", builtIns.getNothingType());
assertType("throw Exception()", builtIns.getNothingType());
assertType("continue", builtIns.getNothingType());
assertType("break", builtIns.getNothingType());
}