Renamed CodeTransformationTest -> IntentionTest.

This commit is contained in:
Evgeny Gerashchenko
2014-07-07 21:11:47 +04:00
parent fda7aeecfb
commit 62bb3f8782
3 changed files with 80 additions and 80 deletions
@@ -55,7 +55,7 @@ import org.jetbrains.jet.plugin.quickfix.AbstractQuickFixMultiFileTest
import org.jetbrains.jet.plugin.highlighter.AbstractHighlightingTest
import org.jetbrains.jet.plugin.folding.AbstractKotlinFoldingTest
import org.jetbrains.jet.plugin.codeInsight.surroundWith.AbstractSurroundWithTest
import org.jetbrains.jet.plugin.intentions.AbstractCodeTransformationTest
import org.jetbrains.jet.plugin.intentions.AbstractIntentionTest
import org.jetbrains.jet.plugin.AbstractSmartSelectionTest
import org.jetbrains.jet.plugin.hierarchy.AbstractHierarchyTest
import org.jetbrains.jet.plugin.codeInsight.moveUpDown.AbstractCodeMoverTest
@@ -381,7 +381,7 @@ fun main(args: Array<String>) {
model("joinLines", testMethod = "doTest")
}
testClass(javaClass<AbstractCodeTransformationTest>()) {
testClass(javaClass<AbstractIntentionTest>()) {
model("intentions", testMethod = "doTest")
}
@@ -36,7 +36,7 @@ import org.junit.Assert;
import java.io.File;
import java.util.List;
public abstract class AbstractCodeTransformationTest extends LightCodeInsightTestCase {
public abstract class AbstractIntentionTest extends LightCodeInsightTestCase {
private static IntentionAction createIntention(File testDataFile) throws Exception {
List<File> candidateFiles = Lists.newArrayList();
@@ -26,19 +26,19 @@ import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.plugin.intentions.AbstractCodeTransformationTest;
import org.jetbrains.jet.plugin.intentions.AbstractIntentionTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("idea/testData/intentions")
@InnerTestClasses({CodeTransformationTestGenerated.AddBraces.class, CodeTransformationTestGenerated.AttributeCallReplacements.class, CodeTransformationTestGenerated.Branched.class, CodeTransformationTestGenerated.ConvertAssertToIf.class, CodeTransformationTestGenerated.ConvertIfToAssert.class, CodeTransformationTestGenerated.ConvertNegatedBooleanSequence.class, CodeTransformationTestGenerated.ConvertNegatedExpressionWithDemorgansLaw.class, CodeTransformationTestGenerated.ConvertToBlockBody.class, CodeTransformationTestGenerated.ConvertToConcatenatedStringIntention.class, CodeTransformationTestGenerated.ConvertToExpressionBody.class, CodeTransformationTestGenerated.ConvertToForEachFunctionCall.class, CodeTransformationTestGenerated.ConvertToForEachLoop.class, CodeTransformationTestGenerated.ConvertToStringTemplateIntention.class, CodeTransformationTestGenerated.Declarations.class, CodeTransformationTestGenerated.InsertCurlyBracesToTemplate.class, CodeTransformationTestGenerated.InsertExplicitTypeArguments.class, CodeTransformationTestGenerated.InvertIfCondition.class, CodeTransformationTestGenerated.MakeTypeExplicitInLambda.class, CodeTransformationTestGenerated.MakeTypeImplicitInLambda.class, CodeTransformationTestGenerated.MoveLambdaInsideParentheses.class, CodeTransformationTestGenerated.MoveLambdaOutsideParentheses.class, CodeTransformationTestGenerated.OperatorToFunction.class, CodeTransformationTestGenerated.ReconstructedType.class, CodeTransformationTestGenerated.RemoveBraces.class, CodeTransformationTestGenerated.RemoveCurlyBracesFromTemplate.class, CodeTransformationTestGenerated.RemoveExplicitTypeArguments.class, CodeTransformationTestGenerated.RemoveUnnecessaryParentheses.class, CodeTransformationTestGenerated.ReplaceExplicitFunctionLiteralParamWithIt.class, CodeTransformationTestGenerated.ReplaceItWithExplicitFunctionLiteralParam.class, CodeTransformationTestGenerated.ReplaceWithDotQualifiedMethodCall.class, CodeTransformationTestGenerated.ReplaceWithInfixFunctionCall.class, CodeTransformationTestGenerated.ReplaceWithOperatorAssign.class, CodeTransformationTestGenerated.ReplaceWithTraditionalAssignment.class, CodeTransformationTestGenerated.SimplifyBooleanWithConstants.class, CodeTransformationTestGenerated.SimplifyNegatedBinaryExpressionIntention.class, CodeTransformationTestGenerated.SpecifyType.class, CodeTransformationTestGenerated.SplitIf.class, CodeTransformationTestGenerated.SwapBinaryExpression.class})
public class CodeTransformationTestGenerated extends AbstractCodeTransformationTest {
@InnerTestClasses({IntentionTestGenerated.AddBraces.class, IntentionTestGenerated.AttributeCallReplacements.class, IntentionTestGenerated.Branched.class, IntentionTestGenerated.ConvertAssertToIf.class, IntentionTestGenerated.ConvertIfToAssert.class, IntentionTestGenerated.ConvertNegatedBooleanSequence.class, IntentionTestGenerated.ConvertNegatedExpressionWithDemorgansLaw.class, IntentionTestGenerated.ConvertToBlockBody.class, IntentionTestGenerated.ConvertToConcatenatedStringIntention.class, IntentionTestGenerated.ConvertToExpressionBody.class, IntentionTestGenerated.ConvertToForEachFunctionCall.class, IntentionTestGenerated.ConvertToForEachLoop.class, IntentionTestGenerated.ConvertToStringTemplateIntention.class, IntentionTestGenerated.Declarations.class, IntentionTestGenerated.InsertCurlyBracesToTemplate.class, IntentionTestGenerated.InsertExplicitTypeArguments.class, IntentionTestGenerated.InvertIfCondition.class, IntentionTestGenerated.MakeTypeExplicitInLambda.class, IntentionTestGenerated.MakeTypeImplicitInLambda.class, IntentionTestGenerated.MoveLambdaInsideParentheses.class, IntentionTestGenerated.MoveLambdaOutsideParentheses.class, IntentionTestGenerated.OperatorToFunction.class, IntentionTestGenerated.ReconstructedType.class, IntentionTestGenerated.RemoveBraces.class, IntentionTestGenerated.RemoveCurlyBracesFromTemplate.class, IntentionTestGenerated.RemoveExplicitTypeArguments.class, IntentionTestGenerated.RemoveUnnecessaryParentheses.class, IntentionTestGenerated.ReplaceExplicitFunctionLiteralParamWithIt.class, IntentionTestGenerated.ReplaceItWithExplicitFunctionLiteralParam.class, IntentionTestGenerated.ReplaceWithDotQualifiedMethodCall.class, IntentionTestGenerated.ReplaceWithInfixFunctionCall.class, IntentionTestGenerated.ReplaceWithOperatorAssign.class, IntentionTestGenerated.ReplaceWithTraditionalAssignment.class, IntentionTestGenerated.SimplifyBooleanWithConstants.class, IntentionTestGenerated.SimplifyNegatedBinaryExpressionIntention.class, IntentionTestGenerated.SpecifyType.class, IntentionTestGenerated.SplitIf.class, IntentionTestGenerated.SwapBinaryExpression.class})
public class IntentionTestGenerated extends AbstractIntentionTest {
public void testAllFilesPresentInIntentions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("idea/testData/intentions/addBraces")
public static class AddBraces extends AbstractCodeTransformationTest {
public static class AddBraces extends AbstractIntentionTest {
@TestMetadata("addBracesForDoWhile.kt")
public void testAddBracesForDoWhile() throws Exception {
doTest("idea/testData/intentions/addBraces/addBracesForDoWhile.kt");
@@ -87,13 +87,13 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/attributeCallReplacements")
@InnerTestClasses({AttributeCallReplacements.ReplaceBinaryInfixIntention.class, AttributeCallReplacements.ReplaceContainsIntention.class, AttributeCallReplacements.ReplaceGetIntention.class, AttributeCallReplacements.ReplaceInvokeIntention.class, AttributeCallReplacements.ReplaceUnaryPrefixIntention.class})
public static class AttributeCallReplacements extends AbstractCodeTransformationTest {
public static class AttributeCallReplacements extends AbstractIntentionTest {
public void testAllFilesPresentInAttributeCallReplacements() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/attributeCallReplacements"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention")
public static class ReplaceBinaryInfixIntention extends AbstractCodeTransformationTest {
public static class ReplaceBinaryInfixIntention extends AbstractIntentionTest {
@TestMetadata("acceptableVararg1.kt")
public void testAcceptableVararg1() throws Exception {
doTest("idea/testData/intentions/attributeCallReplacements/replaceBinaryInfixIntention/acceptableVararg1.kt");
@@ -186,7 +186,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention")
public static class ReplaceContainsIntention extends AbstractCodeTransformationTest {
public static class ReplaceContainsIntention extends AbstractIntentionTest {
@TestMetadata("acceptableVararg.kt")
public void testAcceptableVararg() throws Exception {
doTest("idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/acceptableVararg.kt");
@@ -285,7 +285,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceGetIntention")
@InnerTestClasses({})
public static class ReplaceGetIntention extends AbstractCodeTransformationTest {
public static class ReplaceGetIntention extends AbstractIntentionTest {
@TestMetadata("acceptableVararg.kt")
public void testAcceptableVararg() throws Exception {
doTest("idea/testData/intentions/attributeCallReplacements/replaceGetIntention/acceptableVararg.kt");
@@ -378,7 +378,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention")
public static class ReplaceInvokeIntention extends AbstractCodeTransformationTest {
public static class ReplaceInvokeIntention extends AbstractIntentionTest {
public void testAllFilesPresentInReplaceInvokeIntention() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -436,7 +436,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention")
public static class ReplaceUnaryPrefixIntention extends AbstractCodeTransformationTest {
public static class ReplaceUnaryPrefixIntention extends AbstractIntentionTest {
@TestMetadata("acceptableVararg.kt")
public void testAcceptableVararg() throws Exception {
doTest("idea/testData/intentions/attributeCallReplacements/replaceUnaryPrefixIntention/acceptableVararg.kt");
@@ -522,13 +522,13 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/branched")
@InnerTestClasses({Branched.DoubleBangToIfThen.class, Branched.ElvisToIfThen.class, Branched.Folding.class, Branched.IfThenToDoubleBang.class, Branched.IfThenToElvis.class, Branched.IfThenToSafeAccess.class, Branched.IfWhen.class, Branched.SafeAccessToIfThen.class, Branched.Unfolding.class, Branched.When.class})
public static class Branched extends AbstractCodeTransformationTest {
public static class Branched extends AbstractIntentionTest {
public void testAllFilesPresentInBranched() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("idea/testData/intentions/branched/doubleBangToIfThen")
public static class DoubleBangToIfThen extends AbstractCodeTransformationTest {
public static class DoubleBangToIfThen extends AbstractIntentionTest {
public void testAllFilesPresentInDoubleBangToIfThen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/doubleBangToIfThen"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -596,7 +596,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/elvisToIfThen")
public static class ElvisToIfThen extends AbstractCodeTransformationTest {
public static class ElvisToIfThen extends AbstractIntentionTest {
public void testAllFilesPresentInElvisToIfThen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/elvisToIfThen"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -660,13 +660,13 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/branched/folding")
@InnerTestClasses({Folding.IfToAssignment.class, Folding.IfToReturn.class, Folding.IfToReturnAsymmetrically.class, Folding.WhenToAssignment.class, Folding.WhenToReturn.class})
public static class Folding extends AbstractCodeTransformationTest {
public static class Folding extends AbstractIntentionTest {
public void testAllFilesPresentInFolding() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/folding"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("idea/testData/intentions/branched/folding/ifToAssignment")
public static class IfToAssignment extends AbstractCodeTransformationTest {
public static class IfToAssignment extends AbstractIntentionTest {
public void testAllFilesPresentInIfToAssignment() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/folding/ifToAssignment"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -719,7 +719,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/folding/ifToReturn")
public static class IfToReturn extends AbstractCodeTransformationTest {
public static class IfToReturn extends AbstractIntentionTest {
public void testAllFilesPresentInIfToReturn() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/folding/ifToReturn"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -742,7 +742,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/folding/ifToReturnAsymmetrically")
public static class IfToReturnAsymmetrically extends AbstractCodeTransformationTest {
public static class IfToReturnAsymmetrically extends AbstractIntentionTest {
public void testAllFilesPresentInIfToReturnAsymmetrically() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/folding/ifToReturnAsymmetrically"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -765,7 +765,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/folding/whenToAssignment")
public static class WhenToAssignment extends AbstractCodeTransformationTest {
public static class WhenToAssignment extends AbstractIntentionTest {
public void testAllFilesPresentInWhenToAssignment() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/folding/whenToAssignment"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -803,7 +803,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/folding/whenToReturn")
public static class WhenToReturn extends AbstractCodeTransformationTest {
public static class WhenToReturn extends AbstractIntentionTest {
public void testAllFilesPresentInWhenToReturn() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/folding/whenToReturn"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -838,7 +838,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/ifThenToDoubleBang")
public static class IfThenToDoubleBang extends AbstractCodeTransformationTest {
public static class IfThenToDoubleBang extends AbstractIntentionTest {
@TestMetadata("acceptableEmptyElseBlockForStatement.kt")
public void testAcceptableEmptyElseBlockForStatement() throws Exception {
doTest("idea/testData/intentions/branched/ifThenToDoubleBang/acceptableEmptyElseBlockForStatement.kt");
@@ -1017,7 +1017,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/branched/ifThenToElvis")
@InnerTestClasses({})
public static class IfThenToElvis extends AbstractCodeTransformationTest {
public static class IfThenToElvis extends AbstractIntentionTest {
public void testAllFilesPresentInIfThenToElvis() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/ifThenToElvis"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1186,7 +1186,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/branched/ifThenToSafeAccess")
@InnerTestClasses({})
public static class IfThenToSafeAccess extends AbstractCodeTransformationTest {
public static class IfThenToSafeAccess extends AbstractIntentionTest {
public void testAllFilesPresentInIfThenToSafeAccess() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/ifThenToSafeAccess"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1370,13 +1370,13 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/branched/ifWhen")
@InnerTestClasses({IfWhen.IfToWhen.class, IfWhen.WhenToIf.class})
public static class IfWhen extends AbstractCodeTransformationTest {
public static class IfWhen extends AbstractIntentionTest {
public void testAllFilesPresentInIfWhen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/ifWhen"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("idea/testData/intentions/branched/ifWhen/ifToWhen")
public static class IfToWhen extends AbstractCodeTransformationTest {
public static class IfToWhen extends AbstractIntentionTest {
public void testAllFilesPresentInIfToWhen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/ifWhen/ifToWhen"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1434,7 +1434,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/ifWhen/whenToIf")
public static class WhenToIf extends AbstractCodeTransformationTest {
public static class WhenToIf extends AbstractIntentionTest {
public void testAllFilesPresentInWhenToIf() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/ifWhen/whenToIf"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1506,7 +1506,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/safeAccessToIfThen")
public static class SafeAccessToIfThen extends AbstractCodeTransformationTest {
public static class SafeAccessToIfThen extends AbstractIntentionTest {
public void testAllFilesPresentInSafeAccessToIfThen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/safeAccessToIfThen"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1625,13 +1625,13 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/branched/unfolding")
@InnerTestClasses({Unfolding.AssignmentToIf.class, Unfolding.AssignmentToWhen.class, Unfolding.PropertyToIf.class, Unfolding.PropertyToWhen.class, Unfolding.ReturnToIf.class, Unfolding.ReturnToWhen.class})
public static class Unfolding extends AbstractCodeTransformationTest {
public static class Unfolding extends AbstractIntentionTest {
public void testAllFilesPresentInUnfolding() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/unfolding"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("idea/testData/intentions/branched/unfolding/assignmentToIf")
public static class AssignmentToIf extends AbstractCodeTransformationTest {
public static class AssignmentToIf extends AbstractIntentionTest {
public void testAllFilesPresentInAssignmentToIf() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/unfolding/assignmentToIf"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1674,7 +1674,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/unfolding/assignmentToWhen")
public static class AssignmentToWhen extends AbstractCodeTransformationTest {
public static class AssignmentToWhen extends AbstractIntentionTest {
public void testAllFilesPresentInAssignmentToWhen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/unfolding/assignmentToWhen"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1702,7 +1702,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/unfolding/propertyToIf")
public static class PropertyToIf extends AbstractCodeTransformationTest {
public static class PropertyToIf extends AbstractIntentionTest {
public void testAllFilesPresentInPropertyToIf() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/unfolding/propertyToIf"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1755,7 +1755,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/unfolding/propertyToWhen")
public static class PropertyToWhen extends AbstractCodeTransformationTest {
public static class PropertyToWhen extends AbstractIntentionTest {
public void testAllFilesPresentInPropertyToWhen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/unfolding/propertyToWhen"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1798,7 +1798,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/unfolding/returnToIf")
public static class ReturnToIf extends AbstractCodeTransformationTest {
public static class ReturnToIf extends AbstractIntentionTest {
public void testAllFilesPresentInReturnToIf() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/unfolding/returnToIf"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1821,7 +1821,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/unfolding/returnToWhen")
public static class ReturnToWhen extends AbstractCodeTransformationTest {
public static class ReturnToWhen extends AbstractIntentionTest {
public void testAllFilesPresentInReturnToWhen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/unfolding/returnToWhen"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1858,13 +1858,13 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/branched/when")
@InnerTestClasses({When.EliminateSubject.class, When.Flatten.class, When.IntroduceSubject.class, When.Merge.class})
public static class When extends AbstractCodeTransformationTest {
public static class When extends AbstractIntentionTest {
public void testAllFilesPresentInWhen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/when"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("idea/testData/intentions/branched/when/eliminateSubject")
public static class EliminateSubject extends AbstractCodeTransformationTest {
public static class EliminateSubject extends AbstractIntentionTest {
public void testAllFilesPresentInEliminateSubject() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/when/eliminateSubject"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1912,7 +1912,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/when/flatten")
public static class Flatten extends AbstractCodeTransformationTest {
public static class Flatten extends AbstractIntentionTest {
public void testAllFilesPresentInFlatten() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/when/flatten"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1935,7 +1935,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/when/introduceSubject")
public static class IntroduceSubject extends AbstractCodeTransformationTest {
public static class IntroduceSubject extends AbstractIntentionTest {
public void testAllFilesPresentInIntroduceSubject() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/when/introduceSubject"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1998,7 +1998,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/branched/when/merge")
public static class Merge extends AbstractCodeTransformationTest {
public static class Merge extends AbstractIntentionTest {
public void testAllFilesPresentInMerge() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/branched/when/merge"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2119,7 +2119,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertAssertToIf")
public static class ConvertAssertToIf extends AbstractCodeTransformationTest {
public static class ConvertAssertToIf extends AbstractIntentionTest {
public void testAllFilesPresentInConvertAssertToIf() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertAssertToIf"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2217,7 +2217,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertIfToAssert")
public static class ConvertIfToAssert extends AbstractCodeTransformationTest {
public static class ConvertIfToAssert extends AbstractIntentionTest {
public void testAllFilesPresentInConvertIfToAssert() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertIfToAssert"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2290,7 +2290,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertNegatedBooleanSequence")
public static class ConvertNegatedBooleanSequence extends AbstractCodeTransformationTest {
public static class ConvertNegatedBooleanSequence extends AbstractIntentionTest {
public void testAllFilesPresentInConvertNegatedBooleanSequence() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertNegatedBooleanSequence"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2348,7 +2348,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertNegatedExpressionWithDemorgansLaw")
public static class ConvertNegatedExpressionWithDemorgansLaw extends AbstractCodeTransformationTest {
public static class ConvertNegatedExpressionWithDemorgansLaw extends AbstractIntentionTest {
public void testAllFilesPresentInConvertNegatedExpressionWithDemorgansLaw() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertNegatedExpressionWithDemorgansLaw"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2426,7 +2426,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertToBlockBody")
public static class ConvertToBlockBody extends AbstractCodeTransformationTest {
public static class ConvertToBlockBody extends AbstractIntentionTest {
public void testAllFilesPresentInConvertToBlockBody() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertToBlockBody"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2499,7 +2499,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertToConcatenatedStringIntention")
public static class ConvertToConcatenatedStringIntention extends AbstractCodeTransformationTest {
public static class ConvertToConcatenatedStringIntention extends AbstractIntentionTest {
public void testAllFilesPresentInConvertToConcatenatedStringIntention() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertToConcatenatedStringIntention"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2627,7 +2627,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertToExpressionBody")
public static class ConvertToExpressionBody extends AbstractCodeTransformationTest {
public static class ConvertToExpressionBody extends AbstractIntentionTest {
public void testAllFilesPresentInConvertToExpressionBody() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertToExpressionBody"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2720,7 +2720,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertToForEachFunctionCall")
public static class ConvertToForEachFunctionCall extends AbstractCodeTransformationTest {
public static class ConvertToForEachFunctionCall extends AbstractIntentionTest {
public void testAllFilesPresentInConvertToForEachFunctionCall() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertToForEachFunctionCall"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2763,7 +2763,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertToForEachLoop")
public static class ConvertToForEachLoop extends AbstractCodeTransformationTest {
public static class ConvertToForEachLoop extends AbstractIntentionTest {
public void testAllFilesPresentInConvertToForEachLoop() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertToForEachLoop"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2821,7 +2821,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/convertToStringTemplateIntention")
public static class ConvertToStringTemplateIntention extends AbstractCodeTransformationTest {
public static class ConvertToStringTemplateIntention extends AbstractIntentionTest {
public void testAllFilesPresentInConvertToStringTemplateIntention() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/convertToStringTemplateIntention"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2965,13 +2965,13 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/declarations")
@InnerTestClasses({Declarations.ConvertMemberToExtension.class, Declarations.Split.class})
public static class Declarations extends AbstractCodeTransformationTest {
public static class Declarations extends AbstractIntentionTest {
public void testAllFilesPresentInDeclarations() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/declarations"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("idea/testData/intentions/declarations/convertMemberToExtension")
public static class ConvertMemberToExtension extends AbstractCodeTransformationTest {
public static class ConvertMemberToExtension extends AbstractIntentionTest {
@TestMetadata("abstract.kt")
public void testAbstract() throws Exception {
doTest("idea/testData/intentions/declarations/convertMemberToExtension/abstract.kt");
@@ -3154,7 +3154,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/declarations/split")
public static class Split extends AbstractCodeTransformationTest {
public static class Split extends AbstractIntentionTest {
public void testAllFilesPresentInSplit() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/declarations/split"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3231,7 +3231,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/insertCurlyBracesToTemplate")
public static class InsertCurlyBracesToTemplate extends AbstractCodeTransformationTest {
public static class InsertCurlyBracesToTemplate extends AbstractIntentionTest {
public void testAllFilesPresentInInsertCurlyBracesToTemplate() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/insertCurlyBracesToTemplate"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3269,7 +3269,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/insertExplicitTypeArguments")
public static class InsertExplicitTypeArguments extends AbstractCodeTransformationTest {
public static class InsertExplicitTypeArguments extends AbstractIntentionTest {
public void testAllFilesPresentInInsertExplicitTypeArguments() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/insertExplicitTypeArguments"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3367,7 +3367,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/invertIfCondition")
public static class InvertIfCondition extends AbstractCodeTransformationTest {
public static class InvertIfCondition extends AbstractIntentionTest {
public void testAllFilesPresentInInvertIfCondition() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/invertIfCondition"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3440,7 +3440,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/makeTypeExplicitInLambda")
public static class MakeTypeExplicitInLambda extends AbstractCodeTransformationTest {
public static class MakeTypeExplicitInLambda extends AbstractIntentionTest {
public void testAllFilesPresentInMakeTypeExplicitInLambda() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/makeTypeExplicitInLambda"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3533,7 +3533,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/makeTypeImplicitInLambda")
public static class MakeTypeImplicitInLambda extends AbstractCodeTransformationTest {
public static class MakeTypeImplicitInLambda extends AbstractIntentionTest {
public void testAllFilesPresentInMakeTypeImplicitInLambda() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/makeTypeImplicitInLambda"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3586,7 +3586,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/moveLambdaInsideParentheses")
public static class MoveLambdaInsideParentheses extends AbstractCodeTransformationTest {
public static class MoveLambdaInsideParentheses extends AbstractIntentionTest {
public void testAllFilesPresentInMoveLambdaInsideParentheses() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/moveLambdaInsideParentheses"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3664,7 +3664,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/moveLambdaOutsideParentheses")
public static class MoveLambdaOutsideParentheses extends AbstractCodeTransformationTest {
public static class MoveLambdaOutsideParentheses extends AbstractIntentionTest {
public void testAllFilesPresentInMoveLambdaOutsideParentheses() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/moveLambdaOutsideParentheses"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3737,7 +3737,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/operatorToFunction")
public static class OperatorToFunction extends AbstractCodeTransformationTest {
public static class OperatorToFunction extends AbstractIntentionTest {
public void testAllFilesPresentInOperatorToFunction() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/operatorToFunction"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3845,7 +3845,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/reconstructedType")
public static class ReconstructedType extends AbstractCodeTransformationTest {
public static class ReconstructedType extends AbstractIntentionTest {
public void testAllFilesPresentInReconstructedType() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/reconstructedType"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3878,7 +3878,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/removeBraces")
public static class RemoveBraces extends AbstractCodeTransformationTest {
public static class RemoveBraces extends AbstractIntentionTest {
public void testAllFilesPresentInRemoveBraces() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/removeBraces"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3941,7 +3941,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/removeCurlyBracesFromTemplate")
public static class RemoveCurlyBracesFromTemplate extends AbstractCodeTransformationTest {
public static class RemoveCurlyBracesFromTemplate extends AbstractIntentionTest {
public void testAllFilesPresentInRemoveCurlyBracesFromTemplate() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/removeCurlyBracesFromTemplate"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4005,7 +4005,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/removeExplicitTypeArguments")
@InnerTestClasses({})
public static class RemoveExplicitTypeArguments extends AbstractCodeTransformationTest {
public static class RemoveExplicitTypeArguments extends AbstractIntentionTest {
public void testAllFilesPresentInRemoveExplicitTypeArguments() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/removeExplicitTypeArguments"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4113,7 +4113,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/removeUnnecessaryParentheses")
public static class RemoveUnnecessaryParentheses extends AbstractCodeTransformationTest {
public static class RemoveUnnecessaryParentheses extends AbstractIntentionTest {
public void testAllFilesPresentInRemoveUnnecessaryParentheses() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/removeUnnecessaryParentheses"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4186,7 +4186,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/replaceExplicitFunctionLiteralParamWithIt")
public static class ReplaceExplicitFunctionLiteralParamWithIt extends AbstractCodeTransformationTest {
public static class ReplaceExplicitFunctionLiteralParamWithIt extends AbstractIntentionTest {
public void testAllFilesPresentInReplaceExplicitFunctionLiteralParamWithIt() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/replaceExplicitFunctionLiteralParamWithIt"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4234,7 +4234,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/replaceItWithExplicitFunctionLiteralParam")
public static class ReplaceItWithExplicitFunctionLiteralParam extends AbstractCodeTransformationTest {
public static class ReplaceItWithExplicitFunctionLiteralParam extends AbstractIntentionTest {
public void testAllFilesPresentInReplaceItWithExplicitFunctionLiteralParam() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/replaceItWithExplicitFunctionLiteralParam"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4267,7 +4267,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/replaceWithDotQualifiedMethodCall")
public static class ReplaceWithDotQualifiedMethodCall extends AbstractCodeTransformationTest {
public static class ReplaceWithDotQualifiedMethodCall extends AbstractIntentionTest {
public void testAllFilesPresentInReplaceWithDotQualifiedMethodCall() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/replaceWithDotQualifiedMethodCall"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4305,7 +4305,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/replaceWithInfixFunctionCall")
public static class ReplaceWithInfixFunctionCall extends AbstractCodeTransformationTest {
public static class ReplaceWithInfixFunctionCall extends AbstractIntentionTest {
public void testAllFilesPresentInReplaceWithInfixFunctionCall() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/replaceWithInfixFunctionCall"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4408,7 +4408,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/replaceWithOperatorAssign")
public static class ReplaceWithOperatorAssign extends AbstractCodeTransformationTest {
public static class ReplaceWithOperatorAssign extends AbstractIntentionTest {
public void testAllFilesPresentInReplaceWithOperatorAssign() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/replaceWithOperatorAssign"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4461,7 +4461,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/replaceWithTraditionalAssignment")
public static class ReplaceWithTraditionalAssignment extends AbstractCodeTransformationTest {
public static class ReplaceWithTraditionalAssignment extends AbstractIntentionTest {
public void testAllFilesPresentInReplaceWithTraditionalAssignment() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/replaceWithTraditionalAssignment"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4489,7 +4489,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/simplifyBooleanWithConstants")
public static class SimplifyBooleanWithConstants extends AbstractCodeTransformationTest {
public static class SimplifyBooleanWithConstants extends AbstractIntentionTest {
public void testAllFilesPresentInSimplifyBooleanWithConstants() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/simplifyBooleanWithConstants"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4593,7 +4593,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
@TestMetadata("idea/testData/intentions/simplifyNegatedBinaryExpressionIntention")
@InnerTestClasses({})
public static class SimplifyNegatedBinaryExpressionIntention extends AbstractCodeTransformationTest {
public static class SimplifyNegatedBinaryExpressionIntention extends AbstractIntentionTest {
public void testAllFilesPresentInSimplifyNegatedBinaryExpressionIntention() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/simplifyNegatedBinaryExpressionIntention"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4666,7 +4666,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/specifyType")
public static class SpecifyType extends AbstractCodeTransformationTest {
public static class SpecifyType extends AbstractIntentionTest {
public void testAllFilesPresentInSpecifyType() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/specifyType"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4734,7 +4734,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/splitIf")
public static class SplitIf extends AbstractCodeTransformationTest {
public static class SplitIf extends AbstractIntentionTest {
public void testAllFilesPresentInSplitIf() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/splitIf"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4862,7 +4862,7 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
@TestMetadata("idea/testData/intentions/swapBinaryExpression")
public static class SwapBinaryExpression extends AbstractCodeTransformationTest {
public static class SwapBinaryExpression extends AbstractIntentionTest {
public void testAllFilesPresentInSwapBinaryExpression() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/swapBinaryExpression"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -5125,8 +5125,8 @@ public class CodeTransformationTestGenerated extends AbstractCodeTransformationT
}
public static Test suite() {
TestSuite suite = new TestSuite("CodeTransformationTestGenerated");
suite.addTestSuite(CodeTransformationTestGenerated.class);
TestSuite suite = new TestSuite("IntentionTestGenerated");
suite.addTestSuite(IntentionTestGenerated.class);
suite.addTestSuite(AddBraces.class);
suite.addTest(AttributeCallReplacements.innerSuite());
suite.addTest(Branched.innerSuite());