KT-11030 Remove tests for diagnostics for local classes in JS backend
This commit is contained in:
-14
@@ -1,14 +0,0 @@
|
|||||||
fun foo() {
|
|
||||||
<!NON_TOPLEVEL_CLASS_DECLARATION!>class A<!> {
|
|
||||||
inner <!NON_TOPLEVEL_CLASS_DECLARATION!>class E<!> {
|
|
||||||
<!NESTED_CLASS_NOT_ALLOWED, NON_TOPLEVEL_CLASS_DECLARATION!>interface T<!>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
<!LOCAL_INTERFACE_NOT_ALLOWED, NON_TOPLEVEL_CLASS_DECLARATION!>interface T<!> {
|
|
||||||
}
|
|
||||||
|
|
||||||
object {
|
|
||||||
inner <!NON_TOPLEVEL_CLASS_DECLARATION!>class B<!>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-3
@@ -1,3 +0,0 @@
|
|||||||
package
|
|
||||||
|
|
||||||
public fun foo(): kotlin.Unit
|
|
||||||
-15
@@ -571,19 +571,4 @@ public class DiagnosticsTestWithJsStdLibGenerated extends AbstractDiagnosticsTes
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLib/unsupportedFeatures")
|
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
|
||||||
@RunWith(JUnit3RunnerWithInners.class)
|
|
||||||
public static class UnsupportedFeatures extends AbstractDiagnosticsTestWithJsStdLib {
|
|
||||||
public void testAllFilesPresentInUnsupportedFeatures() throws Exception {
|
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLib/unsupportedFeatures"), Pattern.compile("^(.+)\\.kt$"), true);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("localClassifier.kt")
|
|
||||||
public void testLocalClassifier() throws Exception {
|
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/unsupportedFeatures/localClassifier.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user