Drop package facades: update compiler tests.
This commit is contained in:
@@ -118,8 +118,8 @@ public class KotlinLightClassCoherenceTest extends KotlinAsJavaTestBase {
|
||||
}
|
||||
}
|
||||
|
||||
public void testPackage() throws Exception {
|
||||
doTest("test.TestPackage");
|
||||
public void testFileFacade() throws Exception {
|
||||
doTest("test.PackageKt");
|
||||
}
|
||||
|
||||
public void testNoModifiers() throws Exception {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user