Kotlin Find Usages: test data for property and base methods of accessors option KTIJ-26343

GitOrigin-RevId: 5b723bad668e910140dd31263b3a869438a9f674
This commit is contained in:
Alexander.Danilov
2023-07-20 12:52:48 +02:00
committed by intellij-monorepo-bot
parent fdc379ba2b
commit d41dcdc459
9 changed files with 116 additions and 0 deletions

View File

@@ -2538,6 +2538,32 @@ public abstract class FindUsagesWithCompilerReferenceIndexFirTestGenerated exten
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages")
public abstract static class FindPropertyUsages extends AbstractFindUsagesWithCompilerReferenceIndexFirTest {
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages")
public static class TestBaseAndOverridingPropertyInBodyUsages extends AbstractFindUsagesWithCompilerReferenceIndexFirTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
}
@TestMetadata("baseAndOverridingPropertyInBodyUsages.0.kt")
public void testBaseAndOverridingPropertyInBodyUsages() throws Exception {
runTest("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages/baseAndOverridingPropertyInBodyUsages.0.kt");
}
}
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages")
public static class TestBaseAndOverridingPropertyInCtrUsages extends AbstractFindUsagesWithCompilerReferenceIndexFirTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
}
@TestMetadata("baseAndOverridingPropertyInCtrUsages.0.kt")
public void testBaseAndOverridingPropertyInCtrUsages() throws Exception {
runTest("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages/baseAndOverridingPropertyInCtrUsages.0.kt");
}
}
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages")
public static class TestExtensionPropertyUsages extends AbstractFindUsagesWithCompilerReferenceIndexFirTest {

View File

@@ -2538,6 +2538,32 @@ public abstract class FindUsagesWithCompilerReferenceIndexTestGenerated extends
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages")
public abstract static class FindPropertyUsages extends AbstractFindUsagesWithCompilerReferenceIndexTest {
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages")
public static class TestBaseAndOverridingPropertyInBodyUsages extends AbstractFindUsagesWithCompilerReferenceIndexTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
}
@TestMetadata("baseAndOverridingPropertyInBodyUsages.0.kt")
public void testBaseAndOverridingPropertyInBodyUsages() throws Exception {
runTest("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages/baseAndOverridingPropertyInBodyUsages.0.kt");
}
}
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages")
public static class TestBaseAndOverridingPropertyInCtrUsages extends AbstractFindUsagesWithCompilerReferenceIndexTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
}
@TestMetadata("baseAndOverridingPropertyInCtrUsages.0.kt")
public void testBaseAndOverridingPropertyInCtrUsages() throws Exception {
runTest("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages/baseAndOverridingPropertyInCtrUsages.0.kt");
}
}
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/findPropertyUsages")
public static class TestExtensionPropertyUsages extends AbstractFindUsagesWithCompilerReferenceIndexTest {