[JS FIR] Add JS_NAME_CLASH tests for constructors
^KT-64867 Related
This commit is contained in:
committed by
Space Team
parent
5da4d31d37
commit
3dd4a0d868
+6
@@ -3250,6 +3250,12 @@ public class FirJsES6BoxTestGenerated extends AbstractFirJsES6BoxTest {
|
||||
runTest("js/js.translator/testData/box/export/reservedModuleNameInExportedFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelAndClassCtrNameClash.kt")
|
||||
public void testTopLevelAndClassCtrNameClash() throws Exception {
|
||||
runTest("js/js.translator/testData/box/export/topLevelAndClassCtrNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
|
||||
Generated
+6
@@ -3144,6 +3144,12 @@ public class FirLightTreeJsBoxTestGenerated extends AbstractFirLightTreeJsBoxTes
|
||||
runTest("js/js.translator/testData/box/export/reservedModuleNameInExportedFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelAndClassCtrNameClash.kt")
|
||||
public void testTopLevelAndClassCtrNameClash() throws Exception {
|
||||
runTest("js/js.translator/testData/box/export/topLevelAndClassCtrNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
|
||||
+6
@@ -700,6 +700,12 @@ public class FirLightTreeJsOldFrontendDiagnosticsTestGenerated extends AbstractF
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/conflictingNamesFromSuperclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorsWithSameJsName.kt")
|
||||
public void testConstructorsWithSameJsName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/constructorsWithSameJsName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationClash.kt")
|
||||
public void testDeclarationClash() throws Exception {
|
||||
|
||||
+6
@@ -3144,6 +3144,12 @@ public class FirPsiJsBoxTestGenerated extends AbstractFirPsiJsBoxTest {
|
||||
runTest("js/js.translator/testData/box/export/reservedModuleNameInExportedFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelAndClassCtrNameClash.kt")
|
||||
public void testTopLevelAndClassCtrNameClash() throws Exception {
|
||||
runTest("js/js.translator/testData/box/export/topLevelAndClassCtrNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
|
||||
+6
@@ -700,6 +700,12 @@ public class FirPsiJsOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiJ
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/conflictingNamesFromSuperclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorsWithSameJsName.kt")
|
||||
public void testConstructorsWithSameJsName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/constructorsWithSameJsName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationClash.kt")
|
||||
public void testDeclarationClash() throws Exception {
|
||||
|
||||
Generated
+6
@@ -700,6 +700,12 @@ public class DiagnosticsWithJsStdLibTestGenerated extends AbstractDiagnosticsTes
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/conflictingNamesFromSuperclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorsWithSameJsName.kt")
|
||||
public void testConstructorsWithSameJsName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/name/constructorsWithSameJsName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationClash.kt")
|
||||
public void testDeclarationClash() throws Exception {
|
||||
|
||||
+6
@@ -3250,6 +3250,12 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
||||
runTest("js/js.translator/testData/box/export/reservedModuleNameInExportedFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelAndClassCtrNameClash.kt")
|
||||
public void testTopLevelAndClassCtrNameClash() throws Exception {
|
||||
runTest("js/js.translator/testData/box/export/topLevelAndClassCtrNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
|
||||
+6
@@ -3144,6 +3144,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/export/reservedModuleNameInExportedFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelAndClassCtrNameClash.kt")
|
||||
public void testTopLevelAndClassCtrNameClash() throws Exception {
|
||||
runTest("js/js.translator/testData/box/export/topLevelAndClassCtrNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user