Regenerate tests
This fixes project compilation after incorrect merge of
da4097f4/e89a87b2 and 4ed64b02
This commit is contained in:
+2
-2
@@ -809,11 +809,11 @@ public class SmartCompletionHandlerTestGenerated extends AbstractSmartCompletion
|
|||||||
@RunWith(JUnit3RunnerWithInners.class)
|
@RunWith(JUnit3RunnerWithInners.class)
|
||||||
public static class SuspendLambdaSignature extends AbstractSmartCompletionHandlerTest {
|
public static class SuspendLambdaSignature extends AbstractSmartCompletionHandlerTest {
|
||||||
private void runTest(String testDataFilePath) throws Exception {
|
private void runTest(String testDataFilePath) throws Exception {
|
||||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInSuspendLambdaSignature() throws Exception {
|
public void testAllFilesPresentInSuspendLambdaSignature() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/handlers/smart/suspendLambdaSignature"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/handlers/smart/suspendLambdaSignature"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("NoAdditionalSpace.kt")
|
@TestMetadata("NoAdditionalSpace.kt")
|
||||||
|
|||||||
Generated
+10
@@ -98,11 +98,21 @@ public class PerformanceHighlightingTestGenerated extends AbstractPerformanceHig
|
|||||||
runTest("idea/testData/highlighter/Object.kt");
|
runTest("idea/testData/highlighter/Object.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("PropertiesWithPropertyDeclarations.kt")
|
||||||
|
public void testPropertiesWithPropertyDeclarations() throws Exception {
|
||||||
|
runTest("idea/testData/highlighter/PropertiesWithPropertyDeclarations.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("SmartCast.kt")
|
@TestMetadata("SmartCast.kt")
|
||||||
public void testSmartCast() throws Exception {
|
public void testSmartCast() throws Exception {
|
||||||
runTest("idea/testData/highlighter/SmartCast.kt");
|
runTest("idea/testData/highlighter/SmartCast.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("Suspend.kt")
|
||||||
|
public void testSuspend() throws Exception {
|
||||||
|
runTest("idea/testData/highlighter/Suspend.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionProperty.kt")
|
@TestMetadata("SyntheticExtensionProperty.kt")
|
||||||
public void testSyntheticExtensionProperty() throws Exception {
|
public void testSyntheticExtensionProperty() throws Exception {
|
||||||
runTest("idea/testData/highlighter/SyntheticExtensionProperty.kt");
|
runTest("idea/testData/highlighter/SyntheticExtensionProperty.kt");
|
||||||
|
|||||||
+2
-2
@@ -809,11 +809,11 @@ public class PerformanceSmartCompletionHandlerTestGenerated extends AbstractPerf
|
|||||||
@RunWith(JUnit3RunnerWithInners.class)
|
@RunWith(JUnit3RunnerWithInners.class)
|
||||||
public static class SuspendLambdaSignature extends AbstractPerformanceSmartCompletionHandlerTest {
|
public static class SuspendLambdaSignature extends AbstractPerformanceSmartCompletionHandlerTest {
|
||||||
private void runTest(String testDataFilePath) throws Exception {
|
private void runTest(String testDataFilePath) throws Exception {
|
||||||
KotlinTestUtils.runTest(this::doPerfTest, TargetBackend.ANY, testDataFilePath);
|
KotlinTestUtils.runTest(this::doPerfTest, this, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInSuspendLambdaSignature() throws Exception {
|
public void testAllFilesPresentInSuspendLambdaSignature() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/handlers/smart/suspendLambdaSignature"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/handlers/smart/suspendLambdaSignature"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("NoAdditionalSpace.kt")
|
@TestMetadata("NoAdditionalSpace.kt")
|
||||||
|
|||||||
+10
-5
@@ -98,11 +98,21 @@ public class HighlightingTestGenerated extends AbstractHighlightingTest {
|
|||||||
runTest("idea/testData/highlighter/Object.kt");
|
runTest("idea/testData/highlighter/Object.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("PropertiesWithPropertyDeclarations.kt")
|
||||||
|
public void testPropertiesWithPropertyDeclarations() throws Exception {
|
||||||
|
runTest("idea/testData/highlighter/PropertiesWithPropertyDeclarations.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("SmartCast.kt")
|
@TestMetadata("SmartCast.kt")
|
||||||
public void testSmartCast() throws Exception {
|
public void testSmartCast() throws Exception {
|
||||||
runTest("idea/testData/highlighter/SmartCast.kt");
|
runTest("idea/testData/highlighter/SmartCast.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("Suspend.kt")
|
||||||
|
public void testSuspend() throws Exception {
|
||||||
|
runTest("idea/testData/highlighter/Suspend.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionProperty.kt")
|
@TestMetadata("SyntheticExtensionProperty.kt")
|
||||||
public void testSyntheticExtensionProperty() throws Exception {
|
public void testSyntheticExtensionProperty() throws Exception {
|
||||||
runTest("idea/testData/highlighter/SyntheticExtensionProperty.kt");
|
runTest("idea/testData/highlighter/SyntheticExtensionProperty.kt");
|
||||||
@@ -143,11 +153,6 @@ public class HighlightingTestGenerated extends AbstractHighlightingTest {
|
|||||||
runTest("idea/testData/highlighter/VariablesAsFunctions.kt");
|
runTest("idea/testData/highlighter/VariablesAsFunctions.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("PropertiesWithPropertyDeclarations.kt")
|
|
||||||
public void testPropertiesWithPropertyDeclarations() throws Exception {
|
|
||||||
runTest("idea/testData/highlighter/PropertiesWithPropertyDeclarations.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("idea/testData/highlighter/deprecated")
|
@TestMetadata("idea/testData/highlighter/deprecated")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@RunWith(JUnit3RunnerWithInners.class)
|
@RunWith(JUnit3RunnerWithInners.class)
|
||||||
|
|||||||
Reference in New Issue
Block a user