Fix SimplifyBooleanWithConstantsIntention intention to avoid analyzing files created by JetPsiFactory

This commit is contained in:
Pavel V. Talanov
2014-07-20 19:09:34 +04:00
parent 1bc0a9dfd9
commit f44ba60d51
5 changed files with 39 additions and 17 deletions
@@ -4514,6 +4514,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/simplifyBooleanWithConstants"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("deeplyParenthesized.kt")
public void testDeeplyParenthesized() throws Exception {
doTest("idea/testData/intentions/simplifyBooleanWithConstants/deeplyParenthesized.kt");
}
@TestMetadata("inapplicableNoConstants.kt")
public void testInapplicableNoConstants() throws Exception {
doTest("idea/testData/intentions/simplifyBooleanWithConstants/inapplicableNoConstants.kt");