|
|
|
@@ -2825,6 +2825,24 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("beforeRemoveUselessCast.kt")
|
|
|
|
|
public void testRemoveUselessCast() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/expressions/beforeRemoveUselessCast.kt");
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("beforeRemoveUselessCastUnderSmartCast.kt")
|
|
|
|
|
public void testRemoveUselessCastUnderSmartCast() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/expressions/beforeRemoveUselessCastUnderSmartCast.kt");
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("beforeReplaceUselessCastWithStaticAssert.kt")
|
|
|
|
|
public void testReplaceUselessCastWithStaticAssert() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/expressions/beforeReplaceUselessCastWithStaticAssert.kt");
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("beforeUnnecessaryNonNullAssertion1.kt")
|
|
|
|
|
public void testUnnecessaryNonNullAssertion1() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/expressions/beforeUnnecessaryNonNullAssertion1.kt");
|
|
|
|
@@ -2867,12 +2885,6 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("beforeUselessCast.kt")
|
|
|
|
|
public void testUselessCast() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/expressions/beforeUselessCast.kt");
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("beforeUselessCastStaticAssertIsFine.kt")
|
|
|
|
|
public void testUselessCastStaticAssertIsFine() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/expressions/beforeUselessCastStaticAssertIsFine.kt");
|
|
|
|
@@ -4954,15 +4966,15 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("beforeNonLocalReturn.kt")
|
|
|
|
|
public void testNonLocalReturn() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeNonLocalReturn.kt");
|
|
|
|
|
@TestMetadata("beforeNonLocalReturnRuntime.kt")
|
|
|
|
|
public void testNonLocalReturnRuntime() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeNonLocalReturnRuntime.kt");
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("beforeNonLocalReturnWithLabel.kt")
|
|
|
|
|
public void testNonLocalReturnWithLabel() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeNonLocalReturnWithLabel.kt");
|
|
|
|
|
@TestMetadata("beforeNonLocalReturnWithLabelRuntime.kt")
|
|
|
|
|
public void testNonLocalReturnWithLabelRuntime() throws Exception {
|
|
|
|
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeNonLocalReturnWithLabelRuntime.kt");
|
|
|
|
|
doTest(fileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|