KT-4341 No resolved call for right-hand side of equals expression

#KT-4341 Fixed
This commit is contained in:
Svetlana Isakova
2013-12-25 17:35:56 +04:00
parent aca21f78d5
commit 45abab2a2c
4 changed files with 28 additions and 6 deletions
@@ -4039,7 +4039,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
}
@TestMetadata("compiler/testData/diagnostics/tests/inline")
@InnerTestClasses({Inline.BinaryExpressions.class, Inline.NonPublicMember.class, Inline.UnaryExpressions.class})
@InnerTestClasses({Inline.BinaryExpressions.class, Inline.NonPublicMember.class, Inline.Regressions.class, Inline.UnaryExpressions.class})
public static class Inline extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInline() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.+)\\.kt$"), true);
@@ -4236,6 +4236,19 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
}
@TestMetadata("compiler/testData/diagnostics/tests/inline/regressions")
public static class Regressions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInRegressions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inline/regressions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("kt4341.kt")
public void testKt4341() throws Exception {
doTest("compiler/testData/diagnostics/tests/inline/regressions/kt4341.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/tests/inline/unaryExpressions")
public static class UnaryExpressions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInUnaryExpressions() throws Exception {
@@ -4259,6 +4272,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
suite.addTestSuite(Inline.class);
suite.addTestSuite(BinaryExpressions.class);
suite.addTestSuite(NonPublicMember.class);
suite.addTestSuite(Regressions.class);
suite.addTestSuite(UnaryExpressions.class);
return suite;
}