Checking redundant/conflicting projection kind in alt signatures.

This commit is contained in:
Evgeny Gerashchenko
2013-02-01 13:55:01 +04:00
parent a47ff5cdb5
commit 4be1e7d8d8
15 changed files with 111 additions and 20 deletions
@@ -343,6 +343,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/loadJava/kotlinSignature/error"), "java", true);
}
@TestMetadata("ConflictingProjectionKind.java")
public void testConflictingProjectionKind() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/error/ConflictingProjectionKind.java");
}
@TestMetadata("ExplicitFieldGettersAndSetters.java")
public void testExplicitFieldGettersAndSetters() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/error/ExplicitFieldGettersAndSetters.java");
@@ -368,6 +373,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTest("compiler/testData/loadJava/kotlinSignature/error/NotVarargReplacedWithVararg.java");
}
@TestMetadata("RedundantProjectionKind.java")
public void testRedundantProjectionKind() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/error/RedundantProjectionKind.java");
}
@TestMetadata("ReturnTypeMissing.java")
public void testReturnTypeMissing() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/error/ReturnTypeMissing.java");
@@ -1312,6 +1312,11 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/loadJava/kotlinSignature/error"), "kt", true);
}
@TestMetadata("ConflictingProjectionKind.kt")
public void testConflictingProjectionKind() throws Exception {
doTestNotCheckingPrimaryConstructors("compiler/testData/loadJava/kotlinSignature/error/ConflictingProjectionKind.kt");
}
@TestMetadata("ExplicitFieldGettersAndSetters.kt")
public void testExplicitFieldGettersAndSetters() throws Exception {
doTestNotCheckingPrimaryConstructors("compiler/testData/loadJava/kotlinSignature/error/ExplicitFieldGettersAndSetters.kt");
@@ -1337,6 +1342,11 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
doTestNotCheckingPrimaryConstructors("compiler/testData/loadJava/kotlinSignature/error/NotVarargReplacedWithVararg.kt");
}
@TestMetadata("RedundantProjectionKind.kt")
public void testRedundantProjectionKind() throws Exception {
doTestNotCheckingPrimaryConstructors("compiler/testData/loadJava/kotlinSignature/error/RedundantProjectionKind.kt");
}
@TestMetadata("ReturnTypeMissing.kt")
public void testReturnTypeMissing() throws Exception {
doTestNotCheckingPrimaryConstructors("compiler/testData/loadJava/kotlinSignature/error/ReturnTypeMissing.kt");