[JS FIR] Add non-ASCII JsName tests
^KT-64463 Related
This commit is contained in:
committed by
Space Team
parent
871f04e08c
commit
fc584b7c33
@@ -0,0 +1,11 @@
|
|||||||
|
// FIR_IDENTICAL
|
||||||
|
|
||||||
|
interface <!NAME_CONTAINS_ILLEGAL_CHARS!>I𝔹<!>
|
||||||
|
|
||||||
|
class <!NAME_CONTAINS_ILLEGAL_CHARS!>C𝔹<!> : I𝔹
|
||||||
|
|
||||||
|
<!NAME_CONTAINS_ILLEGAL_CHARS!>fun f𝔹()<!> = 1
|
||||||
|
|
||||||
|
<!NAME_CONTAINS_ILLEGAL_CHARS!>val v𝔹<!> = 1
|
||||||
|
|
||||||
|
typealias 𝔹 = Boolean
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
package
|
||||||
|
|
||||||
|
public val `v𝔹`: kotlin.Int = 1
|
||||||
|
public fun `f𝔹`(): kotlin.Int
|
||||||
|
|
||||||
|
public final class `C𝔹` : `I𝔹` {
|
||||||
|
public constructor `C𝔹`()
|
||||||
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||||
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
|
|
||||||
|
public interface `I𝔹` {
|
||||||
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||||
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
|
public typealias `𝔹` = kotlin.Boolean
|
||||||
|
|
||||||
+6
@@ -826,6 +826,12 @@ public class FirLightTreeJsOldFrontendDiagnosticsTestGenerated extends AbstractF
|
|||||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nameSwapInOverride.kt");
|
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nameSwapInOverride.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nonASCIIName.kt")
|
||||||
|
public void testNonASCIIName() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nonASCIIName.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("overrideOverloadedNativeFunction.kt")
|
@TestMetadata("overrideOverloadedNativeFunction.kt")
|
||||||
public void testOverrideOverloadedNativeFunction() throws Exception {
|
public void testOverrideOverloadedNativeFunction() throws Exception {
|
||||||
|
|||||||
+6
@@ -826,6 +826,12 @@ public class FirPsiJsOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiJ
|
|||||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nameSwapInOverride.kt");
|
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nameSwapInOverride.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nonASCIIName.kt")
|
||||||
|
public void testNonASCIIName() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nonASCIIName.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("overrideOverloadedNativeFunction.kt")
|
@TestMetadata("overrideOverloadedNativeFunction.kt")
|
||||||
public void testOverrideOverloadedNativeFunction() throws Exception {
|
public void testOverrideOverloadedNativeFunction() throws Exception {
|
||||||
|
|||||||
Generated
+6
@@ -826,6 +826,12 @@ public class DiagnosticsWithJsStdLibTestGenerated extends AbstractDiagnosticsTes
|
|||||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nameSwapInOverride.kt");
|
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nameSwapInOverride.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nonASCIIName.kt")
|
||||||
|
public void testNonASCIIName() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/nonASCIIName.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("overrideOverloadedNativeFunction.kt")
|
@TestMetadata("overrideOverloadedNativeFunction.kt")
|
||||||
public void testOverrideOverloadedNativeFunction() throws Exception {
|
public void testOverrideOverloadedNativeFunction() throws Exception {
|
||||||
|
|||||||
Reference in New Issue
Block a user