Correct synthetic extensions for methods like "getURL"

This commit is contained in:
Valentin Kipyatkov
2015-07-10 18:55:18 +03:00
parent 22e631dda3
commit 28e9fbf9b8
5 changed files with 50 additions and 8 deletions
@@ -14006,6 +14006,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class SyntheticExtensions extends AbstractJetDiagnosticsTest {
@TestMetadata("AbbreviationName.kt")
public void testAbbreviationName() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/syntheticExtensions/AbbreviationName.kt");
doTest(fileName);
}
public void testAllFilesPresentInSyntheticExtensions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/tests/syntheticExtensions"), Pattern.compile("^(.+)\\.kt$"), true);
}