Tests for loading KotlinSignature annotation for constructors
#KT-2774 In Progress
This commit is contained in:
@@ -15,16 +15,13 @@
|
||||
*/
|
||||
package org.jetbrains.jet.jvm.compiler;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import java.io.File;
|
||||
import org.jetbrains.jet.JetTestUtils;
|
||||
import org.jetbrains.jet.test.InnerTestClasses;
|
||||
import org.jetbrains.jet.test.TestMetadata;
|
||||
|
||||
import org.jetbrains.jet.jvm.compiler.AbstractLoadJavaTest;
|
||||
import java.io.File;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.jet.jvm.compiler.AbstractLoadJavaTest}. DO NOT MODIFY MANUALLY */
|
||||
@TestMetadata("compiler/testData/loadJava")
|
||||
@@ -240,6 +237,26 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.jvm.compiler.AbstractLoadJavaTest", new File("compiler/testData/loadJava/kotlinSignature"), "java", true);
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithNewTypeParams.java")
|
||||
public void testConstructorWithNewTypeParams() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/ConstructorWithNewTypeParams.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithParentTypeParams.java")
|
||||
public void testConstructorWithParentTypeParams() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/ConstructorWithParentTypeParams.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithSeveralParams.java")
|
||||
public void testConstructorWithSeveralParams() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/ConstructorWithSeveralParams.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithoutParams.java")
|
||||
public void testConstructorWithoutParams() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/ConstructorWithoutParams.java");
|
||||
}
|
||||
|
||||
@TestMetadata("MethodWithFunctionTypes.java")
|
||||
public void testMethodWithFunctionTypes() throws Exception {
|
||||
doTest("compiler/testData/loadJava/kotlinSignature/MethodWithFunctionTypes.java");
|
||||
|
||||
+21
-4
@@ -15,16 +15,13 @@
|
||||
*/
|
||||
package org.jetbrains.jet.lang.resolve.lazy;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import java.io.File;
|
||||
import org.jetbrains.jet.JetTestUtils;
|
||||
import org.jetbrains.jet.test.InnerTestClasses;
|
||||
import org.jetbrains.jet.test.TestMetadata;
|
||||
|
||||
import org.jetbrains.jet.lang.resolve.lazy.AbstractLazyResolveNamespaceComparingTest;
|
||||
import java.io.File;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.jet.lang.resolve.lazy.AbstractLazyResolveNamespaceComparingTest}. DO NOT MODIFY MANUALLY */
|
||||
@InnerTestClasses({LazyResolveNamespaceComparingTestGenerated.LoadKotlin.class, LazyResolveNamespaceComparingTestGenerated.LoadJava.class, LazyResolveNamespaceComparingTestGenerated.NamespaceComparator.class})
|
||||
@@ -1125,6 +1122,26 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.lang.resolve.lazy.AbstractLazyResolveNamespaceComparingTest", new File("compiler/testData/loadJava/kotlinSignature"), "kt", true);
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithNewTypeParams.kt")
|
||||
public void testConstructorWithNewTypeParams() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/ConstructorWithNewTypeParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithParentTypeParams.kt")
|
||||
public void testConstructorWithParentTypeParams() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/ConstructorWithParentTypeParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithSeveralParams.kt")
|
||||
public void testConstructorWithSeveralParams() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/ConstructorWithSeveralParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithoutParams.kt")
|
||||
public void testConstructorWithoutParams() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/ConstructorWithoutParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MethodWithFunctionTypes.kt")
|
||||
public void testMethodWithFunctionTypes() throws Exception {
|
||||
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/MethodWithFunctionTypes.kt");
|
||||
|
||||
Reference in New Issue
Block a user