903 lines
44 KiB
Java
903 lines
44 KiB
Java
/*
|
|
* Copyright 2010-2013 JetBrains s.r.o.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
package org.jetbrains.jet.safeDelete;
|
|
|
|
import junit.framework.Assert;
|
|
import junit.framework.Test;
|
|
import junit.framework.TestSuite;
|
|
|
|
import java.io.File;
|
|
import java.util.regex.Pattern;
|
|
import org.jetbrains.jet.JetTestUtils;
|
|
import org.jetbrains.jet.test.InnerTestClasses;
|
|
import org.jetbrains.jet.test.TestMetadata;
|
|
|
|
import org.jetbrains.jet.safeDelete.AbstractJetSafeDeleteTest;
|
|
|
|
/** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
|
@SuppressWarnings("all")
|
|
@InnerTestClasses({JetSafeDeleteTestGenerated.KotlinClass.class, JetSafeDeleteTestGenerated.KotlinObject.class, JetSafeDeleteTestGenerated.KotlinFunction.class, JetSafeDeleteTestGenerated.KotlinFunctionWithJava.class, JetSafeDeleteTestGenerated.JavaFunctionWithKotlin.class, JetSafeDeleteTestGenerated.KotlinProperty.class, JetSafeDeleteTestGenerated.KotlinPropertyWithJava.class, JetSafeDeleteTestGenerated.JavaPropertyWithKotlin.class, JetSafeDeleteTestGenerated.KotlinTypeParameter.class, JetSafeDeleteTestGenerated.KotlinTypeParameterWithJava.class, JetSafeDeleteTestGenerated.KotlinValueParameter.class, JetSafeDeleteTestGenerated.KotlinValueParameterWithJava.class})
|
|
public class JetSafeDeleteTestGenerated extends AbstractJetSafeDeleteTest {
|
|
@TestMetadata("idea/testData/safeDelete/deleteClass/kotlinClass")
|
|
public static class KotlinClass extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinClass() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteClass/kotlinClass"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("class1.kt")
|
|
public void testClass1() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/class1.kt");
|
|
}
|
|
|
|
@TestMetadata("class2.kt")
|
|
public void testClass2() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/class2.kt");
|
|
}
|
|
|
|
@TestMetadata("classInString.kt")
|
|
public void testClassInString() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/classInString.kt");
|
|
}
|
|
|
|
@TestMetadata("localClass1.kt")
|
|
public void testLocalClass1() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/localClass1.kt");
|
|
}
|
|
|
|
@TestMetadata("localClass2.kt")
|
|
public void testLocalClass2() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/localClass2.kt");
|
|
}
|
|
|
|
@TestMetadata("nestedClass1.kt")
|
|
public void testNestedClass1() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/nestedClass1.kt");
|
|
}
|
|
|
|
@TestMetadata("nestedClass2.kt")
|
|
public void testNestedClass2() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/nestedClass2.kt");
|
|
}
|
|
|
|
@TestMetadata("noUsages.kt")
|
|
public void testNoUsages() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/noUsages.kt");
|
|
}
|
|
|
|
@TestMetadata("trait1.kt")
|
|
public void testTrait1() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/trait1.kt");
|
|
}
|
|
|
|
@TestMetadata("trait2.kt")
|
|
public void testTrait2() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/trait2.kt");
|
|
}
|
|
|
|
@TestMetadata("unsafeImport.kt")
|
|
public void testUnsafeImport() throws Exception {
|
|
doClassTest("idea/testData/safeDelete/deleteClass/kotlinClass/unsafeImport.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteObject/kotlinObject")
|
|
public static class KotlinObject extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinObject() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteObject/kotlinObject"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("localObject1.kt")
|
|
public void testLocalObject1() throws Exception {
|
|
doObjectTest("idea/testData/safeDelete/deleteObject/kotlinObject/localObject1.kt");
|
|
}
|
|
|
|
@TestMetadata("localObject2.kt")
|
|
public void testLocalObject2() throws Exception {
|
|
doObjectTest("idea/testData/safeDelete/deleteObject/kotlinObject/localObject2.kt");
|
|
}
|
|
|
|
@TestMetadata("nestedObject1.kt")
|
|
public void testNestedObject1() throws Exception {
|
|
doObjectTest("idea/testData/safeDelete/deleteObject/kotlinObject/nestedObject1.kt");
|
|
}
|
|
|
|
@TestMetadata("nestedObject2.kt")
|
|
public void testNestedObject2() throws Exception {
|
|
doObjectTest("idea/testData/safeDelete/deleteObject/kotlinObject/nestedObject2.kt");
|
|
}
|
|
|
|
@TestMetadata("noUsages.kt")
|
|
public void testNoUsages() throws Exception {
|
|
doObjectTest("idea/testData/safeDelete/deleteObject/kotlinObject/noUsages.kt");
|
|
}
|
|
|
|
@TestMetadata("object1.kt")
|
|
public void testObject1() throws Exception {
|
|
doObjectTest("idea/testData/safeDelete/deleteObject/kotlinObject/object1.kt");
|
|
}
|
|
|
|
@TestMetadata("object2.kt")
|
|
public void testObject2() throws Exception {
|
|
doObjectTest("idea/testData/safeDelete/deleteObject/kotlinObject/object2.kt");
|
|
}
|
|
|
|
@TestMetadata("unsafeImport.kt")
|
|
public void testUnsafeImport() throws Exception {
|
|
doObjectTest("idea/testData/safeDelete/deleteObject/kotlinObject/unsafeImport.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteFunction/kotlinFunction")
|
|
public static class KotlinFunction extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinFunction() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteFunction/kotlinFunction"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("fun1.kt")
|
|
public void testFun1() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/fun1.kt");
|
|
}
|
|
|
|
@TestMetadata("fun2.kt")
|
|
public void testFun2() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/fun2.kt");
|
|
}
|
|
|
|
@TestMetadata("implement1.kt")
|
|
public void testImplement1() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/implement1.kt");
|
|
}
|
|
|
|
@TestMetadata("implement2.kt")
|
|
public void testImplement2() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/implement2.kt");
|
|
}
|
|
|
|
@TestMetadata("localFun1.kt")
|
|
public void testLocalFun1() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/localFun1.kt");
|
|
}
|
|
|
|
@TestMetadata("localFun2.kt")
|
|
public void testLocalFun2() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/localFun2.kt");
|
|
}
|
|
|
|
@TestMetadata("noUsages.kt")
|
|
public void testNoUsages() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/noUsages.kt");
|
|
}
|
|
|
|
@TestMetadata("override1.kt")
|
|
public void testOverride1() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/override1.kt");
|
|
}
|
|
|
|
@TestMetadata("override2.kt")
|
|
public void testOverride2() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/override2.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement1.kt")
|
|
public void testOverrideAndImplement1() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/overrideAndImplement1.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement2.kt")
|
|
public void testOverrideAndImplement2() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/overrideAndImplement2.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement3.kt")
|
|
public void testOverrideAndImplement3() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/overrideAndImplement3.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideWithUsages.kt")
|
|
public void testOverrideWithUsages() throws Exception {
|
|
doFunctionTest("idea/testData/safeDelete/deleteFunction/kotlinFunction/overrideWithUsages.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava")
|
|
public static class KotlinFunctionWithJava extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinFunctionWithJava() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("implement1.kt")
|
|
public void testImplement1() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/implement1.kt");
|
|
}
|
|
|
|
@TestMetadata("implement2.kt")
|
|
public void testImplement2() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/implement2.kt");
|
|
}
|
|
|
|
@TestMetadata("implement3.kt")
|
|
public void testImplement3() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/implement3.kt");
|
|
}
|
|
|
|
@TestMetadata("implement4.kt")
|
|
public void testImplement4() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/implement4.kt");
|
|
}
|
|
|
|
@TestMetadata("override1.kt")
|
|
public void testOverride1() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/override1.kt");
|
|
}
|
|
|
|
@TestMetadata("override2.kt")
|
|
public void testOverride2() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/override2.kt");
|
|
}
|
|
|
|
@TestMetadata("override3.kt")
|
|
public void testOverride3() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/override3.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement1.kt")
|
|
public void testOverrideAndImplement1() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/overrideAndImplement1.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement2.kt")
|
|
public void testOverrideAndImplement2() throws Exception {
|
|
doFunctionTestWithJava("idea/testData/safeDelete/deleteFunction/kotlinFunctionWithJava/overrideAndImplement2.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteFunction/javaFunctionWithKotlin")
|
|
public static class JavaFunctionWithKotlin extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInJavaFunctionWithKotlin() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteFunction/javaFunctionWithKotlin"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("mixedHierarchy1.kt")
|
|
public void testMixedHierarchy1() throws Exception {
|
|
doJavaMethodTest("idea/testData/safeDelete/deleteFunction/javaFunctionWithKotlin/mixedHierarchy1.kt");
|
|
}
|
|
|
|
@TestMetadata("mixedHierarchy2.kt")
|
|
public void testMixedHierarchy2() throws Exception {
|
|
doJavaMethodTest("idea/testData/safeDelete/deleteFunction/javaFunctionWithKotlin/mixedHierarchy2.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteProperty/kotlinProperty")
|
|
public static class KotlinProperty extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinProperty() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteProperty/kotlinProperty"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("implement1.kt")
|
|
public void testImplement1() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/implement1.kt");
|
|
}
|
|
|
|
@TestMetadata("implement2.kt")
|
|
public void testImplement2() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/implement2.kt");
|
|
}
|
|
|
|
@TestMetadata("implement3.kt")
|
|
public void testImplement3() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/implement3.kt");
|
|
}
|
|
|
|
@TestMetadata("implement4.kt")
|
|
public void testImplement4() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/implement4.kt");
|
|
}
|
|
|
|
@TestMetadata("implement5.kt")
|
|
public void testImplement5() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/implement5.kt");
|
|
}
|
|
|
|
@TestMetadata("implement6.kt")
|
|
public void testImplement6() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/implement6.kt");
|
|
}
|
|
|
|
@TestMetadata("implement7.kt")
|
|
public void testImplement7() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/implement7.kt");
|
|
}
|
|
|
|
@TestMetadata("implement8.kt")
|
|
public void testImplement8() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/implement8.kt");
|
|
}
|
|
|
|
@TestMetadata("noUsages.kt")
|
|
public void testNoUsages() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/noUsages.kt");
|
|
}
|
|
|
|
@TestMetadata("override1.kt")
|
|
public void testOverride1() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/override1.kt");
|
|
}
|
|
|
|
@TestMetadata("override2.kt")
|
|
public void testOverride2() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/override2.kt");
|
|
}
|
|
|
|
@TestMetadata("override3.kt")
|
|
public void testOverride3() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/override3.kt");
|
|
}
|
|
|
|
@TestMetadata("override4.kt")
|
|
public void testOverride4() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/override4.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement1.kt")
|
|
public void testOverrideAndImplement1() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/overrideAndImplement1.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement2.kt")
|
|
public void testOverrideAndImplement2() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/overrideAndImplement2.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement3.kt")
|
|
public void testOverrideAndImplement3() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/overrideAndImplement3.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement4.kt")
|
|
public void testOverrideAndImplement4() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/overrideAndImplement4.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideWithUsages.kt")
|
|
public void testOverrideWithUsages() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/overrideWithUsages.kt");
|
|
}
|
|
|
|
@TestMetadata("property1.kt")
|
|
public void testProperty1() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/property1.kt");
|
|
}
|
|
|
|
@TestMetadata("property2.kt")
|
|
public void testProperty2() throws Exception {
|
|
doPropertyTest("idea/testData/safeDelete/deleteProperty/kotlinProperty/property2.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava")
|
|
public static class KotlinPropertyWithJava extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinPropertyWithJava() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("implement1.kt")
|
|
public void testImplement1() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/implement1.kt");
|
|
}
|
|
|
|
@TestMetadata("implement2.kt")
|
|
public void testImplement2() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/implement2.kt");
|
|
}
|
|
|
|
@TestMetadata("implement3.kt")
|
|
public void testImplement3() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/implement3.kt");
|
|
}
|
|
|
|
@TestMetadata("implement4.kt")
|
|
public void testImplement4() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/implement4.kt");
|
|
}
|
|
|
|
@TestMetadata("override1.kt")
|
|
public void testOverride1() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/override1.kt");
|
|
}
|
|
|
|
@TestMetadata("override2.kt")
|
|
public void testOverride2() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/override2.kt");
|
|
}
|
|
|
|
@TestMetadata("override3.kt")
|
|
public void testOverride3() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/override3.kt");
|
|
}
|
|
|
|
@TestMetadata("override4.kt")
|
|
public void testOverride4() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/override4.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement1.kt")
|
|
public void testOverrideAndImplement1() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/overrideAndImplement1.kt");
|
|
}
|
|
|
|
@TestMetadata("overrideAndImplement2.kt")
|
|
public void testOverrideAndImplement2() throws Exception {
|
|
doPropertyTestWithJava("idea/testData/safeDelete/deleteProperty/kotlinPropertyWithJava/overrideAndImplement2.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteProperty/javaPropertyWithKotlin")
|
|
public static class JavaPropertyWithKotlin extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInJavaPropertyWithKotlin() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteProperty/javaPropertyWithKotlin"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("middleJava1.kt")
|
|
public void testMiddleJava1() throws Exception {
|
|
doJavaPropertyTest("idea/testData/safeDelete/deleteProperty/javaPropertyWithKotlin/middleJava1.kt");
|
|
}
|
|
|
|
@TestMetadata("middleJava2.kt")
|
|
public void testMiddleJava2() throws Exception {
|
|
doJavaPropertyTest("idea/testData/safeDelete/deleteProperty/javaPropertyWithKotlin/middleJava2.kt");
|
|
}
|
|
|
|
@TestMetadata("middleJava3.kt")
|
|
public void testMiddleJava3() throws Exception {
|
|
doJavaPropertyTest("idea/testData/safeDelete/deleteProperty/javaPropertyWithKotlin/middleJava3.kt");
|
|
}
|
|
|
|
@TestMetadata("middleJava4.kt")
|
|
public void testMiddleJava4() throws Exception {
|
|
doJavaPropertyTest("idea/testData/safeDelete/deleteProperty/javaPropertyWithKotlin/middleJava4.kt");
|
|
}
|
|
|
|
@TestMetadata("middleJava5.kt")
|
|
public void testMiddleJava5() throws Exception {
|
|
doJavaPropertyTest("idea/testData/safeDelete/deleteProperty/javaPropertyWithKotlin/middleJava5.kt");
|
|
}
|
|
|
|
@TestMetadata("middleJava6.kt")
|
|
public void testMiddleJava6() throws Exception {
|
|
doJavaPropertyTest("idea/testData/safeDelete/deleteProperty/javaPropertyWithKotlin/middleJava6.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter")
|
|
public static class KotlinTypeParameter extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinTypeParameter() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("internalUsages1.kt")
|
|
public void testInternalUsages1() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/internalUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsages2.kt")
|
|
public void testInternalUsages2() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/internalUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsages3.kt")
|
|
public void testInternalUsages3() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/internalUsages3.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsages4.kt")
|
|
public void testInternalUsages4() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/internalUsages4.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsages5.kt")
|
|
public void testInternalUsages5() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/internalUsages5.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsagesWithConstraint1.kt")
|
|
public void testSafeUsagesWithConstraint1() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/safeUsagesWithConstraint1.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsagesWithConstraint2.kt")
|
|
public void testSafeUsagesWithConstraint2() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/safeUsagesWithConstraint2.kt");
|
|
}
|
|
|
|
@TestMetadata("subclass1.kt")
|
|
public void testSubclass1() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subclass1.kt");
|
|
}
|
|
|
|
@TestMetadata("subclass2.kt")
|
|
public void testSubclass2() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subclass2.kt");
|
|
}
|
|
|
|
@TestMetadata("subst1.kt")
|
|
public void testSubst1() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subst1.kt");
|
|
}
|
|
|
|
@TestMetadata("subst2.kt")
|
|
public void testSubst2() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subst2.kt");
|
|
}
|
|
|
|
@TestMetadata("subst3.kt")
|
|
public void testSubst3() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subst3.kt");
|
|
}
|
|
|
|
@TestMetadata("subst4.kt")
|
|
public void testSubst4() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subst4.kt");
|
|
}
|
|
|
|
@TestMetadata("subst5.kt")
|
|
public void testSubst5() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subst5.kt");
|
|
}
|
|
|
|
@TestMetadata("subst6.kt")
|
|
public void testSubst6() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subst6.kt");
|
|
}
|
|
|
|
@TestMetadata("subst7.kt")
|
|
public void testSubst7() throws Exception {
|
|
doTypeParameterTest("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameter/subst7.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava")
|
|
public static class KotlinTypeParameterWithJava extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinTypeParameterWithJava() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("internalUsages1.kt")
|
|
public void testInternalUsages1() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/internalUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsages2.kt")
|
|
public void testInternalUsages2() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/internalUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsages3.kt")
|
|
public void testInternalUsages3() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/internalUsages3.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsages4.kt")
|
|
public void testInternalUsages4() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/internalUsages4.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsages5.kt")
|
|
public void testInternalUsages5() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/internalUsages5.kt");
|
|
}
|
|
|
|
@TestMetadata("rawType.kt")
|
|
public void testRawType() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/rawType.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsagesWithConstraint1.kt")
|
|
public void testSafeUsagesWithConstraint1() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/safeUsagesWithConstraint1.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsagesWithConstraint2.kt")
|
|
public void testSafeUsagesWithConstraint2() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/safeUsagesWithConstraint2.kt");
|
|
}
|
|
|
|
@TestMetadata("subclass1.kt")
|
|
public void testSubclass1() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subclass1.kt");
|
|
}
|
|
|
|
@TestMetadata("subclass2.kt")
|
|
public void testSubclass2() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subclass2.kt");
|
|
}
|
|
|
|
@TestMetadata("subst1.kt")
|
|
public void testSubst1() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subst1.kt");
|
|
}
|
|
|
|
@TestMetadata("subst2.kt")
|
|
public void testSubst2() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subst2.kt");
|
|
}
|
|
|
|
@TestMetadata("subst3.kt")
|
|
public void testSubst3() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subst3.kt");
|
|
}
|
|
|
|
@TestMetadata("subst4.kt")
|
|
public void testSubst4() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subst4.kt");
|
|
}
|
|
|
|
@TestMetadata("subst5.kt")
|
|
public void testSubst5() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subst5.kt");
|
|
}
|
|
|
|
@TestMetadata("subst6.kt")
|
|
public void testSubst6() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subst6.kt");
|
|
}
|
|
|
|
@TestMetadata("subst7.kt")
|
|
public void testSubst7() throws Exception {
|
|
doTypeParameterTestWithJava("idea/testData/safeDelete/deleteTypeParameter/kotlinTypeParameterWithJava/subst7.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter")
|
|
public static class KotlinValueParameter extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinValueParameter() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages1.kt")
|
|
public void testHierarchyWithSafeUsages1() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithSafeUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages2.kt")
|
|
public void testHierarchyWithSafeUsages2() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithSafeUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages3.kt")
|
|
public void testHierarchyWithSafeUsages3() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithSafeUsages3.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages4.kt")
|
|
public void testHierarchyWithSafeUsages4() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithSafeUsages4.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages5.kt")
|
|
public void testHierarchyWithSafeUsages5() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithSafeUsages5.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages1.kt")
|
|
public void testHierarchyWithUnsafeUsages1() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithUnsafeUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages2.kt")
|
|
public void testHierarchyWithUnsafeUsages2() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithUnsafeUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages3.kt")
|
|
public void testHierarchyWithUnsafeUsages3() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithUnsafeUsages3.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages4.kt")
|
|
public void testHierarchyWithUnsafeUsages4() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithUnsafeUsages4.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages5.kt")
|
|
public void testHierarchyWithUnsafeUsages5() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithUnsafeUsages5.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages6.kt")
|
|
public void testHierarchyWithUnsafeUsages6() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithUnsafeUsages6.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages7.kt")
|
|
public void testHierarchyWithUnsafeUsages7() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithUnsafeUsages7.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages8.kt")
|
|
public void testHierarchyWithUnsafeUsages8() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/hierarchyWithUnsafeUsages8.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsage1.kt")
|
|
public void testInternalUsage1() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/internalUsage1.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsage2.kt")
|
|
public void testInternalUsage2() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/internalUsage2.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsages1.kt")
|
|
public void testSafeUsages1() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/safeUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsages2.kt")
|
|
public void testSafeUsages2() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/safeUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsages3.kt")
|
|
public void testSafeUsages3() throws Exception {
|
|
doValueParameterTest("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameter/safeUsages3.kt");
|
|
}
|
|
|
|
}
|
|
|
|
@TestMetadata("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava")
|
|
public static class KotlinValueParameterWithJava extends AbstractJetSafeDeleteTest {
|
|
public void testAllFilesPresentInKotlinValueParameterWithJava() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages1.kt")
|
|
public void testHierarchyWithSafeUsages1() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithSafeUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages2.kt")
|
|
public void testHierarchyWithSafeUsages2() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithSafeUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages3.kt")
|
|
public void testHierarchyWithSafeUsages3() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithSafeUsages3.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages4.kt")
|
|
public void testHierarchyWithSafeUsages4() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithSafeUsages4.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithSafeUsages5.kt")
|
|
public void testHierarchyWithSafeUsages5() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithSafeUsages5.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages1.kt")
|
|
public void testHierarchyWithUnsafeUsages1() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithUnsafeUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages2.kt")
|
|
public void testHierarchyWithUnsafeUsages2() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithUnsafeUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages3.kt")
|
|
public void testHierarchyWithUnsafeUsages3() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithUnsafeUsages3.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages4.kt")
|
|
public void testHierarchyWithUnsafeUsages4() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithUnsafeUsages4.kt");
|
|
}
|
|
|
|
@TestMetadata("hierarchyWithUnsafeUsages5.kt")
|
|
public void testHierarchyWithUnsafeUsages5() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/hierarchyWithUnsafeUsages5.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsage1.kt")
|
|
public void testInternalUsage1() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/internalUsage1.kt");
|
|
}
|
|
|
|
@TestMetadata("internalUsage2.kt")
|
|
public void testInternalUsage2() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/internalUsage2.kt");
|
|
}
|
|
|
|
@TestMetadata("mixedHierarchy1.kt")
|
|
public void testMixedHierarchy1() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/mixedHierarchy1.kt");
|
|
}
|
|
|
|
@TestMetadata("mixedHierarchy2.kt")
|
|
public void testMixedHierarchy2() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/mixedHierarchy2.kt");
|
|
}
|
|
|
|
@TestMetadata("mixedHierarchy3.kt")
|
|
public void testMixedHierarchy3() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/mixedHierarchy3.kt");
|
|
}
|
|
|
|
@TestMetadata("mixedHierarchyWithUnsafeUsages1.kt")
|
|
public void testMixedHierarchyWithUnsafeUsages1() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/mixedHierarchyWithUnsafeUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("mixedHierarchyWithUnsafeUsages2.kt")
|
|
public void testMixedHierarchyWithUnsafeUsages2() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/mixedHierarchyWithUnsafeUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("mixedHierarchyWithUnsafeUsages3.kt")
|
|
public void testMixedHierarchyWithUnsafeUsages3() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/mixedHierarchyWithUnsafeUsages3.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsages1.kt")
|
|
public void testSafeUsages1() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/safeUsages1.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsages2.kt")
|
|
public void testSafeUsages2() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/safeUsages2.kt");
|
|
}
|
|
|
|
@TestMetadata("safeUsages3.kt")
|
|
public void testSafeUsages3() throws Exception {
|
|
doValueParameterTestWithJava("idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/safeUsages3.kt");
|
|
}
|
|
|
|
}
|
|
|
|
public static Test suite() {
|
|
TestSuite suite = new TestSuite("JetSafeDeleteTestGenerated");
|
|
suite.addTestSuite(KotlinClass.class);
|
|
suite.addTestSuite(KotlinObject.class);
|
|
suite.addTestSuite(KotlinFunction.class);
|
|
suite.addTestSuite(KotlinFunctionWithJava.class);
|
|
suite.addTestSuite(JavaFunctionWithKotlin.class);
|
|
suite.addTestSuite(KotlinProperty.class);
|
|
suite.addTestSuite(KotlinPropertyWithJava.class);
|
|
suite.addTestSuite(JavaPropertyWithKotlin.class);
|
|
suite.addTestSuite(KotlinTypeParameter.class);
|
|
suite.addTestSuite(KotlinTypeParameterWithJava.class);
|
|
suite.addTestSuite(KotlinValueParameter.class);
|
|
suite.addTestSuite(KotlinValueParameterWithJava.class);
|
|
return suite;
|
|
}
|
|
}
|