Fix test data for empty LHS vs isInitialized

Ignore the "property imported from object" part on JS
This commit is contained in:
Alexander Udalov
2017-10-25 12:10:10 +02:00
parent 42945d33ee
commit e73760d4ff
7 changed files with 49 additions and 17 deletions
@@ -11735,8 +11735,7 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
}
public void testAllFilesPresentInMoveMemberToTopLevel() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/moveMemberToTopLevel"),
Pattern.compile("^([\\w\\-_]+)\\.kt$"), TargetBackend.ANY, true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/moveMemberToTopLevel"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), TargetBackend.ANY, true);
}
@TestMetadata("function.kt")
@@ -11771,15 +11770,13 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
@TestMetadata("redeclarationConflictWithPackage.kt")
public void testRedeclarationConflictWithPackage() throws Exception {
String fileName =
KotlinTestUtils.navigationMetadata("idea/testData/intentions/moveMemberToTopLevel/redeclarationConflictWithPackage.kt");
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/moveMemberToTopLevel/redeclarationConflictWithPackage.kt");
doTest(fileName);
}
@TestMetadata("redeclarationPropertyConflict.kt")
public void testRedeclarationPropertyConflict() throws Exception {
String fileName =
KotlinTestUtils.navigationMetadata("idea/testData/intentions/moveMemberToTopLevel/redeclarationPropertyConflict.kt");
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/moveMemberToTopLevel/redeclarationPropertyConflict.kt");
doTest(fileName);
}
}