Use assertAllTestsPresentByMetadataWithExcluded for addSpreadOperatorForArrayAsVarargAfterSam IDE quick fix test

This commit is contained in:
Victor Petukhov
2019-12-18 15:08:10 +03:00
parent 220ea72d65
commit 9d0c736f0e
2 changed files with 2 additions and 2 deletions
@@ -333,7 +333,7 @@ public class QuickFixMultiFileTestGenerated extends AbstractQuickFixMultiFileTes
}
public void testAllFilesPresentInAddSpreadOperatorForArrayAsVarargAfterSam() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam"), Pattern.compile("^(\\w+)\\.((before\\.Main\\.\\w+)|(test))$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam"), Pattern.compile("^(\\w+)\\.((before\\.Main\\.\\w+)|(test))$"), null, true);
}
@TestMetadata("withError.test")
@@ -1198,7 +1198,7 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
}
public void testAllFilesPresentInAddSpreadOperatorForArrayAsVarargAfterSam() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam"), Pattern.compile("^([\\w\\-_]+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/testData/quickfix/addSpreadOperatorForArrayAsVarargAfterSam"), Pattern.compile("^([\\w\\-_]+)\\.kt$"), null, true);
}
}