Tests added for checking two-phase (classes and functions) import resolution

This commit is contained in:
Nikolay Krasko
2012-12-28 18:26:54 +04:00
parent ee227f01b9
commit d4e3a4f74d
5 changed files with 54 additions and 0 deletions
@@ -1952,6 +1952,11 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/genericFunction.kt");
}
@TestMetadata("importFunctionWithAllUnderImport.kt")
public void testImportFunctionWithAllUnderImport() throws Exception {
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/importFunctionWithAllUnderImport.kt");
}
@TestMetadata("importFunctionWithAllUnderImportAfterNamedImport.kt")
public void testImportFunctionWithAllUnderImportAfterNamedImport() throws Exception {
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/importFunctionWithAllUnderImportAfterNamedImport.kt");
@@ -1982,6 +1987,11 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/packageLevelObject.kt");
}
@TestMetadata("propertyClassFileDependencyRecursion.kt")
public void testPropertyClassFileDependencyRecursion() throws Exception {
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/propertyClassFileDependencyRecursion.kt");
}
@TestMetadata("simpleClass.kt")
public void testSimpleClass() throws Exception {
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/simpleClass.kt");