Drop package facades: update compiler tests.

This commit is contained in:
Dmitry Petrov
2015-10-14 14:17:43 +03:00
parent 3502c393fc
commit e7fb7483c5
89 changed files with 167 additions and 192 deletions
@@ -163,7 +163,7 @@ public abstract class KotlinLightClassStructureTest extends KotlinAsJavaTestBase
}
public void testPackage() throws Exception {
checkModifiers("test.TestPackage", PUBLIC, FINAL, DEPRECATED);
checkModifiers("test.PackageKt", PUBLIC, FINAL);
}
}
@@ -177,8 +177,8 @@ public abstract class KotlinLightClassStructureTest extends KotlinAsJavaTestBase
assertTrue(findMethodsOfClass("test.C").length == 2);
}
public void testPackageWithErrors() {
assertTrue(findMethodsOfClass("test.TestPackage").length == 1);
public void testFileFacadeWithErrors() {
assertTrue(findMethodsOfClass("test.CodeWithErrorsKt").length == 1);
}
private PsiMethod[] findMethodsOfClass(String qualifiedName) {