[FIR-TEST] Move nestedClassConstructor test to problems test suite

This commit is contained in:
Dmitriy Novozhilov
2019-11-14 14:19:57 +03:00
parent 2409a74fb5
commit f43d77d422
3 changed files with 9 additions and 5 deletions
@@ -1,3 +1,7 @@
/*
* We see same constructor of `B` in two scopes
*/
class A() {
class B() : A() {
fun copy() = <!AMBIGUITY!>B<!>()
@@ -133,11 +133,6 @@ public class FirDiagnosticsTestGenerated extends AbstractFirDiagnosticsTest {
runTest("compiler/fir/resolve/testData/resolve/nestedClass.kt");
}
@TestMetadata("nestedClassContructor.kt")
public void testNestedClassContructor() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/nestedClassContructor.kt");
}
@TestMetadata("NestedOfAliasedType.kt")
public void testNestedOfAliasedType() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/NestedOfAliasedType.kt");
@@ -783,6 +778,11 @@ public class FirDiagnosticsTestGenerated extends AbstractFirDiagnosticsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/fir/resolve/testData/resolve/problems"), Pattern.compile("^([^.]+)\\.kt$"), true);
}
@TestMetadata("nestedClassContructor.kt")
public void testNestedClassContructor() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/problems/nestedClassContructor.kt");
}
@TestMetadata("propertyFromJavaPlusAssign.kt")
public void testPropertyFromJavaPlusAssign() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/problems/propertyFromJavaPlusAssign.kt");