Adding parameter types for functions if necessary.
#KT-2637 in progress
This commit is contained in:
@@ -31,7 +31,7 @@ import org.jetbrains.jet.plugin.refactoring.inline.AbstractInlineTest;
|
||||
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("idea/testData/refactoring/inline")
|
||||
@InnerTestClasses({InlineTestGenerated.AddParenthesis.class, InlineTestGenerated.ExplicateTypeArgument.class})
|
||||
@InnerTestClasses({InlineTestGenerated.AddParenthesis.class, InlineTestGenerated.ExplicateParameterTypes.class, InlineTestGenerated.ExplicateTypeArgument.class})
|
||||
public class InlineTestGenerated extends AbstractInlineTest {
|
||||
public void testAllFilesPresentInInline() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("idea/testData/refactoring/inline"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
@@ -255,6 +255,49 @@ public class InlineTestGenerated extends AbstractInlineTest {
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("idea/testData/refactoring/inline/explicateParameterTypes")
|
||||
public static class ExplicateParameterTypes extends AbstractInlineTest {
|
||||
public void testAllFilesPresentInExplicateParameterTypes() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("idea/testData/refactoring/inline/explicateParameterTypes"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("EnoughDontExplicate.kt")
|
||||
public void testEnoughDontExplicate() throws Exception {
|
||||
doTest("idea/testData/refactoring/inline/explicateParameterTypes/EnoughDontExplicate.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ErrorTypes.kt")
|
||||
public void testErrorTypes() throws Exception {
|
||||
doTest("idea/testData/refactoring/inline/explicateParameterTypes/ErrorTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("It.kt")
|
||||
public void testIt() throws Exception {
|
||||
doTest("idea/testData/refactoring/inline/explicateParameterTypes/It.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ItMultiLine.kt")
|
||||
public void testItMultiLine() throws Exception {
|
||||
doTest("idea/testData/refactoring/inline/explicateParameterTypes/ItMultiLine.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Parenthesized.kt")
|
||||
public void testParenthesized() throws Exception {
|
||||
doTest("idea/testData/refactoring/inline/explicateParameterTypes/Parenthesized.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Simplest.kt")
|
||||
public void testSimplest() throws Exception {
|
||||
doTest("idea/testData/refactoring/inline/explicateParameterTypes/Simplest.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TrivialDontExplicate.kt")
|
||||
public void testTrivialDontExplicate() throws Exception {
|
||||
doTest("idea/testData/refactoring/inline/explicateParameterTypes/TrivialDontExplicate.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("idea/testData/refactoring/inline/explicateTypeArgument")
|
||||
public static class ExplicateTypeArgument extends AbstractInlineTest {
|
||||
public void testAllFilesPresentInExplicateTypeArgument() throws Exception {
|
||||
@@ -312,6 +355,7 @@ public class InlineTestGenerated extends AbstractInlineTest {
|
||||
TestSuite suite = new TestSuite("InlineTestGenerated");
|
||||
suite.addTestSuite(InlineTestGenerated.class);
|
||||
suite.addTestSuite(AddParenthesis.class);
|
||||
suite.addTestSuite(ExplicateParameterTypes.class);
|
||||
suite.addTestSuite(ExplicateTypeArgument.class);
|
||||
return suite;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user