KT-11030 Remove tests for diagnostics for local classes in JS backend

This commit is contained in:
Alexey Andreev
2016-04-19 18:14:18 +03:00
parent ade5477c33
commit 7b76fa6103
3 changed files with 0 additions and 32 deletions
@@ -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<!>
}
}
@@ -1,3 +0,0 @@
package
public fun foo(): kotlin.Unit
@@ -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);
}
}
}