Rename and disable test on JS

This commit is contained in:
Mikhael Bogdanov
2017-08-10 16:15:38 +02:00
parent a41e5fff6b
commit 6ca06265cf
5 changed files with 21 additions and 13 deletions
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: JS
class `A!u00A0`() {
val ok = "OK"
}
@@ -3503,9 +3503,9 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
doTest(fileName);
}
@TestMetadata("quoted.kt")
public void testQuoted() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/quoted.kt");
@TestMetadata("quotedClassName.kt")
public void testQuotedClassName() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/quotedClassName.kt");
doTest(fileName);
}
@@ -3503,9 +3503,9 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("quoted.kt")
public void testQuoted() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/quoted.kt");
@TestMetadata("quotedClassName.kt")
public void testQuotedClassName() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/quotedClassName.kt");
doTest(fileName);
}
@@ -3503,9 +3503,9 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
doTest(fileName);
}
@TestMetadata("quoted.kt")
public void testQuoted() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/quoted.kt");
@TestMetadata("quotedClassName.kt")
public void testQuotedClassName() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/quotedClassName.kt");
doTest(fileName);
}
@@ -4139,10 +4139,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("quoted.kt")
public void testQuoted() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/quoted.kt");
doTest(fileName);
@TestMetadata("quotedClassName.kt")
public void testQuotedClassName() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/classes/quotedClassName.kt");
try {
doTest(fileName);
}
catch (Throwable ignore) {
return;
}
throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that.");
}
@TestMetadata("rightHandOverride.kt")