added tests for function literals faster resolve

This commit is contained in:
Svetlana Isakova
2013-02-06 15:35:20 +04:00
parent 3eee19578a
commit d447c90b13
3 changed files with 75 additions and 0 deletions
@@ -3826,6 +3826,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("resolveWithFunctionLiteralWithId.kt")
public void testResolveWithFunctionLiteralWithId() throws Exception {
doTest("compiler/testData/diagnostics/tests/resolve/resolveWithFunctionLiteralWithId.kt");
}
@TestMetadata("resolveWithFunctionLiterals.kt")
public void testResolveWithFunctionLiterals() throws Exception {
doTest("compiler/testData/diagnostics/tests/resolve/resolveWithFunctionLiterals.kt");
@@ -3841,6 +3846,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/resolve/resolveWithGenerics.kt");
}
@TestMetadata("resolveWithSpecifiedFunctionLiteralWithId.kt")
public void testResolveWithSpecifiedFunctionLiteralWithId() throws Exception {
doTest("compiler/testData/diagnostics/tests/resolve/resolveWithSpecifiedFunctionLiteralWithId.kt");
}
@TestMetadata("resolveWithoutGenerics.kt")
public void testResolveWithoutGenerics() throws Exception {
doTest("compiler/testData/diagnostics/tests/resolve/resolveWithoutGenerics.kt");