[tests] Regenerate configurations for diagnostic tests
This commit is contained in:
committed by
Space Team
parent
c7caca8ccd
commit
b2fb37043d
+75
-39
@@ -26801,72 +26801,108 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated")
|
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class NoConflictingOverloadsWithDeprecated {
|
public class NoConflictingOverloadsWithDeprecatedHidden {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecated() throws Exception {
|
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecatedHidden() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInClass.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInPackage.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsGenericFunctions.kt")
|
|
||||||
public void testConflictingOverloadsGenericFunctions() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsGenericFunctions.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalExtFunsInPackage.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalExtFunsInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalExtFunsInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalFunsInClass.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalFunsInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalFunsInClass.kt");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
||||||
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalValsInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsIdenticalValsInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
||||||
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConstructorVsFunOverload.kt")
|
@TestMetadata("ConstructorVsFunOverload.kt")
|
||||||
public void testConstructorVsFunOverload() throws Exception {
|
public void testConstructorVsFunOverload() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConstructorVsFunOverload.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInMemberScope.kt")
|
||||||
|
public void testConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInPackage.kt")
|
||||||
|
public void testConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsOnTopLevel.kt")
|
||||||
|
public void testConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("DifferentDeprecationLevels.kt")
|
||||||
|
public void testDifferentDeprecationLevels() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/DifferentDeprecationLevels.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInMemberScope.kt")
|
||||||
|
public void testFunctionsAndConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInPackage.kt")
|
||||||
|
public void testFunctionsAndConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsOnTopLevel.kt")
|
||||||
|
public void testFunctionsAndConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInMemberScope.kt")
|
||||||
|
public void testFunctionsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInPackage.kt")
|
||||||
|
public void testFunctionsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsOnTopLevel.kt")
|
||||||
|
public void testFunctionsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsOnTopLevel.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("LocalFunctions.kt")
|
@TestMetadata("LocalFunctions.kt")
|
||||||
public void testLocalFunctions() throws Exception {
|
public void testLocalFunctions() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/LocalFunctions.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/LocalFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("NoHiddenTransitivityFromClassifierToConstructor.kt")
|
||||||
|
public void testNoHiddenTransitivityFromClassifierToConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/NoHiddenTransitivityFromClassifierToConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("TypeParameterMultipleBounds.kt")
|
@TestMetadata("TypeParameterMultipleBounds.kt")
|
||||||
public void testTypeParameterMultipleBounds() throws Exception {
|
public void testTypeParameterMultipleBounds() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/TypeParameterMultipleBounds.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/TypeParameterMultipleBounds.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+75
-39
@@ -26801,72 +26801,108 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated")
|
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class NoConflictingOverloadsWithDeprecated {
|
public class NoConflictingOverloadsWithDeprecatedHidden {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecated() throws Exception {
|
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecatedHidden() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInClass.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInPackage.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsGenericFunctions.kt")
|
|
||||||
public void testConflictingOverloadsGenericFunctions() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsGenericFunctions.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalExtFunsInPackage.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalExtFunsInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalExtFunsInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalFunsInClass.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalFunsInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalFunsInClass.kt");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
||||||
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalValsInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsIdenticalValsInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
||||||
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConstructorVsFunOverload.kt")
|
@TestMetadata("ConstructorVsFunOverload.kt")
|
||||||
public void testConstructorVsFunOverload() throws Exception {
|
public void testConstructorVsFunOverload() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConstructorVsFunOverload.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInMemberScope.kt")
|
||||||
|
public void testConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInPackage.kt")
|
||||||
|
public void testConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsOnTopLevel.kt")
|
||||||
|
public void testConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("DifferentDeprecationLevels.kt")
|
||||||
|
public void testDifferentDeprecationLevels() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/DifferentDeprecationLevels.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInMemberScope.kt")
|
||||||
|
public void testFunctionsAndConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInPackage.kt")
|
||||||
|
public void testFunctionsAndConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsOnTopLevel.kt")
|
||||||
|
public void testFunctionsAndConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInMemberScope.kt")
|
||||||
|
public void testFunctionsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInPackage.kt")
|
||||||
|
public void testFunctionsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsOnTopLevel.kt")
|
||||||
|
public void testFunctionsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsOnTopLevel.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("LocalFunctions.kt")
|
@TestMetadata("LocalFunctions.kt")
|
||||||
public void testLocalFunctions() throws Exception {
|
public void testLocalFunctions() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/LocalFunctions.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/LocalFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("NoHiddenTransitivityFromClassifierToConstructor.kt")
|
||||||
|
public void testNoHiddenTransitivityFromClassifierToConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/NoHiddenTransitivityFromClassifierToConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("TypeParameterMultipleBounds.kt")
|
@TestMetadata("TypeParameterMultipleBounds.kt")
|
||||||
public void testTypeParameterMultipleBounds() throws Exception {
|
public void testTypeParameterMultipleBounds() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/TypeParameterMultipleBounds.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/TypeParameterMultipleBounds.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+75
-39
@@ -24801,72 +24801,108 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated")
|
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class NoConflictingOverloadsWithDeprecated {
|
public class NoConflictingOverloadsWithDeprecatedHidden {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecated() throws Exception {
|
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecatedHidden() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInClass.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInPackage.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsGenericFunctions.kt")
|
|
||||||
public void testConflictingOverloadsGenericFunctions() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsGenericFunctions.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalExtFunsInPackage.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalExtFunsInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalExtFunsInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalFunsInClass.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalFunsInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalFunsInClass.kt");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
||||||
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalValsInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsIdenticalValsInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
||||||
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConstructorVsFunOverload.kt")
|
@TestMetadata("ConstructorVsFunOverload.kt")
|
||||||
public void testConstructorVsFunOverload() throws Exception {
|
public void testConstructorVsFunOverload() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConstructorVsFunOverload.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInMemberScope.kt")
|
||||||
|
public void testConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInPackage.kt")
|
||||||
|
public void testConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsOnTopLevel.kt")
|
||||||
|
public void testConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("DifferentDeprecationLevels.kt")
|
||||||
|
public void testDifferentDeprecationLevels() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/DifferentDeprecationLevels.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInMemberScope.kt")
|
||||||
|
public void testFunctionsAndConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInPackage.kt")
|
||||||
|
public void testFunctionsAndConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsOnTopLevel.kt")
|
||||||
|
public void testFunctionsAndConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInMemberScope.kt")
|
||||||
|
public void testFunctionsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInPackage.kt")
|
||||||
|
public void testFunctionsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsOnTopLevel.kt")
|
||||||
|
public void testFunctionsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsOnTopLevel.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("LocalFunctions.kt")
|
@TestMetadata("LocalFunctions.kt")
|
||||||
public void testLocalFunctions() throws Exception {
|
public void testLocalFunctions() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/LocalFunctions.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/LocalFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("NoHiddenTransitivityFromClassifierToConstructor.kt")
|
||||||
|
public void testNoHiddenTransitivityFromClassifierToConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/NoHiddenTransitivityFromClassifierToConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("TypeParameterMultipleBounds.kt")
|
@TestMetadata("TypeParameterMultipleBounds.kt")
|
||||||
public void testTypeParameterMultipleBounds() throws Exception {
|
public void testTypeParameterMultipleBounds() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/TypeParameterMultipleBounds.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/TypeParameterMultipleBounds.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+75
-39
@@ -24807,72 +24807,108 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated")
|
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class NoConflictingOverloadsWithDeprecated {
|
public class NoConflictingOverloadsWithDeprecatedHidden {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecated() throws Exception {
|
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecatedHidden() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInClass.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInPackage.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsGenericFunctions.kt")
|
|
||||||
public void testConflictingOverloadsGenericFunctions() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsGenericFunctions.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalExtFunsInPackage.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalExtFunsInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalExtFunsInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalFunsInClass.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalFunsInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalFunsInClass.kt");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
||||||
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalValsInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsIdenticalValsInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
||||||
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConstructorVsFunOverload.kt")
|
@TestMetadata("ConstructorVsFunOverload.kt")
|
||||||
public void testConstructorVsFunOverload() throws Exception {
|
public void testConstructorVsFunOverload() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConstructorVsFunOverload.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInMemberScope.kt")
|
||||||
|
public void testConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInPackage.kt")
|
||||||
|
public void testConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsOnTopLevel.kt")
|
||||||
|
public void testConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("DifferentDeprecationLevels.kt")
|
||||||
|
public void testDifferentDeprecationLevels() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/DifferentDeprecationLevels.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInMemberScope.kt")
|
||||||
|
public void testFunctionsAndConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInPackage.kt")
|
||||||
|
public void testFunctionsAndConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsOnTopLevel.kt")
|
||||||
|
public void testFunctionsAndConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInMemberScope.kt")
|
||||||
|
public void testFunctionsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInPackage.kt")
|
||||||
|
public void testFunctionsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsOnTopLevel.kt")
|
||||||
|
public void testFunctionsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsOnTopLevel.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("LocalFunctions.kt")
|
@TestMetadata("LocalFunctions.kt")
|
||||||
public void testLocalFunctions() throws Exception {
|
public void testLocalFunctions() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/LocalFunctions.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/LocalFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("NoHiddenTransitivityFromClassifierToConstructor.kt")
|
||||||
|
public void testNoHiddenTransitivityFromClassifierToConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/NoHiddenTransitivityFromClassifierToConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("TypeParameterMultipleBounds.kt")
|
@TestMetadata("TypeParameterMultipleBounds.kt")
|
||||||
public void testTypeParameterMultipleBounds() throws Exception {
|
public void testTypeParameterMultipleBounds() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/TypeParameterMultipleBounds.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/TypeParameterMultipleBounds.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+75
-39
@@ -26801,72 +26801,108 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated")
|
@TestMetadata("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class NoConflictingOverloadsWithDeprecated {
|
public class NoConflictingOverloadsWithDeprecatedHidden {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecated() throws Exception {
|
public void testAllFilesPresentInNoConflictingOverloadsWithDeprecatedHidden() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInClass.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInPackage.kt")
|
|
||||||
public void testConflictingOverloadsFunsDifferentReturnInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsFunsDifferentReturnInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsGenericFunctions.kt")
|
|
||||||
public void testConflictingOverloadsGenericFunctions() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsGenericFunctions.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalExtFunsInPackage.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalExtFunsInPackage() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalExtFunsInPackage.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalFunsInClass.kt")
|
|
||||||
public void testConflictingOverloadsIdenticalFunsInClass() throws Exception {
|
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalFunsInClass.kt");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
||||||
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsIdenticalValsInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsIdenticalValsInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
@TestMetadata("ConflictingOverloadsValsDifferentTypeInClass.kt")
|
||||||
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
public void testConflictingOverloadsValsDifferentTypeInClass() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsValsDifferentTypeInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("ConstructorVsFunOverload.kt")
|
@TestMetadata("ConstructorVsFunOverload.kt")
|
||||||
public void testConstructorVsFunOverload() throws Exception {
|
public void testConstructorVsFunOverload() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/ConstructorVsFunOverload.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInMemberScope.kt")
|
||||||
|
public void testConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsInPackage.kt")
|
||||||
|
public void testConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("ConstructorsOnTopLevel.kt")
|
||||||
|
public void testConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("DifferentDeprecationLevels.kt")
|
||||||
|
public void testDifferentDeprecationLevels() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/DifferentDeprecationLevels.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInMemberScope.kt")
|
||||||
|
public void testFunctionsAndConstructorsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsInPackage.kt")
|
||||||
|
public void testFunctionsAndConstructorsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsAndConstructorsOnTopLevel.kt")
|
||||||
|
public void testFunctionsAndConstructorsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsAndConstructorsOnTopLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInMemberScope.kt")
|
||||||
|
public void testFunctionsInMemberScope() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInMemberScope.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsInPackage.kt")
|
||||||
|
public void testFunctionsInPackage() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsInPackage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("FunctionsOnTopLevel.kt")
|
||||||
|
public void testFunctionsOnTopLevel() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/FunctionsOnTopLevel.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("LocalFunctions.kt")
|
@TestMetadata("LocalFunctions.kt")
|
||||||
public void testLocalFunctions() throws Exception {
|
public void testLocalFunctions() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/LocalFunctions.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/LocalFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("NoHiddenTransitivityFromClassifierToConstructor.kt")
|
||||||
|
public void testNoHiddenTransitivityFromClassifierToConstructor() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/NoHiddenTransitivityFromClassifierToConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("TypeParameterMultipleBounds.kt")
|
@TestMetadata("TypeParameterMultipleBounds.kt")
|
||||||
public void testTypeParameterMultipleBounds() throws Exception {
|
public void testTypeParameterMultipleBounds() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecated/TypeParameterMultipleBounds.kt");
|
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/TypeParameterMultipleBounds.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user