[Test] Regenerate tests after two previous commits

This commit is contained in:
Dmitriy Novozhilov
2024-02-16 13:04:43 +02:00
committed by Space Team
parent d9beae0556
commit acf2296590
822 changed files with 1698183 additions and 1698183 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,56 +20,56 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/incremental/invalidationWithPL")
@TestDataPath("$PROJECT_ROOT")
public class JsFirInvalidationPerFileWithPLTestGenerated extends AbstractJsFirInvalidationPerFileWithPLTest {
@Test
public void testAllFilesPresentInInvalidationWithPL() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidationWithPL"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
public void testAllFilesPresentInInvalidationWithPL() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidationWithPL"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
@TestMetadata("changeFunctionSignature")
public void testChangeFunctionSignature() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/changeFunctionSignature/");
}
@Test
@TestMetadata("changeFunctionSignature")
public void testChangeFunctionSignature() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/changeFunctionSignature/");
}
@Test
@TestMetadata("interfaceBecomeClass")
public void testInterfaceBecomeClass() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/interfaceBecomeClass/");
}
@Test
@TestMetadata("interfaceBecomeClass")
public void testInterfaceBecomeClass() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/interfaceBecomeClass/");
}
@Test
@TestMetadata("removeFunction")
public void testRemoveFunction() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunction/");
}
@Test
@TestMetadata("removeFunction")
public void testRemoveFunction() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunction/");
}
@Test
@TestMetadata("removeFunctionFromBlock")
public void testRemoveFunctionFromBlock() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromBlock/");
}
@Test
@TestMetadata("removeFunctionFromBlock")
public void testRemoveFunctionFromBlock() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromBlock/");
}
@Test
@TestMetadata("removeFunctionFromChainCall")
public void testRemoveFunctionFromChainCall() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromChainCall/");
}
@Test
@TestMetadata("removeFunctionFromChainCall")
public void testRemoveFunctionFromChainCall() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromChainCall/");
}
@Test
@TestMetadata("removeFunctionFromElvis")
public void testRemoveFunctionFromElvis() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromElvis/");
}
@Test
@TestMetadata("removeFunctionFromElvis")
public void testRemoveFunctionFromElvis() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromElvis/");
}
@Test
@TestMetadata("removeFunctionFromInline")
public void testRemoveFunctionFromInline() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromInline/");
}
@Test
@TestMetadata("removeFunctionFromInline")
public void testRemoveFunctionFromInline() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromInline/");
}
@Test
@TestMetadata("removeInlineFunction")
public void testRemoveInlineFunction() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeInlineFunction/");
}
@Test
@TestMetadata("removeInlineFunction")
public void testRemoveInlineFunction() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeInlineFunction/");
}
}
File diff suppressed because it is too large Load Diff
@@ -20,56 +20,56 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/incremental/invalidationWithPL")
@TestDataPath("$PROJECT_ROOT")
public class JsFirInvalidationPerModuleWithPLTestGenerated extends AbstractJsFirInvalidationPerModuleWithPLTest {
@Test
public void testAllFilesPresentInInvalidationWithPL() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidationWithPL"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
public void testAllFilesPresentInInvalidationWithPL() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidationWithPL"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
@TestMetadata("changeFunctionSignature")
public void testChangeFunctionSignature() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/changeFunctionSignature/");
}
@Test
@TestMetadata("changeFunctionSignature")
public void testChangeFunctionSignature() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/changeFunctionSignature/");
}
@Test
@TestMetadata("interfaceBecomeClass")
public void testInterfaceBecomeClass() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/interfaceBecomeClass/");
}
@Test
@TestMetadata("interfaceBecomeClass")
public void testInterfaceBecomeClass() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/interfaceBecomeClass/");
}
@Test
@TestMetadata("removeFunction")
public void testRemoveFunction() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunction/");
}
@Test
@TestMetadata("removeFunction")
public void testRemoveFunction() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunction/");
}
@Test
@TestMetadata("removeFunctionFromBlock")
public void testRemoveFunctionFromBlock() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromBlock/");
}
@Test
@TestMetadata("removeFunctionFromBlock")
public void testRemoveFunctionFromBlock() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromBlock/");
}
@Test
@TestMetadata("removeFunctionFromChainCall")
public void testRemoveFunctionFromChainCall() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromChainCall/");
}
@Test
@TestMetadata("removeFunctionFromChainCall")
public void testRemoveFunctionFromChainCall() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromChainCall/");
}
@Test
@TestMetadata("removeFunctionFromElvis")
public void testRemoveFunctionFromElvis() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromElvis/");
}
@Test
@TestMetadata("removeFunctionFromElvis")
public void testRemoveFunctionFromElvis() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromElvis/");
}
@Test
@TestMetadata("removeFunctionFromInline")
public void testRemoveFunctionFromInline() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromInline/");
}
@Test
@TestMetadata("removeFunctionFromInline")
public void testRemoveFunctionFromInline() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromInline/");
}
@Test
@TestMetadata("removeInlineFunction")
public void testRemoveInlineFunction() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeInlineFunction/");
}
@Test
@TestMetadata("removeInlineFunction")
public void testRemoveInlineFunction() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeInlineFunction/");
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,56 +20,56 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/incremental/invalidationWithPL")
@TestDataPath("$PROJECT_ROOT")
public class JsIrInvalidationPerFileWithPLTestGenerated extends AbstractJsIrInvalidationPerFileWithPLTest {
@Test
public void testAllFilesPresentInInvalidationWithPL() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidationWithPL"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
public void testAllFilesPresentInInvalidationWithPL() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidationWithPL"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
@TestMetadata("changeFunctionSignature")
public void testChangeFunctionSignature() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/changeFunctionSignature/");
}
@Test
@TestMetadata("changeFunctionSignature")
public void testChangeFunctionSignature() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/changeFunctionSignature/");
}
@Test
@TestMetadata("interfaceBecomeClass")
public void testInterfaceBecomeClass() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/interfaceBecomeClass/");
}
@Test
@TestMetadata("interfaceBecomeClass")
public void testInterfaceBecomeClass() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/interfaceBecomeClass/");
}
@Test
@TestMetadata("removeFunction")
public void testRemoveFunction() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunction/");
}
@Test
@TestMetadata("removeFunction")
public void testRemoveFunction() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunction/");
}
@Test
@TestMetadata("removeFunctionFromBlock")
public void testRemoveFunctionFromBlock() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromBlock/");
}
@Test
@TestMetadata("removeFunctionFromBlock")
public void testRemoveFunctionFromBlock() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromBlock/");
}
@Test
@TestMetadata("removeFunctionFromChainCall")
public void testRemoveFunctionFromChainCall() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromChainCall/");
}
@Test
@TestMetadata("removeFunctionFromChainCall")
public void testRemoveFunctionFromChainCall() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromChainCall/");
}
@Test
@TestMetadata("removeFunctionFromElvis")
public void testRemoveFunctionFromElvis() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromElvis/");
}
@Test
@TestMetadata("removeFunctionFromElvis")
public void testRemoveFunctionFromElvis() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromElvis/");
}
@Test
@TestMetadata("removeFunctionFromInline")
public void testRemoveFunctionFromInline() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromInline/");
}
@Test
@TestMetadata("removeFunctionFromInline")
public void testRemoveFunctionFromInline() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromInline/");
}
@Test
@TestMetadata("removeInlineFunction")
public void testRemoveInlineFunction() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeInlineFunction/");
}
@Test
@TestMetadata("removeInlineFunction")
public void testRemoveInlineFunction() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeInlineFunction/");
}
}
File diff suppressed because it is too large Load Diff
@@ -20,56 +20,56 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/incremental/invalidationWithPL")
@TestDataPath("$PROJECT_ROOT")
public class JsIrInvalidationPerModuleWithPLTestGenerated extends AbstractJsIrInvalidationPerModuleWithPLTest {
@Test
public void testAllFilesPresentInInvalidationWithPL() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidationWithPL"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
public void testAllFilesPresentInInvalidationWithPL() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidationWithPL"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
@TestMetadata("changeFunctionSignature")
public void testChangeFunctionSignature() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/changeFunctionSignature/");
}
@Test
@TestMetadata("changeFunctionSignature")
public void testChangeFunctionSignature() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/changeFunctionSignature/");
}
@Test
@TestMetadata("interfaceBecomeClass")
public void testInterfaceBecomeClass() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/interfaceBecomeClass/");
}
@Test
@TestMetadata("interfaceBecomeClass")
public void testInterfaceBecomeClass() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/interfaceBecomeClass/");
}
@Test
@TestMetadata("removeFunction")
public void testRemoveFunction() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunction/");
}
@Test
@TestMetadata("removeFunction")
public void testRemoveFunction() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunction/");
}
@Test
@TestMetadata("removeFunctionFromBlock")
public void testRemoveFunctionFromBlock() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromBlock/");
}
@Test
@TestMetadata("removeFunctionFromBlock")
public void testRemoveFunctionFromBlock() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromBlock/");
}
@Test
@TestMetadata("removeFunctionFromChainCall")
public void testRemoveFunctionFromChainCall() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromChainCall/");
}
@Test
@TestMetadata("removeFunctionFromChainCall")
public void testRemoveFunctionFromChainCall() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromChainCall/");
}
@Test
@TestMetadata("removeFunctionFromElvis")
public void testRemoveFunctionFromElvis() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromElvis/");
}
@Test
@TestMetadata("removeFunctionFromElvis")
public void testRemoveFunctionFromElvis() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromElvis/");
}
@Test
@TestMetadata("removeFunctionFromInline")
public void testRemoveFunctionFromInline() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromInline/");
}
@Test
@TestMetadata("removeFunctionFromInline")
public void testRemoveFunctionFromInline() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeFunctionFromInline/");
}
@Test
@TestMetadata("removeInlineFunction")
public void testRemoveInlineFunction() throws Exception {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeInlineFunction/");
}
@Test
@TestMetadata("removeInlineFunction")
public void testRemoveInlineFunction() {
runTest("js/js.translator/testData/incremental/invalidationWithPL/removeInlineFunction/");
}
}
@@ -20,112 +20,112 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/boxError")
@TestDataPath("$PROJECT_ROOT")
public class FirJsCodegenBoxErrorTestGenerated extends AbstractFirJsCodegenBoxErrorTest {
@Test
public void testAllFilesPresentInBoxError() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true, "compileKotlinAgainstKotlin");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/semantic")
@TestDataPath("$PROJECT_ROOT")
public class Semantic {
@Test
public void testAllFilesPresentInBoxError() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true, "compileKotlinAgainstKotlin");
public void testAllFilesPresentInSemantic() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/semantic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/semantic")
@TestDataPath("$PROJECT_ROOT")
public class Semantic {
@Test
public void testAllFilesPresentInSemantic() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/semantic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("castToErrorType.kt")
public void testCastToErrorType() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/castToErrorType.kt");
}
@Test
@TestMetadata("catchErrorType.kt")
public void testCatchErrorType() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/catchErrorType.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/evaluationOrder.kt");
}
@Test
@TestMetadata("mismatchTypeParameters.kt")
public void testMismatchTypeParameters() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt");
}
@Test
@TestMetadata("missedBody.kt")
public void testMissedBody() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/missedBody.kt");
}
@Test
@TestMetadata("reifiedNonInline.kt")
public void testReifiedNonInline() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@Test
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@Test
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");
}
@Test
@TestMetadata("unmatchedArguments.kt")
public void testUnmatchedArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt");
}
@Test
@TestMetadata("unresolvedFunctionReferece.kt")
public void testUnresolvedFunctionReferece() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt");
}
@Test
@TestMetadata("castToErrorType.kt")
public void testCastToErrorType() {
runTest("compiler/testData/codegen/boxError/semantic/castToErrorType.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/syntax"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("arrowReference.kt")
public void testArrowReference() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/arrowReference.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/evaluationOrder.kt");
}
@Test
@TestMetadata("incorectLexicalName.kt")
public void testIncorectLexicalName() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt");
}
@Test
@TestMetadata("missedArgument.kt")
public void testMissedArgument() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/missedArgument.kt");
}
@Test
@TestMetadata("catchErrorType.kt")
public void testCatchErrorType() {
runTest("compiler/testData/codegen/boxError/semantic/catchErrorType.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() {
runTest("compiler/testData/codegen/boxError/semantic/evaluationOrder.kt");
}
@Test
@TestMetadata("mismatchTypeParameters.kt")
public void testMismatchTypeParameters() {
runTest("compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt");
}
@Test
@TestMetadata("missedBody.kt")
public void testMissedBody() {
runTest("compiler/testData/codegen/boxError/semantic/missedBody.kt");
}
@Test
@TestMetadata("reifiedNonInline.kt")
public void testReifiedNonInline() {
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@Test
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@Test
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");
}
@Test
@TestMetadata("unmatchedArguments.kt")
public void testUnmatchedArguments() {
runTest("compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt");
}
@Test
@TestMetadata("unresolvedFunctionReferece.kt")
public void testUnresolvedFunctionReferece() {
runTest("compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/syntax"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("arrowReference.kt")
public void testArrowReference() {
runTest("compiler/testData/codegen/boxError/syntax/arrowReference.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() {
runTest("compiler/testData/codegen/boxError/syntax/evaluationOrder.kt");
}
@Test
@TestMetadata("incorectLexicalName.kt")
public void testIncorectLexicalName() {
runTest("compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt");
}
@Test
@TestMetadata("missedArgument.kt")
public void testMissedArgument() {
runTest("compiler/testData/codegen/boxError/syntax/missedArgument.kt");
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,102 +20,102 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop")
@TestDataPath("$PROJECT_ROOT")
public class FirJsCodegenWasmJsInteropTestGenerated extends AbstractFirJsCodegenWasmJsInteropTest {
@Test
public void testAllFilesPresentInBoxWasmJsInterop() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInBoxWasmJsInterop() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("defaultValues.kt")
public void testDefaultValues() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
}
@Test
@TestMetadata("defaultValues.kt")
public void testDefaultValues() {
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
}
@Test
@TestMetadata("externalTypeOperators.kt")
public void testExternalTypeOperators() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
}
@Test
@TestMetadata("externalTypeOperators.kt")
public void testExternalTypeOperators() {
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
}
@Test
@TestMetadata("externals.kt")
public void testExternals() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
}
@Test
@TestMetadata("externals.kt")
public void testExternals() {
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
}
@Test
@TestMetadata("functionTypes.kt")
public void testFunctionTypes() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
}
@Test
@TestMetadata("functionTypes.kt")
public void testFunctionTypes() {
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
}
@Test
@TestMetadata("jsModule.kt")
public void testJsModule() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
}
@Test
@TestMetadata("jsModule.kt")
public void testJsModule() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
}
@Test
@TestMetadata("jsModuleWithQualifier.kt")
public void testJsModuleWithQualifier() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
}
@Test
@TestMetadata("jsModuleWithQualifier.kt")
public void testJsModuleWithQualifier() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
}
@Test
@TestMetadata("jsQualifier.kt")
public void testJsQualifier() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
}
@Test
@TestMetadata("jsQualifier.kt")
public void testJsQualifier() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
}
@Test
@TestMetadata("jsToKotlinAdapters.kt")
public void testJsToKotlinAdapters() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
}
@Test
@TestMetadata("jsToKotlinAdapters.kt")
public void testJsToKotlinAdapters() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
}
@Test
@TestMetadata("kotlinToJsAdapters.kt")
public void testKotlinToJsAdapters() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
}
@Test
@TestMetadata("kotlinToJsAdapters.kt")
public void testKotlinToJsAdapters() {
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
}
@Test
@TestMetadata("longStrings.kt")
public void testLongStrings() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
}
@Test
@TestMetadata("longStrings.kt")
public void testLongStrings() {
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
}
@Test
@TestMetadata("nameClash.kt")
public void testNameClash() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
}
@Test
@TestMetadata("nameClash.kt")
public void testNameClash() {
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
}
@Test
@TestMetadata("types.kt")
public void testTypes() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
}
@Test
@TestMetadata("types.kt")
public void testTypes() {
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
}
@Test
@TestMetadata("vararg.kt")
public void testVararg() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
}
@Test
@TestMetadata("vararg.kt")
public void testVararg() {
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
@TestDataPath("$PROJECT_ROOT")
public class TypeScriptDeclarations {
@Test
public void testAllFilesPresentInTypeScriptDeclarations() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
@TestDataPath("$PROJECT_ROOT")
public class TypeScriptDeclarations {
@Test
public void testAllFilesPresentInTypeScriptDeclarations() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
}
}
File diff suppressed because it is too large Load Diff
@@ -20,112 +20,112 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/boxError")
@TestDataPath("$PROJECT_ROOT")
public class FirJsES6CodegenBoxErrorTestGenerated extends AbstractFirJsES6CodegenBoxErrorTest {
@Test
public void testAllFilesPresentInBoxError() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true, "compileKotlinAgainstKotlin");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/semantic")
@TestDataPath("$PROJECT_ROOT")
public class Semantic {
@Test
public void testAllFilesPresentInBoxError() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true, "compileKotlinAgainstKotlin");
public void testAllFilesPresentInSemantic() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/semantic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/semantic")
@TestDataPath("$PROJECT_ROOT")
public class Semantic {
@Test
public void testAllFilesPresentInSemantic() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/semantic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("castToErrorType.kt")
public void testCastToErrorType() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/castToErrorType.kt");
}
@Test
@TestMetadata("catchErrorType.kt")
public void testCatchErrorType() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/catchErrorType.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/evaluationOrder.kt");
}
@Test
@TestMetadata("mismatchTypeParameters.kt")
public void testMismatchTypeParameters() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt");
}
@Test
@TestMetadata("missedBody.kt")
public void testMissedBody() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/missedBody.kt");
}
@Test
@TestMetadata("reifiedNonInline.kt")
public void testReifiedNonInline() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@Test
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@Test
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");
}
@Test
@TestMetadata("unmatchedArguments.kt")
public void testUnmatchedArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt");
}
@Test
@TestMetadata("unresolvedFunctionReferece.kt")
public void testUnresolvedFunctionReferece() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt");
}
@Test
@TestMetadata("castToErrorType.kt")
public void testCastToErrorType() {
runTest("compiler/testData/codegen/boxError/semantic/castToErrorType.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/syntax"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("arrowReference.kt")
public void testArrowReference() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/arrowReference.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/evaluationOrder.kt");
}
@Test
@TestMetadata("incorectLexicalName.kt")
public void testIncorectLexicalName() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt");
}
@Test
@TestMetadata("missedArgument.kt")
public void testMissedArgument() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/missedArgument.kt");
}
@Test
@TestMetadata("catchErrorType.kt")
public void testCatchErrorType() {
runTest("compiler/testData/codegen/boxError/semantic/catchErrorType.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() {
runTest("compiler/testData/codegen/boxError/semantic/evaluationOrder.kt");
}
@Test
@TestMetadata("mismatchTypeParameters.kt")
public void testMismatchTypeParameters() {
runTest("compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt");
}
@Test
@TestMetadata("missedBody.kt")
public void testMissedBody() {
runTest("compiler/testData/codegen/boxError/semantic/missedBody.kt");
}
@Test
@TestMetadata("reifiedNonInline.kt")
public void testReifiedNonInline() {
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@Test
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@Test
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");
}
@Test
@TestMetadata("unmatchedArguments.kt")
public void testUnmatchedArguments() {
runTest("compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt");
}
@Test
@TestMetadata("unresolvedFunctionReferece.kt")
public void testUnresolvedFunctionReferece() {
runTest("compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/syntax"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("arrowReference.kt")
public void testArrowReference() {
runTest("compiler/testData/codegen/boxError/syntax/arrowReference.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() {
runTest("compiler/testData/codegen/boxError/syntax/evaluationOrder.kt");
}
@Test
@TestMetadata("incorectLexicalName.kt")
public void testIncorectLexicalName() {
runTest("compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt");
}
@Test
@TestMetadata("missedArgument.kt")
public void testMissedArgument() {
runTest("compiler/testData/codegen/boxError/syntax/missedArgument.kt");
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,102 +20,102 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop")
@TestDataPath("$PROJECT_ROOT")
public class FirJsES6CodegenWasmJsInteropTestGenerated extends AbstractFirJsES6CodegenWasmJsInteropTest {
@Test
public void testAllFilesPresentInBoxWasmJsInterop() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
public void testAllFilesPresentInBoxWasmJsInterop() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("defaultValues.kt")
public void testDefaultValues() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
}
@Test
@TestMetadata("defaultValues.kt")
public void testDefaultValues() {
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
}
@Test
@TestMetadata("externalTypeOperators.kt")
public void testExternalTypeOperators() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
}
@Test
@TestMetadata("externalTypeOperators.kt")
public void testExternalTypeOperators() {
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
}
@Test
@TestMetadata("externals.kt")
public void testExternals() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
}
@Test
@TestMetadata("externals.kt")
public void testExternals() {
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
}
@Test
@TestMetadata("functionTypes.kt")
public void testFunctionTypes() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
}
@Test
@TestMetadata("functionTypes.kt")
public void testFunctionTypes() {
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
}
@Test
@TestMetadata("jsModule.kt")
public void testJsModule() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
}
@Test
@TestMetadata("jsModule.kt")
public void testJsModule() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
}
@Test
@TestMetadata("jsModuleWithQualifier.kt")
public void testJsModuleWithQualifier() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
}
@Test
@TestMetadata("jsModuleWithQualifier.kt")
public void testJsModuleWithQualifier() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
}
@Test
@TestMetadata("jsQualifier.kt")
public void testJsQualifier() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
}
@Test
@TestMetadata("jsQualifier.kt")
public void testJsQualifier() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
}
@Test
@TestMetadata("jsToKotlinAdapters.kt")
public void testJsToKotlinAdapters() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
}
@Test
@TestMetadata("jsToKotlinAdapters.kt")
public void testJsToKotlinAdapters() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
}
@Test
@TestMetadata("kotlinToJsAdapters.kt")
public void testKotlinToJsAdapters() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
}
@Test
@TestMetadata("kotlinToJsAdapters.kt")
public void testKotlinToJsAdapters() {
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
}
@Test
@TestMetadata("longStrings.kt")
public void testLongStrings() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
}
@Test
@TestMetadata("longStrings.kt")
public void testLongStrings() {
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
}
@Test
@TestMetadata("nameClash.kt")
public void testNameClash() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
}
@Test
@TestMetadata("nameClash.kt")
public void testNameClash() {
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
}
@Test
@TestMetadata("types.kt")
public void testTypes() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
}
@Test
@TestMetadata("types.kt")
public void testTypes() {
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
}
@Test
@TestMetadata("vararg.kt")
public void testVararg() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
}
@Test
@TestMetadata("vararg.kt")
public void testVararg() {
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
@TestDataPath("$PROJECT_ROOT")
public class TypeScriptDeclarations {
@Test
public void testAllFilesPresentInTypeScriptDeclarations() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
@TestDataPath("$PROJECT_ROOT")
public class TypeScriptDeclarations {
@Test
public void testAllFilesPresentInTypeScriptDeclarations() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
}
}
@@ -20,324 +20,324 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/lineNumbers")
@TestDataPath("$PROJECT_ROOT")
public class FirJsLineNumberTestGenerated extends AbstractFirJsLineNumberTest {
@Test
public void testAllFilesPresentInLineNumbers() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/lineNumbers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInLineNumbers() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/lineNumbers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("andAndWithSideEffect.kt")
public void testAndAndWithSideEffect() throws Exception {
runTest("js/js.translator/testData/lineNumbers/andAndWithSideEffect.kt");
}
@Test
@TestMetadata("andAndWithSideEffect.kt")
public void testAndAndWithSideEffect() {
runTest("js/js.translator/testData/lineNumbers/andAndWithSideEffect.kt");
}
@Test
@TestMetadata("backingField.kt")
public void testBackingField() throws Exception {
runTest("js/js.translator/testData/lineNumbers/backingField.kt");
}
@Test
@TestMetadata("backingField.kt")
public void testBackingField() {
runTest("js/js.translator/testData/lineNumbers/backingField.kt");
}
@Test
@TestMetadata("catch.kt")
public void testCatch() throws Exception {
runTest("js/js.translator/testData/lineNumbers/catch.kt");
}
@Test
@TestMetadata("catch.kt")
public void testCatch() {
runTest("js/js.translator/testData/lineNumbers/catch.kt");
}
@Test
@TestMetadata("chainedCall.kt")
public void testChainedCall() throws Exception {
runTest("js/js.translator/testData/lineNumbers/chainedCall.kt");
}
@Test
@TestMetadata("chainedCall.kt")
public void testChainedCall() {
runTest("js/js.translator/testData/lineNumbers/chainedCall.kt");
}
@Test
@TestMetadata("classCapturingLocals.kt")
public void testClassCapturingLocals() throws Exception {
runTest("js/js.translator/testData/lineNumbers/classCapturingLocals.kt");
}
@Test
@TestMetadata("classCapturingLocals.kt")
public void testClassCapturingLocals() {
runTest("js/js.translator/testData/lineNumbers/classCapturingLocals.kt");
}
@Test
@TestMetadata("closure.kt")
public void testClosure() throws Exception {
runTest("js/js.translator/testData/lineNumbers/closure.kt");
}
@Test
@TestMetadata("closure.kt")
public void testClosure() {
runTest("js/js.translator/testData/lineNumbers/closure.kt");
}
@Test
@TestMetadata("complexExpressionAsDefaultArgument.kt")
public void testComplexExpressionAsDefaultArgument() throws Exception {
runTest("js/js.translator/testData/lineNumbers/complexExpressionAsDefaultArgument.kt");
}
@Test
@TestMetadata("complexExpressionAsDefaultArgument.kt")
public void testComplexExpressionAsDefaultArgument() {
runTest("js/js.translator/testData/lineNumbers/complexExpressionAsDefaultArgument.kt");
}
@Test
@TestMetadata("conditionalDecomposed.kt")
public void testConditionalDecomposed() throws Exception {
runTest("js/js.translator/testData/lineNumbers/conditionalDecomposed.kt");
}
@Test
@TestMetadata("conditionalDecomposed.kt")
public void testConditionalDecomposed() {
runTest("js/js.translator/testData/lineNumbers/conditionalDecomposed.kt");
}
@Test
@TestMetadata("coroutine.kt")
public void testCoroutine() throws Exception {
runTest("js/js.translator/testData/lineNumbers/coroutine.kt");
}
@Test
@TestMetadata("coroutine.kt")
public void testCoroutine() {
runTest("js/js.translator/testData/lineNumbers/coroutine.kt");
}
@Test
@TestMetadata("coroutineNullAssertion.kt")
public void testCoroutineNullAssertion() throws Exception {
runTest("js/js.translator/testData/lineNumbers/coroutineNullAssertion.kt");
}
@Test
@TestMetadata("coroutineNullAssertion.kt")
public void testCoroutineNullAssertion() {
runTest("js/js.translator/testData/lineNumbers/coroutineNullAssertion.kt");
}
@Test
@TestMetadata("dataClass.kt")
public void testDataClass() throws Exception {
runTest("js/js.translator/testData/lineNumbers/dataClass.kt");
}
@Test
@TestMetadata("dataClass.kt")
public void testDataClass() {
runTest("js/js.translator/testData/lineNumbers/dataClass.kt");
}
@Test
@TestMetadata("delegateMemberVal.kt")
public void testDelegateMemberVal() throws Exception {
runTest("js/js.translator/testData/lineNumbers/delegateMemberVal.kt");
}
@Test
@TestMetadata("delegateMemberVal.kt")
public void testDelegateMemberVal() {
runTest("js/js.translator/testData/lineNumbers/delegateMemberVal.kt");
}
@Test
@TestMetadata("delegatedProperty.kt")
public void testDelegatedProperty() throws Exception {
runTest("js/js.translator/testData/lineNumbers/delegatedProperty.kt");
}
@Test
@TestMetadata("delegatedProperty.kt")
public void testDelegatedProperty() {
runTest("js/js.translator/testData/lineNumbers/delegatedProperty.kt");
}
@Test
@TestMetadata("delegation.kt")
public void testDelegation() throws Exception {
runTest("js/js.translator/testData/lineNumbers/delegation.kt");
}
@Test
@TestMetadata("delegation.kt")
public void testDelegation() {
runTest("js/js.translator/testData/lineNumbers/delegation.kt");
}
@Test
@TestMetadata("destructuring.kt")
public void testDestructuring() throws Exception {
runTest("js/js.translator/testData/lineNumbers/destructuring.kt");
}
@Test
@TestMetadata("destructuring.kt")
public void testDestructuring() {
runTest("js/js.translator/testData/lineNumbers/destructuring.kt");
}
@Test
@TestMetadata("destructuringInline.kt")
public void testDestructuringInline() throws Exception {
runTest("js/js.translator/testData/lineNumbers/destructuringInline.kt");
}
@Test
@TestMetadata("destructuringInline.kt")
public void testDestructuringInline() {
runTest("js/js.translator/testData/lineNumbers/destructuringInline.kt");
}
@Test
@TestMetadata("doWhileWithComplexCondition.kt")
public void testDoWhileWithComplexCondition() throws Exception {
runTest("js/js.translator/testData/lineNumbers/doWhileWithComplexCondition.kt");
}
@Test
@TestMetadata("doWhileWithComplexCondition.kt")
public void testDoWhileWithComplexCondition() {
runTest("js/js.translator/testData/lineNumbers/doWhileWithComplexCondition.kt");
}
@Test
@TestMetadata("elvis.kt")
public void testElvis() throws Exception {
runTest("js/js.translator/testData/lineNumbers/elvis.kt");
}
@Test
@TestMetadata("elvis.kt")
public void testElvis() {
runTest("js/js.translator/testData/lineNumbers/elvis.kt");
}
@Test
@TestMetadata("enumCompanionObject.kt")
public void testEnumCompanionObject() throws Exception {
runTest("js/js.translator/testData/lineNumbers/enumCompanionObject.kt");
}
@Test
@TestMetadata("enumCompanionObject.kt")
public void testEnumCompanionObject() {
runTest("js/js.translator/testData/lineNumbers/enumCompanionObject.kt");
}
@Test
@TestMetadata("enumObject.kt")
public void testEnumObject() throws Exception {
runTest("js/js.translator/testData/lineNumbers/enumObject.kt");
}
@Test
@TestMetadata("enumObject.kt")
public void testEnumObject() {
runTest("js/js.translator/testData/lineNumbers/enumObject.kt");
}
@Test
@TestMetadata("expressionAsFunctionBody.kt")
public void testExpressionAsFunctionBody() throws Exception {
runTest("js/js.translator/testData/lineNumbers/expressionAsFunctionBody.kt");
}
@Test
@TestMetadata("expressionAsFunctionBody.kt")
public void testExpressionAsFunctionBody() {
runTest("js/js.translator/testData/lineNumbers/expressionAsFunctionBody.kt");
}
@Test
@TestMetadata("for.kt")
public void testFor() throws Exception {
runTest("js/js.translator/testData/lineNumbers/for.kt");
}
@Test
@TestMetadata("for.kt")
public void testFor() {
runTest("js/js.translator/testData/lineNumbers/for.kt");
}
@Test
@TestMetadata("increment.kt")
public void testIncrement() throws Exception {
runTest("js/js.translator/testData/lineNumbers/increment.kt");
}
@Test
@TestMetadata("increment.kt")
public void testIncrement() {
runTest("js/js.translator/testData/lineNumbers/increment.kt");
}
@Test
@TestMetadata("inlineArguments.kt")
public void testInlineArguments() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlineArguments.kt");
}
@Test
@TestMetadata("inlineArguments.kt")
public void testInlineArguments() {
runTest("js/js.translator/testData/lineNumbers/inlineArguments.kt");
}
@Test
@TestMetadata("inlineLocalVarsRef.kt")
public void testInlineLocalVarsRef() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlineLocalVarsRef.kt");
}
@Test
@TestMetadata("inlineLocalVarsRef.kt")
public void testInlineLocalVarsRef() {
runTest("js/js.translator/testData/lineNumbers/inlineLocalVarsRef.kt");
}
@Test
@TestMetadata("inlineReturn.kt")
public void testInlineReturn() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlineReturn.kt");
}
@Test
@TestMetadata("inlineReturn.kt")
public void testInlineReturn() {
runTest("js/js.translator/testData/lineNumbers/inlineReturn.kt");
}
@Test
@TestMetadata("inlining.kt")
public void testInlining() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlining.kt");
}
@Test
@TestMetadata("inlining.kt")
public void testInlining() {
runTest("js/js.translator/testData/lineNumbers/inlining.kt");
}
@Test
@TestMetadata("inliningWithLambda.kt")
public void testInliningWithLambda() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inliningWithLambda.kt");
}
@Test
@TestMetadata("inliningWithLambda.kt")
public void testInliningWithLambda() {
runTest("js/js.translator/testData/lineNumbers/inliningWithLambda.kt");
}
@Test
@TestMetadata("innerClass.kt")
public void testInnerClass() throws Exception {
runTest("js/js.translator/testData/lineNumbers/innerClass.kt");
}
@Test
@TestMetadata("innerClass.kt")
public void testInnerClass() {
runTest("js/js.translator/testData/lineNumbers/innerClass.kt");
}
@Test
@TestMetadata("isOperator.kt")
public void testIsOperator() throws Exception {
runTest("js/js.translator/testData/lineNumbers/isOperator.kt");
}
@Test
@TestMetadata("isOperator.kt")
public void testIsOperator() {
runTest("js/js.translator/testData/lineNumbers/isOperator.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() throws Exception {
runTest("js/js.translator/testData/lineNumbers/jsCode.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() {
runTest("js/js.translator/testData/lineNumbers/jsCode.kt");
}
@Test
@TestMetadata("lambdaWithClosure.kt")
public void testLambdaWithClosure() throws Exception {
runTest("js/js.translator/testData/lineNumbers/lambdaWithClosure.kt");
}
@Test
@TestMetadata("lambdaWithClosure.kt")
public void testLambdaWithClosure() {
runTest("js/js.translator/testData/lineNumbers/lambdaWithClosure.kt");
}
@Test
@TestMetadata("lastExpressionInInlineLambda.kt")
public void testLastExpressionInInlineLambda() throws Exception {
runTest("js/js.translator/testData/lineNumbers/lastExpressionInInlineLambda.kt");
}
@Test
@TestMetadata("lastExpressionInInlineLambda.kt")
public void testLastExpressionInInlineLambda() {
runTest("js/js.translator/testData/lineNumbers/lastExpressionInInlineLambda.kt");
}
@Test
@TestMetadata("literals.kt")
public void testLiterals() throws Exception {
runTest("js/js.translator/testData/lineNumbers/literals.kt");
}
@Test
@TestMetadata("literals.kt")
public void testLiterals() {
runTest("js/js.translator/testData/lineNumbers/literals.kt");
}
@Test
@TestMetadata("longLiteral.kt")
public void testLongLiteral() throws Exception {
runTest("js/js.translator/testData/lineNumbers/longLiteral.kt");
}
@Test
@TestMetadata("longLiteral.kt")
public void testLongLiteral() {
runTest("js/js.translator/testData/lineNumbers/longLiteral.kt");
}
@Test
@TestMetadata("memberFunWithDefaultParam.kt")
public void testMemberFunWithDefaultParam() throws Exception {
runTest("js/js.translator/testData/lineNumbers/memberFunWithDefaultParam.kt");
}
@Test
@TestMetadata("memberFunWithDefaultParam.kt")
public void testMemberFunWithDefaultParam() {
runTest("js/js.translator/testData/lineNumbers/memberFunWithDefaultParam.kt");
}
@Test
@TestMetadata("multipleReferences.kt")
public void testMultipleReferences() throws Exception {
runTest("js/js.translator/testData/lineNumbers/multipleReferences.kt");
}
@Test
@TestMetadata("multipleReferences.kt")
public void testMultipleReferences() {
runTest("js/js.translator/testData/lineNumbers/multipleReferences.kt");
}
@Test
@TestMetadata("objectInstanceFunction.kt")
public void testObjectInstanceFunction() throws Exception {
runTest("js/js.translator/testData/lineNumbers/objectInstanceFunction.kt");
}
@Test
@TestMetadata("objectInstanceFunction.kt")
public void testObjectInstanceFunction() {
runTest("js/js.translator/testData/lineNumbers/objectInstanceFunction.kt");
}
@Test
@TestMetadata("optionalArgs.kt")
public void testOptionalArgs() throws Exception {
runTest("js/js.translator/testData/lineNumbers/optionalArgs.kt");
}
@Test
@TestMetadata("optionalArgs.kt")
public void testOptionalArgs() {
runTest("js/js.translator/testData/lineNumbers/optionalArgs.kt");
}
@Test
@TestMetadata("propertyWithoutInitializer.kt")
public void testPropertyWithoutInitializer() {
runTest("js/js.translator/testData/lineNumbers/propertyWithoutInitializer.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() {
runTest("js/js.translator/testData/lineNumbers/simple.kt");
}
@Test
@TestMetadata("stringLiteral.kt")
public void testStringLiteral() {
runTest("js/js.translator/testData/lineNumbers/stringLiteral.kt");
}
@Test
@TestMetadata("syntheticCodeInConstructors.kt")
public void testSyntheticCodeInConstructors() {
runTest("js/js.translator/testData/lineNumbers/syntheticCodeInConstructors.kt");
}
@Test
@TestMetadata("syntheticCodeInEnums.kt")
public void testSyntheticCodeInEnums() {
runTest("js/js.translator/testData/lineNumbers/syntheticCodeInEnums.kt");
}
@Test
@TestMetadata("valParameter.kt")
public void testValParameter() {
runTest("js/js.translator/testData/lineNumbers/valParameter.kt");
}
@Test
@TestMetadata("whenEntryWithMultipleConditions.kt")
public void testWhenEntryWithMultipleConditions() {
runTest("js/js.translator/testData/lineNumbers/whenEntryWithMultipleConditions.kt");
}
@Test
@TestMetadata("whenEntryWithMultipleConditionsNonOptimized.kt")
public void testWhenEntryWithMultipleConditionsNonOptimized() {
runTest("js/js.translator/testData/lineNumbers/whenEntryWithMultipleConditionsNonOptimized.kt");
}
@Test
@TestMetadata("whenIn.kt")
public void testWhenIn() {
runTest("js/js.translator/testData/lineNumbers/whenIn.kt");
}
@Test
@TestMetadata("whenIs.kt")
public void testWhenIs() {
runTest("js/js.translator/testData/lineNumbers/whenIs.kt");
}
@Test
@TestMetadata("whileWithComplexCondition.kt")
public void testWhileWithComplexCondition() {
runTest("js/js.translator/testData/lineNumbers/whileWithComplexCondition.kt");
}
@Nested
@TestMetadata("js/js.translator/testData/lineNumbers/inlineMultiModule")
@TestDataPath("$PROJECT_ROOT")
public class InlineMultiModule {
@Test
@TestMetadata("propertyWithoutInitializer.kt")
public void testPropertyWithoutInitializer() throws Exception {
runTest("js/js.translator/testData/lineNumbers/propertyWithoutInitializer.kt");
public void testAllFilesPresentInInlineMultiModule() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/lineNumbers/inlineMultiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("js/js.translator/testData/lineNumbers/simple.kt");
}
@Test
@TestMetadata("stringLiteral.kt")
public void testStringLiteral() throws Exception {
runTest("js/js.translator/testData/lineNumbers/stringLiteral.kt");
}
@Test
@TestMetadata("syntheticCodeInConstructors.kt")
public void testSyntheticCodeInConstructors() throws Exception {
runTest("js/js.translator/testData/lineNumbers/syntheticCodeInConstructors.kt");
}
@Test
@TestMetadata("syntheticCodeInEnums.kt")
public void testSyntheticCodeInEnums() throws Exception {
runTest("js/js.translator/testData/lineNumbers/syntheticCodeInEnums.kt");
}
@Test
@TestMetadata("valParameter.kt")
public void testValParameter() throws Exception {
runTest("js/js.translator/testData/lineNumbers/valParameter.kt");
}
@Test
@TestMetadata("whenEntryWithMultipleConditions.kt")
public void testWhenEntryWithMultipleConditions() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whenEntryWithMultipleConditions.kt");
}
@Test
@TestMetadata("whenEntryWithMultipleConditionsNonOptimized.kt")
public void testWhenEntryWithMultipleConditionsNonOptimized() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whenEntryWithMultipleConditionsNonOptimized.kt");
}
@Test
@TestMetadata("whenIn.kt")
public void testWhenIn() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whenIn.kt");
}
@Test
@TestMetadata("whenIs.kt")
public void testWhenIs() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whenIs.kt");
}
@Test
@TestMetadata("whileWithComplexCondition.kt")
public void testWhileWithComplexCondition() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whileWithComplexCondition.kt");
}
@Nested
@TestMetadata("js/js.translator/testData/lineNumbers/inlineMultiModule")
@TestDataPath("$PROJECT_ROOT")
public class InlineMultiModule {
@Test
public void testAllFilesPresentInInlineMultiModule() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/lineNumbers/inlineMultiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlineMultiModule/simple.kt");
}
public void testSimple() {
runTest("js/js.translator/testData/lineNumbers/inlineMultiModule/simple.kt");
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,228 +20,228 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation")
@TestDataPath("$PROJECT_ROOT")
public class FirLightTreeJsOldFrontendDiagnosticsWithBackendTestGenerated extends AbstractFirLightTreeJsDiagnosticWithBackendTest {
@Test
public void testAllFilesPresentInTestsWithJsStdLibAndBackendCompilation() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash")
@TestDataPath("$PROJECT_ROOT")
public class ExportedNamesClash {
@Test
public void testAllFilesPresentInTestsWithJsStdLibAndBackendCompilation() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
public void testAllFilesPresentInExportedNamesClash() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash")
@TestDataPath("$PROJECT_ROOT")
public class ExportedNamesClash {
@Test
public void testAllFilesPresentInExportedNamesClash() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("functionAndFunction.kt")
public void testFunctionAndFunction() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndFunction.kt");
}
@Test
@TestMetadata("functionAndProperty.kt")
public void testFunctionAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndProperty.kt");
}
@Test
@TestMetadata("functionDifferentPackages.kt")
public void testFunctionDifferentPackages() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionDifferentPackages.kt");
}
@Test
@TestMetadata("multipleClash.kt")
public void testMultipleClash() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClash.kt");
}
@Test
@TestMetadata("multipleClashESModules.kt")
public void testMultipleClashESModules() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClashESModules.kt");
}
@Test
@TestMetadata("packageAndFunction.kt")
public void testPackageAndFunction() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndFunction.kt");
}
@Test
@TestMetadata("packageAndProperty.kt")
public void testPackageAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndProperty.kt");
}
@Test
@TestMetadata("propertyAndProperty.kt")
public void testPropertyAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyAndProperty.kt");
}
@Test
@TestMetadata("propertyDifferentPackages.kt")
public void testPropertyDifferentPackages() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyDifferentPackages.kt");
}
@Test
@TestMetadata("functionAndFunction.kt")
public void testFunctionAndFunction() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndFunction.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline")
@TestDataPath("$PROJECT_ROOT")
public class Inline {
@Test
public void testAllFilesPresentInInline() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("recursionCycle.kt")
public void testRecursionCycle() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycle.kt");
}
@Test
@TestMetadata("recursionCycleLambda.kt")
public void testRecursionCycleLambda() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt");
}
@Test
@TestMetadata("recursionCycleWithPublicFun.kt")
public void testRecursionCycleWithPublicFun() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithPublicFun.kt");
}
@Test
@TestMetadata("recursionCycleWithStdlibCall.kt")
public void testRecursionCycleWithStdlibCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt");
}
@Test
@TestMetadata("functionAndProperty.kt")
public void testFunctionAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode")
@TestDataPath("$PROJECT_ROOT")
public class JsCode {
@Test
public void testAllFilesPresentInJsCode() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("argumentIsLiteral.kt")
public void testArgumentIsLiteral() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/argumentIsLiteral.kt");
}
@Test
@TestMetadata("badAssignment.kt")
public void testBadAssignment() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/badAssignment.kt");
}
@Test
@TestMetadata("compileTimeString.kt")
public void testCompileTimeString() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeString.kt");
}
@Test
@TestMetadata("compileTimeStringWithCompanionVal.kt")
public void testCompileTimeStringWithCompanionVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithCompanionVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithConstVal.kt")
public void testCompileTimeStringWithConstVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithConstVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithFunCall.kt")
public void testCompileTimeStringWithFunCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithFunCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithIntrinConstCall.kt")
public void testCompileTimeStringWithIntrinConstCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithIntrinConstCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithTopLevelVal.kt")
public void testCompileTimeStringWithTopLevelVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithTopLevelVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithVal.kt")
public void testCompileTimeStringWithVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithVal.kt");
}
@Test
@TestMetadata("deleteOperation.kt")
public void testDeleteOperation() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/deleteOperation.kt");
}
@Test
@TestMetadata("error.kt")
public void testError() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/error.kt");
}
@Test
@TestMetadata("javaScriptEmpty.kt")
public void testJavaScriptEmpty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptEmpty.kt");
}
@Test
@TestMetadata("javaScriptError.kt")
public void testJavaScriptError() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptError.kt");
}
@Test
@TestMetadata("javaScriptWarning.kt")
public void testJavaScriptWarning() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptWarning.kt");
}
@Test
@TestMetadata("noJavaScriptProduced.kt")
public void testNoJavaScriptProduced() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/noJavaScriptProduced.kt");
}
@Test
@TestMetadata("warning.kt")
public void testWarning() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/warning.kt");
}
@Test
@TestMetadata("functionDifferentPackages.kt")
public void testFunctionDifferentPackages() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionDifferentPackages.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures")
@TestDataPath("$PROJECT_ROOT")
public class UnsupportedFeatures {
@Test
public void testAllFilesPresentInUnsupportedFeatures() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("annotations.kt")
public void testAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures/annotations.kt");
}
@Test
@TestMetadata("multipleClash.kt")
public void testMultipleClash() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClash.kt");
}
@Test
@TestMetadata("multipleClashESModules.kt")
public void testMultipleClashESModules() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClashESModules.kt");
}
@Test
@TestMetadata("packageAndFunction.kt")
public void testPackageAndFunction() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndFunction.kt");
}
@Test
@TestMetadata("packageAndProperty.kt")
public void testPackageAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndProperty.kt");
}
@Test
@TestMetadata("propertyAndProperty.kt")
public void testPropertyAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyAndProperty.kt");
}
@Test
@TestMetadata("propertyDifferentPackages.kt")
public void testPropertyDifferentPackages() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyDifferentPackages.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline")
@TestDataPath("$PROJECT_ROOT")
public class Inline {
@Test
public void testAllFilesPresentInInline() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("recursionCycle.kt")
public void testRecursionCycle() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycle.kt");
}
@Test
@TestMetadata("recursionCycleLambda.kt")
public void testRecursionCycleLambda() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt");
}
@Test
@TestMetadata("recursionCycleWithPublicFun.kt")
public void testRecursionCycleWithPublicFun() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithPublicFun.kt");
}
@Test
@TestMetadata("recursionCycleWithStdlibCall.kt")
public void testRecursionCycleWithStdlibCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode")
@TestDataPath("$PROJECT_ROOT")
public class JsCode {
@Test
public void testAllFilesPresentInJsCode() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("argumentIsLiteral.kt")
public void testArgumentIsLiteral() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/argumentIsLiteral.kt");
}
@Test
@TestMetadata("badAssignment.kt")
public void testBadAssignment() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/badAssignment.kt");
}
@Test
@TestMetadata("compileTimeString.kt")
public void testCompileTimeString() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeString.kt");
}
@Test
@TestMetadata("compileTimeStringWithCompanionVal.kt")
public void testCompileTimeStringWithCompanionVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithCompanionVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithConstVal.kt")
public void testCompileTimeStringWithConstVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithConstVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithFunCall.kt")
public void testCompileTimeStringWithFunCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithFunCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithIntrinConstCall.kt")
public void testCompileTimeStringWithIntrinConstCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithIntrinConstCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithTopLevelVal.kt")
public void testCompileTimeStringWithTopLevelVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithTopLevelVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithVal.kt")
public void testCompileTimeStringWithVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithVal.kt");
}
@Test
@TestMetadata("deleteOperation.kt")
public void testDeleteOperation() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/deleteOperation.kt");
}
@Test
@TestMetadata("error.kt")
public void testError() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/error.kt");
}
@Test
@TestMetadata("javaScriptEmpty.kt")
public void testJavaScriptEmpty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptEmpty.kt");
}
@Test
@TestMetadata("javaScriptError.kt")
public void testJavaScriptError() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptError.kt");
}
@Test
@TestMetadata("javaScriptWarning.kt")
public void testJavaScriptWarning() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptWarning.kt");
}
@Test
@TestMetadata("noJavaScriptProduced.kt")
public void testNoJavaScriptProduced() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/noJavaScriptProduced.kt");
}
@Test
@TestMetadata("warning.kt")
public void testWarning() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/warning.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures")
@TestDataPath("$PROJECT_ROOT")
public class UnsupportedFeatures {
@Test
public void testAllFilesPresentInUnsupportedFeatures() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("annotations.kt")
public void testAnnotations() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures/annotations.kt");
}
}
}
File diff suppressed because it is too large Load Diff
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/multiModuleOrder")
@TestDataPath("$PROJECT_ROOT")
public class FirMultiModuleOrderTestGenerated extends AbstractFirMultiModuleOrderTest {
@Test
public void testAllFilesPresentInMultiModuleOrder() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/multiModuleOrder"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInMultiModuleOrder() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/multiModuleOrder"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("plain.kt")
public void testPlain() throws Exception {
runTest("js/js.translator/testData/multiModuleOrder/plain.kt");
}
@Test
@TestMetadata("plain.kt")
public void testPlain() {
runTest("js/js.translator/testData/multiModuleOrder/plain.kt");
}
@Test
@TestMetadata("umd.kt")
public void testUmd() throws Exception {
runTest("js/js.translator/testData/multiModuleOrder/umd.kt");
}
@Test
@TestMetadata("umd.kt")
public void testUmd() {
runTest("js/js.translator/testData/multiModuleOrder/umd.kt");
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/diagnostics/klibSerializationTests")
@TestDataPath("$PROJECT_ROOT")
public class FirPsiJsKlibDiagnosticsTestGenerated extends AbstractFirPsiJsDiagnosticWithBackendTest {
@Test
public void testAllFilesPresentInKlibSerializationTests() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/klibSerializationTests"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInKlibSerializationTests() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/klibSerializationTests"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("signatureClash.kt")
public void testSignatureClash() throws Exception {
runTest("compiler/testData/diagnostics/klibSerializationTests/signatureClash.kt");
}
@Test
@TestMetadata("signatureClash.kt")
public void testSignatureClash() {
runTest("compiler/testData/diagnostics/klibSerializationTests/signatureClash.kt");
}
@Test
@TestMetadata("signatureClash_MPP.kt")
public void testSignatureClash_MPP() throws Exception {
runTest("compiler/testData/diagnostics/klibSerializationTests/signatureClash_MPP.kt");
}
@Test
@TestMetadata("signatureClash_MPP.kt")
public void testSignatureClash_MPP() {
runTest("compiler/testData/diagnostics/klibSerializationTests/signatureClash_MPP.kt");
}
}
File diff suppressed because it is too large Load Diff
@@ -20,228 +20,228 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation")
@TestDataPath("$PROJECT_ROOT")
public class FirPsiJsOldFrontendDiagnosticsWithBackendTestGenerated extends AbstractFirPsiJsDiagnosticWithBackendTest {
@Test
public void testAllFilesPresentInTestsWithJsStdLibAndBackendCompilation() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash")
@TestDataPath("$PROJECT_ROOT")
public class ExportedNamesClash {
@Test
public void testAllFilesPresentInTestsWithJsStdLibAndBackendCompilation() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
public void testAllFilesPresentInExportedNamesClash() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash")
@TestDataPath("$PROJECT_ROOT")
public class ExportedNamesClash {
@Test
public void testAllFilesPresentInExportedNamesClash() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("functionAndFunction.kt")
public void testFunctionAndFunction() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndFunction.kt");
}
@Test
@TestMetadata("functionAndProperty.kt")
public void testFunctionAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndProperty.kt");
}
@Test
@TestMetadata("functionDifferentPackages.kt")
public void testFunctionDifferentPackages() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionDifferentPackages.kt");
}
@Test
@TestMetadata("multipleClash.kt")
public void testMultipleClash() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClash.kt");
}
@Test
@TestMetadata("multipleClashESModules.kt")
public void testMultipleClashESModules() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClashESModules.kt");
}
@Test
@TestMetadata("packageAndFunction.kt")
public void testPackageAndFunction() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndFunction.kt");
}
@Test
@TestMetadata("packageAndProperty.kt")
public void testPackageAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndProperty.kt");
}
@Test
@TestMetadata("propertyAndProperty.kt")
public void testPropertyAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyAndProperty.kt");
}
@Test
@TestMetadata("propertyDifferentPackages.kt")
public void testPropertyDifferentPackages() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyDifferentPackages.kt");
}
@Test
@TestMetadata("functionAndFunction.kt")
public void testFunctionAndFunction() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndFunction.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline")
@TestDataPath("$PROJECT_ROOT")
public class Inline {
@Test
public void testAllFilesPresentInInline() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("recursionCycle.kt")
public void testRecursionCycle() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycle.kt");
}
@Test
@TestMetadata("recursionCycleLambda.kt")
public void testRecursionCycleLambda() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt");
}
@Test
@TestMetadata("recursionCycleWithPublicFun.kt")
public void testRecursionCycleWithPublicFun() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithPublicFun.kt");
}
@Test
@TestMetadata("recursionCycleWithStdlibCall.kt")
public void testRecursionCycleWithStdlibCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt");
}
@Test
@TestMetadata("functionAndProperty.kt")
public void testFunctionAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode")
@TestDataPath("$PROJECT_ROOT")
public class JsCode {
@Test
public void testAllFilesPresentInJsCode() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("argumentIsLiteral.kt")
public void testArgumentIsLiteral() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/argumentIsLiteral.kt");
}
@Test
@TestMetadata("badAssignment.kt")
public void testBadAssignment() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/badAssignment.kt");
}
@Test
@TestMetadata("compileTimeString.kt")
public void testCompileTimeString() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeString.kt");
}
@Test
@TestMetadata("compileTimeStringWithCompanionVal.kt")
public void testCompileTimeStringWithCompanionVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithCompanionVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithConstVal.kt")
public void testCompileTimeStringWithConstVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithConstVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithFunCall.kt")
public void testCompileTimeStringWithFunCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithFunCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithIntrinConstCall.kt")
public void testCompileTimeStringWithIntrinConstCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithIntrinConstCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithTopLevelVal.kt")
public void testCompileTimeStringWithTopLevelVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithTopLevelVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithVal.kt")
public void testCompileTimeStringWithVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithVal.kt");
}
@Test
@TestMetadata("deleteOperation.kt")
public void testDeleteOperation() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/deleteOperation.kt");
}
@Test
@TestMetadata("error.kt")
public void testError() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/error.kt");
}
@Test
@TestMetadata("javaScriptEmpty.kt")
public void testJavaScriptEmpty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptEmpty.kt");
}
@Test
@TestMetadata("javaScriptError.kt")
public void testJavaScriptError() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptError.kt");
}
@Test
@TestMetadata("javaScriptWarning.kt")
public void testJavaScriptWarning() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptWarning.kt");
}
@Test
@TestMetadata("noJavaScriptProduced.kt")
public void testNoJavaScriptProduced() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/noJavaScriptProduced.kt");
}
@Test
@TestMetadata("warning.kt")
public void testWarning() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/warning.kt");
}
@Test
@TestMetadata("functionDifferentPackages.kt")
public void testFunctionDifferentPackages() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionDifferentPackages.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures")
@TestDataPath("$PROJECT_ROOT")
public class UnsupportedFeatures {
@Test
public void testAllFilesPresentInUnsupportedFeatures() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("annotations.kt")
public void testAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures/annotations.kt");
}
@Test
@TestMetadata("multipleClash.kt")
public void testMultipleClash() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClash.kt");
}
@Test
@TestMetadata("multipleClashESModules.kt")
public void testMultipleClashESModules() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClashESModules.kt");
}
@Test
@TestMetadata("packageAndFunction.kt")
public void testPackageAndFunction() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndFunction.kt");
}
@Test
@TestMetadata("packageAndProperty.kt")
public void testPackageAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndProperty.kt");
}
@Test
@TestMetadata("propertyAndProperty.kt")
public void testPropertyAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyAndProperty.kt");
}
@Test
@TestMetadata("propertyDifferentPackages.kt")
public void testPropertyDifferentPackages() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyDifferentPackages.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline")
@TestDataPath("$PROJECT_ROOT")
public class Inline {
@Test
public void testAllFilesPresentInInline() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("recursionCycle.kt")
public void testRecursionCycle() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycle.kt");
}
@Test
@TestMetadata("recursionCycleLambda.kt")
public void testRecursionCycleLambda() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt");
}
@Test
@TestMetadata("recursionCycleWithPublicFun.kt")
public void testRecursionCycleWithPublicFun() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithPublicFun.kt");
}
@Test
@TestMetadata("recursionCycleWithStdlibCall.kt")
public void testRecursionCycleWithStdlibCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode")
@TestDataPath("$PROJECT_ROOT")
public class JsCode {
@Test
public void testAllFilesPresentInJsCode() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("argumentIsLiteral.kt")
public void testArgumentIsLiteral() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/argumentIsLiteral.kt");
}
@Test
@TestMetadata("badAssignment.kt")
public void testBadAssignment() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/badAssignment.kt");
}
@Test
@TestMetadata("compileTimeString.kt")
public void testCompileTimeString() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeString.kt");
}
@Test
@TestMetadata("compileTimeStringWithCompanionVal.kt")
public void testCompileTimeStringWithCompanionVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithCompanionVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithConstVal.kt")
public void testCompileTimeStringWithConstVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithConstVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithFunCall.kt")
public void testCompileTimeStringWithFunCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithFunCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithIntrinConstCall.kt")
public void testCompileTimeStringWithIntrinConstCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithIntrinConstCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithTopLevelVal.kt")
public void testCompileTimeStringWithTopLevelVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithTopLevelVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithVal.kt")
public void testCompileTimeStringWithVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithVal.kt");
}
@Test
@TestMetadata("deleteOperation.kt")
public void testDeleteOperation() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/deleteOperation.kt");
}
@Test
@TestMetadata("error.kt")
public void testError() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/error.kt");
}
@Test
@TestMetadata("javaScriptEmpty.kt")
public void testJavaScriptEmpty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptEmpty.kt");
}
@Test
@TestMetadata("javaScriptError.kt")
public void testJavaScriptError() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptError.kt");
}
@Test
@TestMetadata("javaScriptWarning.kt")
public void testJavaScriptWarning() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptWarning.kt");
}
@Test
@TestMetadata("noJavaScriptProduced.kt")
public void testNoJavaScriptProduced() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/noJavaScriptProduced.kt");
}
@Test
@TestMetadata("warning.kt")
public void testWarning() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/warning.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures")
@TestDataPath("$PROJECT_ROOT")
public class UnsupportedFeatures {
@Test
public void testAllFilesPresentInUnsupportedFeatures() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("annotations.kt")
public void testAnnotations() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures/annotations.kt");
}
}
}
@@ -20,32 +20,32 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/sourcemap")
@TestDataPath("$PROJECT_ROOT")
public class FirSourceMapGenerationSmokeTestGenerated extends AbstractFirSourceMapGenerationSmokeTest {
@Test
public void testAllFilesPresentInSourcemap() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/sourcemap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInSourcemap() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/sourcemap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("binaryOperation.kt")
public void testBinaryOperation() throws Exception {
runTest("js/js.translator/testData/sourcemap/binaryOperation.kt");
}
@Test
@TestMetadata("binaryOperation.kt")
public void testBinaryOperation() {
runTest("js/js.translator/testData/sourcemap/binaryOperation.kt");
}
@Test
@TestMetadata("emptyIfInsideInlineLambda.kt")
public void testEmptyIfInsideInlineLambda() throws Exception {
runTest("js/js.translator/testData/sourcemap/emptyIfInsideInlineLambda.kt");
}
@Test
@TestMetadata("emptyIfInsideInlineLambda.kt")
public void testEmptyIfInsideInlineLambda() {
runTest("js/js.translator/testData/sourcemap/emptyIfInsideInlineLambda.kt");
}
@Test
@TestMetadata("expressionBody.kt")
public void testExpressionBody() throws Exception {
runTest("js/js.translator/testData/sourcemap/expressionBody.kt");
}
@Test
@TestMetadata("expressionBody.kt")
public void testExpressionBody() {
runTest("js/js.translator/testData/sourcemap/expressionBody.kt");
}
@Test
@TestMetadata("methodCallInMethod.kt")
public void testMethodCallInMethod() throws Exception {
runTest("js/js.translator/testData/sourcemap/methodCallInMethod.kt");
}
@Test
@TestMetadata("methodCallInMethod.kt")
public void testMethodCallInMethod() {
runTest("js/js.translator/testData/sourcemap/methodCallInMethod.kt");
}
}
File diff suppressed because it is too large Load Diff
@@ -20,228 +20,228 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation")
@TestDataPath("$PROJECT_ROOT")
public class DiagnosticsWithJsStdLibAndBackendTestGenerated extends AbstractDiagnosticsTestWithJsStdLibWithBackend {
@Test
public void testAllFilesPresentInTestsWithJsStdLibAndBackendCompilation() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash")
@TestDataPath("$PROJECT_ROOT")
public class ExportedNamesClash {
@Test
public void testAllFilesPresentInTestsWithJsStdLibAndBackendCompilation() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
public void testAllFilesPresentInExportedNamesClash() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash")
@TestDataPath("$PROJECT_ROOT")
public class ExportedNamesClash {
@Test
public void testAllFilesPresentInExportedNamesClash() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("functionAndFunction.kt")
public void testFunctionAndFunction() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndFunction.kt");
}
@Test
@TestMetadata("functionAndProperty.kt")
public void testFunctionAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndProperty.kt");
}
@Test
@TestMetadata("functionDifferentPackages.kt")
public void testFunctionDifferentPackages() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionDifferentPackages.kt");
}
@Test
@TestMetadata("multipleClash.kt")
public void testMultipleClash() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClash.kt");
}
@Test
@TestMetadata("multipleClashESModules.kt")
public void testMultipleClashESModules() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClashESModules.kt");
}
@Test
@TestMetadata("packageAndFunction.kt")
public void testPackageAndFunction() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndFunction.kt");
}
@Test
@TestMetadata("packageAndProperty.kt")
public void testPackageAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndProperty.kt");
}
@Test
@TestMetadata("propertyAndProperty.kt")
public void testPropertyAndProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyAndProperty.kt");
}
@Test
@TestMetadata("propertyDifferentPackages.kt")
public void testPropertyDifferentPackages() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyDifferentPackages.kt");
}
@Test
@TestMetadata("functionAndFunction.kt")
public void testFunctionAndFunction() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndFunction.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline")
@TestDataPath("$PROJECT_ROOT")
public class Inline {
@Test
public void testAllFilesPresentInInline() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("recursionCycle.kt")
public void testRecursionCycle() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycle.kt");
}
@Test
@TestMetadata("recursionCycleLambda.kt")
public void testRecursionCycleLambda() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt");
}
@Test
@TestMetadata("recursionCycleWithPublicFun.kt")
public void testRecursionCycleWithPublicFun() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithPublicFun.kt");
}
@Test
@TestMetadata("recursionCycleWithStdlibCall.kt")
public void testRecursionCycleWithStdlibCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt");
}
@Test
@TestMetadata("functionAndProperty.kt")
public void testFunctionAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionAndProperty.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode")
@TestDataPath("$PROJECT_ROOT")
public class JsCode {
@Test
public void testAllFilesPresentInJsCode() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("argumentIsLiteral.kt")
public void testArgumentIsLiteral() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/argumentIsLiteral.kt");
}
@Test
@TestMetadata("badAssignment.kt")
public void testBadAssignment() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/badAssignment.kt");
}
@Test
@TestMetadata("compileTimeString.kt")
public void testCompileTimeString() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeString.kt");
}
@Test
@TestMetadata("compileTimeStringWithCompanionVal.kt")
public void testCompileTimeStringWithCompanionVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithCompanionVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithConstVal.kt")
public void testCompileTimeStringWithConstVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithConstVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithFunCall.kt")
public void testCompileTimeStringWithFunCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithFunCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithIntrinConstCall.kt")
public void testCompileTimeStringWithIntrinConstCall() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithIntrinConstCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithTopLevelVal.kt")
public void testCompileTimeStringWithTopLevelVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithTopLevelVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithVal.kt")
public void testCompileTimeStringWithVal() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithVal.kt");
}
@Test
@TestMetadata("deleteOperation.kt")
public void testDeleteOperation() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/deleteOperation.kt");
}
@Test
@TestMetadata("error.kt")
public void testError() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/error.kt");
}
@Test
@TestMetadata("javaScriptEmpty.kt")
public void testJavaScriptEmpty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptEmpty.kt");
}
@Test
@TestMetadata("javaScriptError.kt")
public void testJavaScriptError() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptError.kt");
}
@Test
@TestMetadata("javaScriptWarning.kt")
public void testJavaScriptWarning() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptWarning.kt");
}
@Test
@TestMetadata("noJavaScriptProduced.kt")
public void testNoJavaScriptProduced() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/noJavaScriptProduced.kt");
}
@Test
@TestMetadata("warning.kt")
public void testWarning() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/warning.kt");
}
@Test
@TestMetadata("functionDifferentPackages.kt")
public void testFunctionDifferentPackages() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/functionDifferentPackages.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures")
@TestDataPath("$PROJECT_ROOT")
public class UnsupportedFeatures {
@Test
public void testAllFilesPresentInUnsupportedFeatures() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("annotations.kt")
public void testAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures/annotations.kt");
}
@Test
@TestMetadata("multipleClash.kt")
public void testMultipleClash() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClash.kt");
}
@Test
@TestMetadata("multipleClashESModules.kt")
public void testMultipleClashESModules() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/multipleClashESModules.kt");
}
@Test
@TestMetadata("packageAndFunction.kt")
public void testPackageAndFunction() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndFunction.kt");
}
@Test
@TestMetadata("packageAndProperty.kt")
public void testPackageAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/packageAndProperty.kt");
}
@Test
@TestMetadata("propertyAndProperty.kt")
public void testPropertyAndProperty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyAndProperty.kt");
}
@Test
@TestMetadata("propertyDifferentPackages.kt")
public void testPropertyDifferentPackages() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/exportedNamesClash/propertyDifferentPackages.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline")
@TestDataPath("$PROJECT_ROOT")
public class Inline {
@Test
public void testAllFilesPresentInInline() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("recursionCycle.kt")
public void testRecursionCycle() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycle.kt");
}
@Test
@TestMetadata("recursionCycleLambda.kt")
public void testRecursionCycleLambda() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt");
}
@Test
@TestMetadata("recursionCycleWithPublicFun.kt")
public void testRecursionCycleWithPublicFun() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithPublicFun.kt");
}
@Test
@TestMetadata("recursionCycleWithStdlibCall.kt")
public void testRecursionCycleWithStdlibCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode")
@TestDataPath("$PROJECT_ROOT")
public class JsCode {
@Test
public void testAllFilesPresentInJsCode() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("argumentIsLiteral.kt")
public void testArgumentIsLiteral() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/argumentIsLiteral.kt");
}
@Test
@TestMetadata("badAssignment.kt")
public void testBadAssignment() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/badAssignment.kt");
}
@Test
@TestMetadata("compileTimeString.kt")
public void testCompileTimeString() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeString.kt");
}
@Test
@TestMetadata("compileTimeStringWithCompanionVal.kt")
public void testCompileTimeStringWithCompanionVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithCompanionVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithConstVal.kt")
public void testCompileTimeStringWithConstVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithConstVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithFunCall.kt")
public void testCompileTimeStringWithFunCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithFunCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithIntrinConstCall.kt")
public void testCompileTimeStringWithIntrinConstCall() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithIntrinConstCall.kt");
}
@Test
@TestMetadata("compileTimeStringWithTopLevelVal.kt")
public void testCompileTimeStringWithTopLevelVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithTopLevelVal.kt");
}
@Test
@TestMetadata("compileTimeStringWithVal.kt")
public void testCompileTimeStringWithVal() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/compileTimeStringWithVal.kt");
}
@Test
@TestMetadata("deleteOperation.kt")
public void testDeleteOperation() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/deleteOperation.kt");
}
@Test
@TestMetadata("error.kt")
public void testError() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/error.kt");
}
@Test
@TestMetadata("javaScriptEmpty.kt")
public void testJavaScriptEmpty() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptEmpty.kt");
}
@Test
@TestMetadata("javaScriptError.kt")
public void testJavaScriptError() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptError.kt");
}
@Test
@TestMetadata("javaScriptWarning.kt")
public void testJavaScriptWarning() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/javaScriptWarning.kt");
}
@Test
@TestMetadata("noJavaScriptProduced.kt")
public void testNoJavaScriptProduced() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/noJavaScriptProduced.kt");
}
@Test
@TestMetadata("warning.kt")
public void testWarning() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/jsCode/warning.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures")
@TestDataPath("$PROJECT_ROOT")
public class UnsupportedFeatures {
@Test
public void testAllFilesPresentInUnsupportedFeatures() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("annotations.kt")
public void testAnnotations() {
runTest("compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/unsupportedFeatures/annotations.kt");
}
}
}
File diff suppressed because it is too large Load Diff
@@ -20,140 +20,140 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/klib/partial-linkage")
@TestDataPath("$PROJECT_ROOT")
public class FirJsPartialLinkageNoICTestCaseGenerated extends AbstractFirJsPartialLinkageNoICTestCase {
@Test
@TestMetadata("addEnumEntry")
public void testAddEnumEntry() throws Exception {
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
}
@Test
@TestMetadata("addEnumEntry")
public void testAddEnumEntry() {
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
}
@Test
@TestMetadata("addSealedSubclass")
public void testAddSealedSubclass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
}
@Test
@TestMetadata("addSealedSubclass")
public void testAddSealedSubclass() {
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
}
@Test
public void testAllFilesPresentInPartial_linkage() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
public void testAllFilesPresentInPartial_linkage() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
@TestMetadata("changeClassVisibility")
public void testChangeClassVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
}
@Test
@TestMetadata("changeClassVisibility")
public void testChangeClassVisibility() {
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
}
@Test
@TestMetadata("changeFunctionVisibility")
public void testChangeFunctionVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
}
@Test
@TestMetadata("changeFunctionVisibility")
public void testChangeFunctionVisibility() {
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
}
@Test
@TestMetadata("changePropertyVisibility")
public void testChangePropertyVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
}
@Test
@TestMetadata("changePropertyVisibility")
public void testChangePropertyVisibility() {
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
}
@Test
@TestMetadata("classTransformations")
public void testClassTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
}
@Test
@TestMetadata("classTransformations")
public void testClassTransformations() {
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
}
@Test
@TestMetadata("externalDeclarations")
public void testExternalDeclarations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
}
@Test
@TestMetadata("externalDeclarations")
public void testExternalDeclarations() {
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
}
@Test
@TestMetadata("functionTransformations")
public void testFunctionTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
}
@Test
@TestMetadata("functionTransformations")
public void testFunctionTransformations() {
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
}
@Test
@TestMetadata("inheritanceIssues")
public void testInheritanceIssues() throws Exception {
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
}
@Test
@TestMetadata("inheritanceIssues")
public void testInheritanceIssues() {
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
}
@Test
@TestMetadata("noNonImplementedCallableFalsePositives")
public void testNoNonImplementedCallableFalsePositives() throws Exception {
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
}
@Test
@TestMetadata("noNonImplementedCallableFalsePositives")
public void testNoNonImplementedCallableFalsePositives() {
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
}
@Test
@TestMetadata("nonAbstractCallableBecomesAbstract")
public void testNonAbstractCallableBecomesAbstract() throws Exception {
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
}
@Test
@TestMetadata("nonAbstractCallableBecomesAbstract")
public void testNonAbstractCallableBecomesAbstract() {
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
}
@Test
@TestMetadata("nonExhaustivenessOfWhenClause")
public void testNonExhaustivenessOfWhenClause() throws Exception {
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
}
@Test
@TestMetadata("nonExhaustivenessOfWhenClause")
public void testNonExhaustivenessOfWhenClause() {
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
}
@Test
@TestMetadata("propertyTransformations")
public void testPropertyTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
}
@Test
@TestMetadata("propertyTransformations")
public void testPropertyTransformations() {
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
}
@Test
@TestMetadata("referencingUnusableDeclarations")
public void testReferencingUnusableDeclarations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
}
@Test
@TestMetadata("referencingUnusableDeclarations")
public void testReferencingUnusableDeclarations() {
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
}
@Test
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
public void testRemoveAbstractCallableFromAbstractClassOrInterface() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
}
@Test
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
public void testRemoveAbstractCallableFromAbstractClassOrInterface() {
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
}
@Test
@TestMetadata("removeCallable")
public void testRemoveCallable() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
}
@Test
@TestMetadata("removeCallable")
public void testRemoveCallable() {
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
}
@Test
@TestMetadata("removeClass")
public void testRemoveClass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeClass/");
}
@Test
@TestMetadata("removeClass")
public void testRemoveClass() {
runTest("compiler/testData/klib/partial-linkage/removeClass/");
}
@Test
@TestMetadata("removeEnumEntry")
public void testRemoveEnumEntry() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
}
@Test
@TestMetadata("removeEnumEntry")
public void testRemoveEnumEntry() {
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
}
@Test
@TestMetadata("removeSealedSubclass")
public void testRemoveSealedSubclass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
}
@Test
@TestMetadata("removeSealedSubclass")
public void testRemoveSealedSubclass() {
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
}
@Test
@TestMetadata("replaceCallableReturnType")
public void testReplaceCallableReturnType() throws Exception {
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
}
@Test
@TestMetadata("replaceCallableReturnType")
public void testReplaceCallableReturnType() {
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
}
@Test
@TestMetadata("severalInheritedImplementations")
public void testSeveralInheritedImplementations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
}
@Test
@TestMetadata("severalInheritedImplementations")
public void testSeveralInheritedImplementations() {
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
}
@Test
@TestMetadata("typeAliasChanges")
public void testTypeAliasChanges() throws Exception {
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
}
@Test
@TestMetadata("typeAliasChanges")
public void testTypeAliasChanges() {
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,102 +20,102 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop")
@TestDataPath("$PROJECT_ROOT")
public class IrCodegenWasmJsInteropJsTestGenerated extends AbstractIrCodegenWasmJsInteropJsTest {
@Test
public void testAllFilesPresentInBoxWasmJsInterop() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInBoxWasmJsInterop() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("defaultValues.kt")
public void testDefaultValues() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
}
@Test
@TestMetadata("defaultValues.kt")
public void testDefaultValues() {
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
}
@Test
@TestMetadata("externalTypeOperators.kt")
public void testExternalTypeOperators() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
}
@Test
@TestMetadata("externalTypeOperators.kt")
public void testExternalTypeOperators() {
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
}
@Test
@TestMetadata("externals.kt")
public void testExternals() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
}
@Test
@TestMetadata("externals.kt")
public void testExternals() {
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
}
@Test
@TestMetadata("functionTypes.kt")
public void testFunctionTypes() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
}
@Test
@TestMetadata("functionTypes.kt")
public void testFunctionTypes() {
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
}
@Test
@TestMetadata("jsModule.kt")
public void testJsModule() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
}
@Test
@TestMetadata("jsModule.kt")
public void testJsModule() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
}
@Test
@TestMetadata("jsModuleWithQualifier.kt")
public void testJsModuleWithQualifier() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
}
@Test
@TestMetadata("jsModuleWithQualifier.kt")
public void testJsModuleWithQualifier() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
}
@Test
@TestMetadata("jsQualifier.kt")
public void testJsQualifier() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
}
@Test
@TestMetadata("jsQualifier.kt")
public void testJsQualifier() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
}
@Test
@TestMetadata("jsToKotlinAdapters.kt")
public void testJsToKotlinAdapters() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
}
@Test
@TestMetadata("jsToKotlinAdapters.kt")
public void testJsToKotlinAdapters() {
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
}
@Test
@TestMetadata("kotlinToJsAdapters.kt")
public void testKotlinToJsAdapters() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
}
@Test
@TestMetadata("kotlinToJsAdapters.kt")
public void testKotlinToJsAdapters() {
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
}
@Test
@TestMetadata("longStrings.kt")
public void testLongStrings() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
}
@Test
@TestMetadata("longStrings.kt")
public void testLongStrings() {
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
}
@Test
@TestMetadata("nameClash.kt")
public void testNameClash() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
}
@Test
@TestMetadata("nameClash.kt")
public void testNameClash() {
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
}
@Test
@TestMetadata("types.kt")
public void testTypes() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
}
@Test
@TestMetadata("types.kt")
public void testTypes() {
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
}
@Test
@TestMetadata("vararg.kt")
public void testVararg() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
}
@Test
@TestMetadata("vararg.kt")
public void testVararg() {
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
@TestDataPath("$PROJECT_ROOT")
public class TypeScriptDeclarations {
@Test
public void testAllFilesPresentInTypeScriptDeclarations() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
@TestDataPath("$PROJECT_ROOT")
public class TypeScriptDeclarations {
@Test
public void testAllFilesPresentInTypeScriptDeclarations() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
}
}
@@ -20,112 +20,112 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/boxError")
@TestDataPath("$PROJECT_ROOT")
public class IrJsCodegenBoxErrorTestGenerated extends AbstractIrJsCodegenBoxErrorTest {
@Test
public void testAllFilesPresentInBoxError() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true, "compileKotlinAgainstKotlin", "multiplatform/k2");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/semantic")
@TestDataPath("$PROJECT_ROOT")
public class Semantic {
@Test
public void testAllFilesPresentInBoxError() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true, "compileKotlinAgainstKotlin", "multiplatform/k2");
public void testAllFilesPresentInSemantic() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/semantic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/semantic")
@TestDataPath("$PROJECT_ROOT")
public class Semantic {
@Test
public void testAllFilesPresentInSemantic() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/semantic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("castToErrorType.kt")
public void testCastToErrorType() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/castToErrorType.kt");
}
@Test
@TestMetadata("catchErrorType.kt")
public void testCatchErrorType() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/catchErrorType.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/evaluationOrder.kt");
}
@Test
@TestMetadata("mismatchTypeParameters.kt")
public void testMismatchTypeParameters() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt");
}
@Test
@TestMetadata("missedBody.kt")
public void testMissedBody() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/missedBody.kt");
}
@Test
@TestMetadata("reifiedNonInline.kt")
public void testReifiedNonInline() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@Test
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@Test
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");
}
@Test
@TestMetadata("unmatchedArguments.kt")
public void testUnmatchedArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt");
}
@Test
@TestMetadata("unresolvedFunctionReferece.kt")
public void testUnresolvedFunctionReferece() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt");
}
@Test
@TestMetadata("castToErrorType.kt")
public void testCastToErrorType() {
runTest("compiler/testData/codegen/boxError/semantic/castToErrorType.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/syntax"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("arrowReference.kt")
public void testArrowReference() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/arrowReference.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/evaluationOrder.kt");
}
@Test
@TestMetadata("incorectLexicalName.kt")
public void testIncorectLexicalName() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt");
}
@Test
@TestMetadata("missedArgument.kt")
public void testMissedArgument() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/missedArgument.kt");
}
@Test
@TestMetadata("catchErrorType.kt")
public void testCatchErrorType() {
runTest("compiler/testData/codegen/boxError/semantic/catchErrorType.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() {
runTest("compiler/testData/codegen/boxError/semantic/evaluationOrder.kt");
}
@Test
@TestMetadata("mismatchTypeParameters.kt")
public void testMismatchTypeParameters() {
runTest("compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt");
}
@Test
@TestMetadata("missedBody.kt")
public void testMissedBody() {
runTest("compiler/testData/codegen/boxError/semantic/missedBody.kt");
}
@Test
@TestMetadata("reifiedNonInline.kt")
public void testReifiedNonInline() {
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@Test
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@Test
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");
}
@Test
@TestMetadata("unmatchedArguments.kt")
public void testUnmatchedArguments() {
runTest("compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt");
}
@Test
@TestMetadata("unresolvedFunctionReferece.kt")
public void testUnresolvedFunctionReferece() {
runTest("compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/syntax"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("arrowReference.kt")
public void testArrowReference() {
runTest("compiler/testData/codegen/boxError/syntax/arrowReference.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() {
runTest("compiler/testData/codegen/boxError/syntax/evaluationOrder.kt");
}
@Test
@TestMetadata("incorectLexicalName.kt")
public void testIncorectLexicalName() {
runTest("compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt");
}
@Test
@TestMetadata("missedArgument.kt")
public void testMissedArgument() {
runTest("compiler/testData/codegen/boxError/syntax/missedArgument.kt");
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,112 +20,112 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/codegen/boxError")
@TestDataPath("$PROJECT_ROOT")
public class IrJsES6CodegenBoxErrorTestGenerated extends AbstractIrJsES6CodegenBoxErrorTest {
@Test
public void testAllFilesPresentInBoxError() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true, "compileKotlinAgainstKotlin");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/semantic")
@TestDataPath("$PROJECT_ROOT")
public class Semantic {
@Test
public void testAllFilesPresentInBoxError() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true, "compileKotlinAgainstKotlin");
public void testAllFilesPresentInSemantic() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/semantic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/semantic")
@TestDataPath("$PROJECT_ROOT")
public class Semantic {
@Test
public void testAllFilesPresentInSemantic() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/semantic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("castToErrorType.kt")
public void testCastToErrorType() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/castToErrorType.kt");
}
@Test
@TestMetadata("catchErrorType.kt")
public void testCatchErrorType() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/catchErrorType.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/evaluationOrder.kt");
}
@Test
@TestMetadata("mismatchTypeParameters.kt")
public void testMismatchTypeParameters() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt");
}
@Test
@TestMetadata("missedBody.kt")
public void testMissedBody() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/missedBody.kt");
}
@Test
@TestMetadata("reifiedNonInline.kt")
public void testReifiedNonInline() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@Test
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@Test
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");
}
@Test
@TestMetadata("unmatchedArguments.kt")
public void testUnmatchedArguments() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt");
}
@Test
@TestMetadata("unresolvedFunctionReferece.kt")
public void testUnresolvedFunctionReferece() throws Exception {
runTest("compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt");
}
@Test
@TestMetadata("castToErrorType.kt")
public void testCastToErrorType() {
runTest("compiler/testData/codegen/boxError/semantic/castToErrorType.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/syntax"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("arrowReference.kt")
public void testArrowReference() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/arrowReference.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/evaluationOrder.kt");
}
@Test
@TestMetadata("incorectLexicalName.kt")
public void testIncorectLexicalName() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt");
}
@Test
@TestMetadata("missedArgument.kt")
public void testMissedArgument() throws Exception {
runTest("compiler/testData/codegen/boxError/syntax/missedArgument.kt");
}
@Test
@TestMetadata("catchErrorType.kt")
public void testCatchErrorType() {
runTest("compiler/testData/codegen/boxError/semantic/catchErrorType.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() {
runTest("compiler/testData/codegen/boxError/semantic/evaluationOrder.kt");
}
@Test
@TestMetadata("mismatchTypeParameters.kt")
public void testMismatchTypeParameters() {
runTest("compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt");
}
@Test
@TestMetadata("missedBody.kt")
public void testMissedBody() {
runTest("compiler/testData/codegen/boxError/semantic/missedBody.kt");
}
@Test
@TestMetadata("reifiedNonInline.kt")
public void testReifiedNonInline() {
runTest("compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt");
}
@Test
@TestMetadata("reifiedWithWrongArguments.kt")
public void testReifiedWithWrongArguments() {
runTest("compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt");
}
@Test
@TestMetadata("typeMismatch.kt")
public void testTypeMismatch() {
runTest("compiler/testData/codegen/boxError/semantic/typeMismatch.kt");
}
@Test
@TestMetadata("unmatchedArguments.kt")
public void testUnmatchedArguments() {
runTest("compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt");
}
@Test
@TestMetadata("unresolvedFunctionReferece.kt")
public void testUnresolvedFunctionReferece() {
runTest("compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/boxError/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxError/syntax"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("arrowReference.kt")
public void testArrowReference() {
runTest("compiler/testData/codegen/boxError/syntax/arrowReference.kt");
}
@Test
@TestMetadata("evaluationOrder.kt")
public void testEvaluationOrder() {
runTest("compiler/testData/codegen/boxError/syntax/evaluationOrder.kt");
}
@Test
@TestMetadata("incorectLexicalName.kt")
public void testIncorectLexicalName() {
runTest("compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt");
}
@Test
@TestMetadata("missedArgument.kt")
public void testMissedArgument() {
runTest("compiler/testData/codegen/boxError/syntax/missedArgument.kt");
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,478 +20,478 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/debug/localVariables")
@TestDataPath("$PROJECT_ROOT")
public class IrJsLocalVariableTestGenerated extends AbstractIrJsLocalVariableTest {
@Test
public void testAllFilesPresentInLocalVariables() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() {
runTest("compiler/testData/debug/localVariables/assignment.kt");
}
@Test
@TestMetadata("catchClause.kt")
public void testCatchClause() {
runTest("compiler/testData/debug/localVariables/catchClause.kt");
}
@Test
@TestMetadata("copyFunction.kt")
public void testCopyFunction() {
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
}
@Test
@TestMetadata("directInvoke.kt")
public void testDirectInvoke() {
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
}
@Test
@TestMetadata("doWhile.kt")
public void testDoWhile() {
runTest("compiler/testData/debug/localVariables/doWhile.kt");
}
@Test
@TestMetadata("emptyFun.kt")
public void testEmptyFun() {
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() {
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
}
@Test
@TestMetadata("inlineFunInObject.kt")
public void testInlineFunInObject() {
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() {
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() {
runTest("compiler/testData/debug/localVariables/jsCode.kt");
}
@Test
@TestMetadata("lambdaInObject.kt")
public void testLambdaInObject() {
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
}
@Test
@TestMetadata("lambdaWithLambdaParameter.kt")
public void testLambdaWithLambdaParameter() {
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
}
@Test
@TestMetadata("localFun.kt")
public void testLocalFun() {
runTest("compiler/testData/debug/localVariables/localFun.kt");
}
@Test
@TestMetadata("localFunUnused.kt")
public void testLocalFunUnused() {
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
}
@Test
@TestMetadata("tryFinally.kt")
public void testTryFinally() {
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
}
@Test
@TestMetadata("tryFinally10.kt")
public void testTryFinally10() {
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
}
@Test
@TestMetadata("tryFinally11.kt")
public void testTryFinally11() {
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
}
@Test
@TestMetadata("tryFinally12.kt")
public void testTryFinally12() {
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
}
@Test
@TestMetadata("tryFinally13.kt")
public void testTryFinally13() {
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
}
@Test
@TestMetadata("tryFinally14.kt")
public void testTryFinally14() {
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
}
@Test
@TestMetadata("tryFinally15.kt")
public void testTryFinally15() {
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
}
@Test
@TestMetadata("tryFinally16.kt")
public void testTryFinally16() {
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
}
@Test
@TestMetadata("tryFinally17.kt")
public void testTryFinally17() {
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() {
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
}
@Test
@TestMetadata("tryFinally3.kt")
public void testTryFinally3() {
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
}
@Test
@TestMetadata("tryFinally4.kt")
public void testTryFinally4() {
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
}
@Test
@TestMetadata("tryFinally5.kt")
public void testTryFinally5() {
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
}
@Test
@TestMetadata("tryFinally6_1.kt")
public void testTryFinally6_1() {
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
}
@Test
@TestMetadata("tryFinally6_2.kt")
public void testTryFinally6_2() {
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
}
@Test
@TestMetadata("tryFinally7.kt")
public void testTryFinally7() {
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
}
@Test
@TestMetadata("tryFinally8.kt")
public void testTryFinally8() {
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
}
@Test
@TestMetadata("tryFinally9.kt")
public void testTryFinally9() {
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/constructors")
@TestDataPath("$PROJECT_ROOT")
public class Constructors {
@Test
public void testAllFilesPresentInLocalVariables() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
public void testAllFilesPresentInConstructors() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("multipleConstructors.kt")
public void testMultipleConstructors() {
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() {
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
@TestDataPath("$PROJECT_ROOT")
public class Destructuring {
@Test
public void testAllFilesPresentInDestructuring() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() throws Exception {
runTest("compiler/testData/debug/localVariables/assignment.kt");
public void testAssignment() {
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
}
@Test
@TestMetadata("catchClause.kt")
public void testCatchClause() throws Exception {
runTest("compiler/testData/debug/localVariables/catchClause.kt");
@TestMetadata("assignmentCustomComponentNs.kt")
public void testAssignmentCustomComponentNs() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
}
@Test
@TestMetadata("copyFunction.kt")
public void testCopyFunction() throws Exception {
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
public void testAssignmentCustomComponentNsMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("directInvoke.kt")
public void testDirectInvoke() throws Exception {
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
@TestMetadata("assignmentMultiline.kt")
public void testAssignmentMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
}
@Test
@TestMetadata("doWhile.kt")
public void testDoWhile() throws Exception {
runTest("compiler/testData/debug/localVariables/doWhile.kt");
@TestMetadata("assignmentUnderscoreNames.kt")
public void testAssignmentUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
}
@Test
@TestMetadata("emptyFun.kt")
public void testEmptyFun() throws Exception {
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
public void testAssignmentUnderscoreNamesMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
}
@Test
@TestMetadata("forLoop.kt")
public void testForLoop() {
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
public void testForLoopMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
}
@Test
@TestMetadata("inlineFunInObject.kt")
public void testInlineFunInObject() throws Exception {
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
@TestMetadata("lambda.kt")
public void testLambda() {
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() throws Exception {
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
@TestMetadata("lambdaCustomComponentNs.kt")
public void testLambdaCustomComponentNs() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() throws Exception {
runTest("compiler/testData/debug/localVariables/jsCode.kt");
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
public void testLambdaCustomComponentNsMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("lambdaInObject.kt")
public void testLambdaInObject() throws Exception {
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
@TestMetadata("lambdaMultiline.kt")
public void testLambdaMultiline() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
}
@Test
@TestMetadata("lambdaWithLambdaParameter.kt")
public void testLambdaWithLambdaParameter() throws Exception {
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
@TestMetadata("lambdaMultipleDestructs.kt")
public void testLambdaMultipleDestructs() {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInReceiverMangling() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("localFun.kt")
public void testLocalFun() throws Exception {
runTest("compiler/testData/debug/localVariables/localFun.kt");
@TestMetadata("capturedThisField.kt")
public void testCapturedThisField() {
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
}
@Test
@TestMetadata("localFunUnused.kt")
public void testLocalFunUnused() throws Exception {
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
@TestMetadata("labeledThisParameterLabel.kt")
public void testLabeledThisParameterLabel() {
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
}
@Test
@TestMetadata("tryFinally.kt")
public void testTryFinally() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
@TestMetadata("lambdaWithExtensionReceiver.kt")
public void testLambdaWithExtensionReceiver() {
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
}
@Test
@TestMetadata("tryFinally10.kt")
public void testTryFinally10() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
@TestMetadata("receiverParameter.kt")
public void testReceiverParameter() {
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
}
@Test
@TestMetadata("tryFinally11.kt")
public void testTryFinally11() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
@TestMetadata("simple.kt")
public void testSimple() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
}
@Test
@TestMetadata("tryFinally12.kt")
public void testTryFinally12() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
@TestMetadata("simpleCapturedReceiver.kt")
public void testSimpleCapturedReceiver() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
}
@Test
@TestMetadata("tryFinally13.kt")
public void testTryFinally13() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
public void testSimpleCapturedReceiverWithLabel() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
}
@Test
@TestMetadata("tryFinally14.kt")
public void testTryFinally14() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
public void testSimpleCapturedReceiverWithParenthesis() {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend")
@TestDataPath("$PROJECT_ROOT")
public class Suspend {
@Test
public void testAllFilesPresentInSuspend() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("tryFinally15.kt")
public void testTryFinally15() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
@TestMetadata("inlineLocalsStateMachineTransform.kt")
public void testInlineLocalsStateMachineTransform() {
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
}
@Test
@TestMetadata("tryFinally16.kt")
public void testTryFinally16() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
@TestMetadata("localsStateMachineTransform.kt")
public void testLocalsStateMachineTransform() {
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
}
@Test
@TestMetadata("tryFinally17.kt")
public void testTryFinally17() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
@TestMetadata("mergeLvt.kt")
public void testMergeLvt() {
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
}
@Test
@TestMetadata("tryFinally2.kt")
public void testTryFinally2() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
public void testNestedInsideSuspendUnintercepted() {
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
}
@Test
@TestMetadata("tryFinally3.kt")
public void testTryFinally3() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
@TestMetadata("nestedSuspendUnintercepted.kt")
public void testNestedSuspendUnintercepted() {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
}
@Test
@TestMetadata("tryFinally4.kt")
public void testTryFinally4() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
public void testNestedSuspendUninterceptedWithDeepLambdaCall() {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
}
@Test
@TestMetadata("tryFinally5.kt")
public void testTryFinally5() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
}
@Test
@TestMetadata("tryFinally6_1.kt")
public void testTryFinally6_1() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
}
@Test
@TestMetadata("tryFinally6_2.kt")
public void testTryFinally6_2() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
}
@Test
@TestMetadata("tryFinally7.kt")
public void testTryFinally7() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
}
@Test
@TestMetadata("tryFinally8.kt")
public void testTryFinally8() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
}
@Test
@TestMetadata("tryFinally9.kt")
public void testTryFinally9() throws Exception {
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
@TestMetadata("simple.kt")
public void testSimple() {
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
public void testUnderscoreNames() {
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/constructors")
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
@TestDataPath("$PROJECT_ROOT")
public class Constructors {
@Test
public void testAllFilesPresentInConstructors() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
public class Completion {
@Test
public void testAllFilesPresentInCompletion() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("multipleConstructors.kt")
public void testMultipleConstructors() throws Exception {
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
}
@Test
@TestMetadata("nonStaticSimple.kt")
public void testNonStaticSimple() {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() throws Exception {
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
@TestDataPath("$PROJECT_ROOT")
public class Destructuring {
@Test
public void testAllFilesPresentInDestructuring() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("assignment.kt")
public void testAssignment() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
}
@Test
@TestMetadata("assignmentCustomComponentNs.kt")
public void testAssignmentCustomComponentNs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
}
@Test
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
public void testAssignmentCustomComponentNsMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("assignmentMultiline.kt")
public void testAssignmentMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
}
@Test
@TestMetadata("assignmentUnderscoreNames.kt")
public void testAssignmentUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
}
@Test
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
public void testAssignmentUnderscoreNamesMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
}
@Test
@TestMetadata("forLoop.kt")
public void testForLoop() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
}
@Test
@TestMetadata("forLoopMultiline.kt")
public void testForLoopMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
}
@Test
@TestMetadata("lambda.kt")
public void testLambda() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
}
@Test
@TestMetadata("lambdaCustomComponentNs.kt")
public void testLambdaCustomComponentNs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
}
@Test
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
public void testLambdaCustomComponentNsMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
}
@Test
@TestMetadata("lambdaMultiline.kt")
public void testLambdaMultiline() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
}
@Test
@TestMetadata("lambdaMultipleDestructs.kt")
public void testLambdaMultipleDestructs() throws Exception {
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
@TestDataPath("$PROJECT_ROOT")
public class ReceiverMangling {
@Test
public void testAllFilesPresentInReceiverMangling() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("capturedThisField.kt")
public void testCapturedThisField() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
}
@Test
@TestMetadata("labeledThisParameterLabel.kt")
public void testLabeledThisParameterLabel() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
}
@Test
@TestMetadata("lambdaWithExtensionReceiver.kt")
public void testLambdaWithExtensionReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
}
@Test
@TestMetadata("receiverParameter.kt")
public void testReceiverParameter() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
}
@Test
@TestMetadata("simpleCapturedReceiver.kt")
public void testSimpleCapturedReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
}
@Test
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
public void testSimpleCapturedReceiverWithLabel() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
}
@Test
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
public void testSimpleCapturedReceiverWithParenthesis() throws Exception {
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
}
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend")
@TestDataPath("$PROJECT_ROOT")
public class Suspend {
@Test
public void testAllFilesPresentInSuspend() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("inlineLocalsStateMachineTransform.kt")
public void testInlineLocalsStateMachineTransform() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
}
@Test
@TestMetadata("localsStateMachineTransform.kt")
public void testLocalsStateMachineTransform() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
}
@Test
@TestMetadata("mergeLvt.kt")
public void testMergeLvt() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
}
@Test
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
public void testNestedInsideSuspendUnintercepted() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
}
@Test
@TestMetadata("nestedSuspendUnintercepted.kt")
public void testNestedSuspendUnintercepted() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
}
@Test
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
public void testNestedSuspendUninterceptedWithDeepLambdaCall() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
}
@Test
@TestMetadata("underscoreNames.kt")
public void testUnderscoreNames() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
}
@Nested
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
@TestDataPath("$PROJECT_ROOT")
public class Completion {
@Test
public void testAllFilesPresentInCompletion() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("nonStaticSimple.kt")
public void testNonStaticSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
}
@Test
@TestMetadata("nonStaticStateMachine.kt")
public void testNonStaticStateMachine() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
}
@Test
@TestMetadata("staticSimple.kt")
public void testStaticSimple() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
}
@Test
@TestMetadata("staticSimpleReceiver.kt")
public void testStaticSimpleReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
}
@Test
@TestMetadata("staticStateMachine.kt")
public void testStaticStateMachine() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
}
@Test
@TestMetadata("staticStateMachineReceiver.kt")
public void testStaticStateMachineReceiver() throws Exception {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
}
}
@Test
@TestMetadata("nonStaticStateMachine.kt")
public void testNonStaticStateMachine() {
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
}
@Test
@TestMetadata("staticSimple.kt")
public void testStaticSimple() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
}
@Test
@TestMetadata("staticSimpleReceiver.kt")
public void testStaticSimpleReceiver() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
}
@Test
@TestMetadata("staticStateMachine.kt")
public void testStaticStateMachine() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
}
@Test
@TestMetadata("staticStateMachineReceiver.kt")
public void testStaticStateMachineReceiver() {
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
}
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -20,324 +20,324 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/lineNumbers")
@TestDataPath("$PROJECT_ROOT")
public class JsIrLineNumberTestGenerated extends AbstractJsIrLineNumberTest {
@Test
public void testAllFilesPresentInLineNumbers() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/lineNumbers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInLineNumbers() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/lineNumbers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("andAndWithSideEffect.kt")
public void testAndAndWithSideEffect() throws Exception {
runTest("js/js.translator/testData/lineNumbers/andAndWithSideEffect.kt");
}
@Test
@TestMetadata("andAndWithSideEffect.kt")
public void testAndAndWithSideEffect() {
runTest("js/js.translator/testData/lineNumbers/andAndWithSideEffect.kt");
}
@Test
@TestMetadata("backingField.kt")
public void testBackingField() throws Exception {
runTest("js/js.translator/testData/lineNumbers/backingField.kt");
}
@Test
@TestMetadata("backingField.kt")
public void testBackingField() {
runTest("js/js.translator/testData/lineNumbers/backingField.kt");
}
@Test
@TestMetadata("catch.kt")
public void testCatch() throws Exception {
runTest("js/js.translator/testData/lineNumbers/catch.kt");
}
@Test
@TestMetadata("catch.kt")
public void testCatch() {
runTest("js/js.translator/testData/lineNumbers/catch.kt");
}
@Test
@TestMetadata("chainedCall.kt")
public void testChainedCall() throws Exception {
runTest("js/js.translator/testData/lineNumbers/chainedCall.kt");
}
@Test
@TestMetadata("chainedCall.kt")
public void testChainedCall() {
runTest("js/js.translator/testData/lineNumbers/chainedCall.kt");
}
@Test
@TestMetadata("classCapturingLocals.kt")
public void testClassCapturingLocals() throws Exception {
runTest("js/js.translator/testData/lineNumbers/classCapturingLocals.kt");
}
@Test
@TestMetadata("classCapturingLocals.kt")
public void testClassCapturingLocals() {
runTest("js/js.translator/testData/lineNumbers/classCapturingLocals.kt");
}
@Test
@TestMetadata("closure.kt")
public void testClosure() throws Exception {
runTest("js/js.translator/testData/lineNumbers/closure.kt");
}
@Test
@TestMetadata("closure.kt")
public void testClosure() {
runTest("js/js.translator/testData/lineNumbers/closure.kt");
}
@Test
@TestMetadata("complexExpressionAsDefaultArgument.kt")
public void testComplexExpressionAsDefaultArgument() throws Exception {
runTest("js/js.translator/testData/lineNumbers/complexExpressionAsDefaultArgument.kt");
}
@Test
@TestMetadata("complexExpressionAsDefaultArgument.kt")
public void testComplexExpressionAsDefaultArgument() {
runTest("js/js.translator/testData/lineNumbers/complexExpressionAsDefaultArgument.kt");
}
@Test
@TestMetadata("conditionalDecomposed.kt")
public void testConditionalDecomposed() throws Exception {
runTest("js/js.translator/testData/lineNumbers/conditionalDecomposed.kt");
}
@Test
@TestMetadata("conditionalDecomposed.kt")
public void testConditionalDecomposed() {
runTest("js/js.translator/testData/lineNumbers/conditionalDecomposed.kt");
}
@Test
@TestMetadata("coroutine.kt")
public void testCoroutine() throws Exception {
runTest("js/js.translator/testData/lineNumbers/coroutine.kt");
}
@Test
@TestMetadata("coroutine.kt")
public void testCoroutine() {
runTest("js/js.translator/testData/lineNumbers/coroutine.kt");
}
@Test
@TestMetadata("coroutineNullAssertion.kt")
public void testCoroutineNullAssertion() throws Exception {
runTest("js/js.translator/testData/lineNumbers/coroutineNullAssertion.kt");
}
@Test
@TestMetadata("coroutineNullAssertion.kt")
public void testCoroutineNullAssertion() {
runTest("js/js.translator/testData/lineNumbers/coroutineNullAssertion.kt");
}
@Test
@TestMetadata("dataClass.kt")
public void testDataClass() throws Exception {
runTest("js/js.translator/testData/lineNumbers/dataClass.kt");
}
@Test
@TestMetadata("dataClass.kt")
public void testDataClass() {
runTest("js/js.translator/testData/lineNumbers/dataClass.kt");
}
@Test
@TestMetadata("delegateMemberVal.kt")
public void testDelegateMemberVal() throws Exception {
runTest("js/js.translator/testData/lineNumbers/delegateMemberVal.kt");
}
@Test
@TestMetadata("delegateMemberVal.kt")
public void testDelegateMemberVal() {
runTest("js/js.translator/testData/lineNumbers/delegateMemberVal.kt");
}
@Test
@TestMetadata("delegatedProperty.kt")
public void testDelegatedProperty() throws Exception {
runTest("js/js.translator/testData/lineNumbers/delegatedProperty.kt");
}
@Test
@TestMetadata("delegatedProperty.kt")
public void testDelegatedProperty() {
runTest("js/js.translator/testData/lineNumbers/delegatedProperty.kt");
}
@Test
@TestMetadata("delegation.kt")
public void testDelegation() throws Exception {
runTest("js/js.translator/testData/lineNumbers/delegation.kt");
}
@Test
@TestMetadata("delegation.kt")
public void testDelegation() {
runTest("js/js.translator/testData/lineNumbers/delegation.kt");
}
@Test
@TestMetadata("destructuring.kt")
public void testDestructuring() throws Exception {
runTest("js/js.translator/testData/lineNumbers/destructuring.kt");
}
@Test
@TestMetadata("destructuring.kt")
public void testDestructuring() {
runTest("js/js.translator/testData/lineNumbers/destructuring.kt");
}
@Test
@TestMetadata("destructuringInline.kt")
public void testDestructuringInline() throws Exception {
runTest("js/js.translator/testData/lineNumbers/destructuringInline.kt");
}
@Test
@TestMetadata("destructuringInline.kt")
public void testDestructuringInline() {
runTest("js/js.translator/testData/lineNumbers/destructuringInline.kt");
}
@Test
@TestMetadata("doWhileWithComplexCondition.kt")
public void testDoWhileWithComplexCondition() throws Exception {
runTest("js/js.translator/testData/lineNumbers/doWhileWithComplexCondition.kt");
}
@Test
@TestMetadata("doWhileWithComplexCondition.kt")
public void testDoWhileWithComplexCondition() {
runTest("js/js.translator/testData/lineNumbers/doWhileWithComplexCondition.kt");
}
@Test
@TestMetadata("elvis.kt")
public void testElvis() throws Exception {
runTest("js/js.translator/testData/lineNumbers/elvis.kt");
}
@Test
@TestMetadata("elvis.kt")
public void testElvis() {
runTest("js/js.translator/testData/lineNumbers/elvis.kt");
}
@Test
@TestMetadata("enumCompanionObject.kt")
public void testEnumCompanionObject() throws Exception {
runTest("js/js.translator/testData/lineNumbers/enumCompanionObject.kt");
}
@Test
@TestMetadata("enumCompanionObject.kt")
public void testEnumCompanionObject() {
runTest("js/js.translator/testData/lineNumbers/enumCompanionObject.kt");
}
@Test
@TestMetadata("enumObject.kt")
public void testEnumObject() throws Exception {
runTest("js/js.translator/testData/lineNumbers/enumObject.kt");
}
@Test
@TestMetadata("enumObject.kt")
public void testEnumObject() {
runTest("js/js.translator/testData/lineNumbers/enumObject.kt");
}
@Test
@TestMetadata("expressionAsFunctionBody.kt")
public void testExpressionAsFunctionBody() throws Exception {
runTest("js/js.translator/testData/lineNumbers/expressionAsFunctionBody.kt");
}
@Test
@TestMetadata("expressionAsFunctionBody.kt")
public void testExpressionAsFunctionBody() {
runTest("js/js.translator/testData/lineNumbers/expressionAsFunctionBody.kt");
}
@Test
@TestMetadata("for.kt")
public void testFor() throws Exception {
runTest("js/js.translator/testData/lineNumbers/for.kt");
}
@Test
@TestMetadata("for.kt")
public void testFor() {
runTest("js/js.translator/testData/lineNumbers/for.kt");
}
@Test
@TestMetadata("increment.kt")
public void testIncrement() throws Exception {
runTest("js/js.translator/testData/lineNumbers/increment.kt");
}
@Test
@TestMetadata("increment.kt")
public void testIncrement() {
runTest("js/js.translator/testData/lineNumbers/increment.kt");
}
@Test
@TestMetadata("inlineArguments.kt")
public void testInlineArguments() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlineArguments.kt");
}
@Test
@TestMetadata("inlineArguments.kt")
public void testInlineArguments() {
runTest("js/js.translator/testData/lineNumbers/inlineArguments.kt");
}
@Test
@TestMetadata("inlineLocalVarsRef.kt")
public void testInlineLocalVarsRef() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlineLocalVarsRef.kt");
}
@Test
@TestMetadata("inlineLocalVarsRef.kt")
public void testInlineLocalVarsRef() {
runTest("js/js.translator/testData/lineNumbers/inlineLocalVarsRef.kt");
}
@Test
@TestMetadata("inlineReturn.kt")
public void testInlineReturn() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlineReturn.kt");
}
@Test
@TestMetadata("inlineReturn.kt")
public void testInlineReturn() {
runTest("js/js.translator/testData/lineNumbers/inlineReturn.kt");
}
@Test
@TestMetadata("inlining.kt")
public void testInlining() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlining.kt");
}
@Test
@TestMetadata("inlining.kt")
public void testInlining() {
runTest("js/js.translator/testData/lineNumbers/inlining.kt");
}
@Test
@TestMetadata("inliningWithLambda.kt")
public void testInliningWithLambda() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inliningWithLambda.kt");
}
@Test
@TestMetadata("inliningWithLambda.kt")
public void testInliningWithLambda() {
runTest("js/js.translator/testData/lineNumbers/inliningWithLambda.kt");
}
@Test
@TestMetadata("innerClass.kt")
public void testInnerClass() throws Exception {
runTest("js/js.translator/testData/lineNumbers/innerClass.kt");
}
@Test
@TestMetadata("innerClass.kt")
public void testInnerClass() {
runTest("js/js.translator/testData/lineNumbers/innerClass.kt");
}
@Test
@TestMetadata("isOperator.kt")
public void testIsOperator() throws Exception {
runTest("js/js.translator/testData/lineNumbers/isOperator.kt");
}
@Test
@TestMetadata("isOperator.kt")
public void testIsOperator() {
runTest("js/js.translator/testData/lineNumbers/isOperator.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() throws Exception {
runTest("js/js.translator/testData/lineNumbers/jsCode.kt");
}
@Test
@TestMetadata("jsCode.kt")
public void testJsCode() {
runTest("js/js.translator/testData/lineNumbers/jsCode.kt");
}
@Test
@TestMetadata("lambdaWithClosure.kt")
public void testLambdaWithClosure() throws Exception {
runTest("js/js.translator/testData/lineNumbers/lambdaWithClosure.kt");
}
@Test
@TestMetadata("lambdaWithClosure.kt")
public void testLambdaWithClosure() {
runTest("js/js.translator/testData/lineNumbers/lambdaWithClosure.kt");
}
@Test
@TestMetadata("lastExpressionInInlineLambda.kt")
public void testLastExpressionInInlineLambda() throws Exception {
runTest("js/js.translator/testData/lineNumbers/lastExpressionInInlineLambda.kt");
}
@Test
@TestMetadata("lastExpressionInInlineLambda.kt")
public void testLastExpressionInInlineLambda() {
runTest("js/js.translator/testData/lineNumbers/lastExpressionInInlineLambda.kt");
}
@Test
@TestMetadata("literals.kt")
public void testLiterals() throws Exception {
runTest("js/js.translator/testData/lineNumbers/literals.kt");
}
@Test
@TestMetadata("literals.kt")
public void testLiterals() {
runTest("js/js.translator/testData/lineNumbers/literals.kt");
}
@Test
@TestMetadata("longLiteral.kt")
public void testLongLiteral() throws Exception {
runTest("js/js.translator/testData/lineNumbers/longLiteral.kt");
}
@Test
@TestMetadata("longLiteral.kt")
public void testLongLiteral() {
runTest("js/js.translator/testData/lineNumbers/longLiteral.kt");
}
@Test
@TestMetadata("memberFunWithDefaultParam.kt")
public void testMemberFunWithDefaultParam() throws Exception {
runTest("js/js.translator/testData/lineNumbers/memberFunWithDefaultParam.kt");
}
@Test
@TestMetadata("memberFunWithDefaultParam.kt")
public void testMemberFunWithDefaultParam() {
runTest("js/js.translator/testData/lineNumbers/memberFunWithDefaultParam.kt");
}
@Test
@TestMetadata("multipleReferences.kt")
public void testMultipleReferences() throws Exception {
runTest("js/js.translator/testData/lineNumbers/multipleReferences.kt");
}
@Test
@TestMetadata("multipleReferences.kt")
public void testMultipleReferences() {
runTest("js/js.translator/testData/lineNumbers/multipleReferences.kt");
}
@Test
@TestMetadata("objectInstanceFunction.kt")
public void testObjectInstanceFunction() throws Exception {
runTest("js/js.translator/testData/lineNumbers/objectInstanceFunction.kt");
}
@Test
@TestMetadata("objectInstanceFunction.kt")
public void testObjectInstanceFunction() {
runTest("js/js.translator/testData/lineNumbers/objectInstanceFunction.kt");
}
@Test
@TestMetadata("optionalArgs.kt")
public void testOptionalArgs() throws Exception {
runTest("js/js.translator/testData/lineNumbers/optionalArgs.kt");
}
@Test
@TestMetadata("optionalArgs.kt")
public void testOptionalArgs() {
runTest("js/js.translator/testData/lineNumbers/optionalArgs.kt");
}
@Test
@TestMetadata("propertyWithoutInitializer.kt")
public void testPropertyWithoutInitializer() {
runTest("js/js.translator/testData/lineNumbers/propertyWithoutInitializer.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() {
runTest("js/js.translator/testData/lineNumbers/simple.kt");
}
@Test
@TestMetadata("stringLiteral.kt")
public void testStringLiteral() {
runTest("js/js.translator/testData/lineNumbers/stringLiteral.kt");
}
@Test
@TestMetadata("syntheticCodeInConstructors.kt")
public void testSyntheticCodeInConstructors() {
runTest("js/js.translator/testData/lineNumbers/syntheticCodeInConstructors.kt");
}
@Test
@TestMetadata("syntheticCodeInEnums.kt")
public void testSyntheticCodeInEnums() {
runTest("js/js.translator/testData/lineNumbers/syntheticCodeInEnums.kt");
}
@Test
@TestMetadata("valParameter.kt")
public void testValParameter() {
runTest("js/js.translator/testData/lineNumbers/valParameter.kt");
}
@Test
@TestMetadata("whenEntryWithMultipleConditions.kt")
public void testWhenEntryWithMultipleConditions() {
runTest("js/js.translator/testData/lineNumbers/whenEntryWithMultipleConditions.kt");
}
@Test
@TestMetadata("whenEntryWithMultipleConditionsNonOptimized.kt")
public void testWhenEntryWithMultipleConditionsNonOptimized() {
runTest("js/js.translator/testData/lineNumbers/whenEntryWithMultipleConditionsNonOptimized.kt");
}
@Test
@TestMetadata("whenIn.kt")
public void testWhenIn() {
runTest("js/js.translator/testData/lineNumbers/whenIn.kt");
}
@Test
@TestMetadata("whenIs.kt")
public void testWhenIs() {
runTest("js/js.translator/testData/lineNumbers/whenIs.kt");
}
@Test
@TestMetadata("whileWithComplexCondition.kt")
public void testWhileWithComplexCondition() {
runTest("js/js.translator/testData/lineNumbers/whileWithComplexCondition.kt");
}
@Nested
@TestMetadata("js/js.translator/testData/lineNumbers/inlineMultiModule")
@TestDataPath("$PROJECT_ROOT")
public class InlineMultiModule {
@Test
@TestMetadata("propertyWithoutInitializer.kt")
public void testPropertyWithoutInitializer() throws Exception {
runTest("js/js.translator/testData/lineNumbers/propertyWithoutInitializer.kt");
public void testAllFilesPresentInInlineMultiModule() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/lineNumbers/inlineMultiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("js/js.translator/testData/lineNumbers/simple.kt");
}
@Test
@TestMetadata("stringLiteral.kt")
public void testStringLiteral() throws Exception {
runTest("js/js.translator/testData/lineNumbers/stringLiteral.kt");
}
@Test
@TestMetadata("syntheticCodeInConstructors.kt")
public void testSyntheticCodeInConstructors() throws Exception {
runTest("js/js.translator/testData/lineNumbers/syntheticCodeInConstructors.kt");
}
@Test
@TestMetadata("syntheticCodeInEnums.kt")
public void testSyntheticCodeInEnums() throws Exception {
runTest("js/js.translator/testData/lineNumbers/syntheticCodeInEnums.kt");
}
@Test
@TestMetadata("valParameter.kt")
public void testValParameter() throws Exception {
runTest("js/js.translator/testData/lineNumbers/valParameter.kt");
}
@Test
@TestMetadata("whenEntryWithMultipleConditions.kt")
public void testWhenEntryWithMultipleConditions() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whenEntryWithMultipleConditions.kt");
}
@Test
@TestMetadata("whenEntryWithMultipleConditionsNonOptimized.kt")
public void testWhenEntryWithMultipleConditionsNonOptimized() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whenEntryWithMultipleConditionsNonOptimized.kt");
}
@Test
@TestMetadata("whenIn.kt")
public void testWhenIn() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whenIn.kt");
}
@Test
@TestMetadata("whenIs.kt")
public void testWhenIs() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whenIs.kt");
}
@Test
@TestMetadata("whileWithComplexCondition.kt")
public void testWhileWithComplexCondition() throws Exception {
runTest("js/js.translator/testData/lineNumbers/whileWithComplexCondition.kt");
}
@Nested
@TestMetadata("js/js.translator/testData/lineNumbers/inlineMultiModule")
@TestDataPath("$PROJECT_ROOT")
public class InlineMultiModule {
@Test
public void testAllFilesPresentInInlineMultiModule() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/lineNumbers/inlineMultiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("js/js.translator/testData/lineNumbers/inlineMultiModule/simple.kt");
}
public void testSimple() {
runTest("js/js.translator/testData/lineNumbers/inlineMultiModule/simple.kt");
}
}
}
@@ -20,140 +20,140 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/klib/partial-linkage")
@TestDataPath("$PROJECT_ROOT")
public class JsPartialLinkageNoICES6TestCaseGenerated extends AbstractJsPartialLinkageNoICES6TestCase {
@Test
@TestMetadata("addEnumEntry")
public void testAddEnumEntry() throws Exception {
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
}
@Test
@TestMetadata("addEnumEntry")
public void testAddEnumEntry() {
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
}
@Test
@TestMetadata("addSealedSubclass")
public void testAddSealedSubclass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
}
@Test
@TestMetadata("addSealedSubclass")
public void testAddSealedSubclass() {
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
}
@Test
public void testAllFilesPresentInPartial_linkage() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR_ES6, false);
}
@Test
public void testAllFilesPresentInPartial_linkage() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR_ES6, false);
}
@Test
@TestMetadata("changeClassVisibility")
public void testChangeClassVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
}
@Test
@TestMetadata("changeClassVisibility")
public void testChangeClassVisibility() {
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
}
@Test
@TestMetadata("changeFunctionVisibility")
public void testChangeFunctionVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
}
@Test
@TestMetadata("changeFunctionVisibility")
public void testChangeFunctionVisibility() {
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
}
@Test
@TestMetadata("changePropertyVisibility")
public void testChangePropertyVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
}
@Test
@TestMetadata("changePropertyVisibility")
public void testChangePropertyVisibility() {
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
}
@Test
@TestMetadata("classTransformations")
public void testClassTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
}
@Test
@TestMetadata("classTransformations")
public void testClassTransformations() {
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
}
@Test
@TestMetadata("externalDeclarations")
public void testExternalDeclarations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
}
@Test
@TestMetadata("externalDeclarations")
public void testExternalDeclarations() {
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
}
@Test
@TestMetadata("functionTransformations")
public void testFunctionTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
}
@Test
@TestMetadata("functionTransformations")
public void testFunctionTransformations() {
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
}
@Test
@TestMetadata("inheritanceIssues")
public void testInheritanceIssues() throws Exception {
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
}
@Test
@TestMetadata("inheritanceIssues")
public void testInheritanceIssues() {
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
}
@Test
@TestMetadata("noNonImplementedCallableFalsePositives")
public void testNoNonImplementedCallableFalsePositives() throws Exception {
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
}
@Test
@TestMetadata("noNonImplementedCallableFalsePositives")
public void testNoNonImplementedCallableFalsePositives() {
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
}
@Test
@TestMetadata("nonAbstractCallableBecomesAbstract")
public void testNonAbstractCallableBecomesAbstract() throws Exception {
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
}
@Test
@TestMetadata("nonAbstractCallableBecomesAbstract")
public void testNonAbstractCallableBecomesAbstract() {
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
}
@Test
@TestMetadata("nonExhaustivenessOfWhenClause")
public void testNonExhaustivenessOfWhenClause() throws Exception {
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
}
@Test
@TestMetadata("nonExhaustivenessOfWhenClause")
public void testNonExhaustivenessOfWhenClause() {
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
}
@Test
@TestMetadata("propertyTransformations")
public void testPropertyTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
}
@Test
@TestMetadata("propertyTransformations")
public void testPropertyTransformations() {
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
}
@Test
@TestMetadata("referencingUnusableDeclarations")
public void testReferencingUnusableDeclarations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
}
@Test
@TestMetadata("referencingUnusableDeclarations")
public void testReferencingUnusableDeclarations() {
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
}
@Test
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
public void testRemoveAbstractCallableFromAbstractClassOrInterface() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
}
@Test
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
public void testRemoveAbstractCallableFromAbstractClassOrInterface() {
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
}
@Test
@TestMetadata("removeCallable")
public void testRemoveCallable() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
}
@Test
@TestMetadata("removeCallable")
public void testRemoveCallable() {
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
}
@Test
@TestMetadata("removeClass")
public void testRemoveClass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeClass/");
}
@Test
@TestMetadata("removeClass")
public void testRemoveClass() {
runTest("compiler/testData/klib/partial-linkage/removeClass/");
}
@Test
@TestMetadata("removeEnumEntry")
public void testRemoveEnumEntry() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
}
@Test
@TestMetadata("removeEnumEntry")
public void testRemoveEnumEntry() {
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
}
@Test
@TestMetadata("removeSealedSubclass")
public void testRemoveSealedSubclass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
}
@Test
@TestMetadata("removeSealedSubclass")
public void testRemoveSealedSubclass() {
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
}
@Test
@TestMetadata("replaceCallableReturnType")
public void testReplaceCallableReturnType() throws Exception {
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
}
@Test
@TestMetadata("replaceCallableReturnType")
public void testReplaceCallableReturnType() {
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
}
@Test
@TestMetadata("severalInheritedImplementations")
public void testSeveralInheritedImplementations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
}
@Test
@TestMetadata("severalInheritedImplementations")
public void testSeveralInheritedImplementations() {
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
}
@Test
@TestMetadata("typeAliasChanges")
public void testTypeAliasChanges() throws Exception {
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
}
@Test
@TestMetadata("typeAliasChanges")
public void testTypeAliasChanges() {
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
}
}
@@ -20,140 +20,140 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/klib/partial-linkage")
@TestDataPath("$PROJECT_ROOT")
public class JsPartialLinkageNoICTestCaseGenerated extends AbstractJsPartialLinkageNoICTestCase {
@Test
@TestMetadata("addEnumEntry")
public void testAddEnumEntry() throws Exception {
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
}
@Test
@TestMetadata("addEnumEntry")
public void testAddEnumEntry() {
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
}
@Test
@TestMetadata("addSealedSubclass")
public void testAddSealedSubclass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
}
@Test
@TestMetadata("addSealedSubclass")
public void testAddSealedSubclass() {
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
}
@Test
public void testAllFilesPresentInPartial_linkage() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
public void testAllFilesPresentInPartial_linkage() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
@TestMetadata("changeClassVisibility")
public void testChangeClassVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
}
@Test
@TestMetadata("changeClassVisibility")
public void testChangeClassVisibility() {
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
}
@Test
@TestMetadata("changeFunctionVisibility")
public void testChangeFunctionVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
}
@Test
@TestMetadata("changeFunctionVisibility")
public void testChangeFunctionVisibility() {
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
}
@Test
@TestMetadata("changePropertyVisibility")
public void testChangePropertyVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
}
@Test
@TestMetadata("changePropertyVisibility")
public void testChangePropertyVisibility() {
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
}
@Test
@TestMetadata("classTransformations")
public void testClassTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
}
@Test
@TestMetadata("classTransformations")
public void testClassTransformations() {
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
}
@Test
@TestMetadata("externalDeclarations")
public void testExternalDeclarations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
}
@Test
@TestMetadata("externalDeclarations")
public void testExternalDeclarations() {
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
}
@Test
@TestMetadata("functionTransformations")
public void testFunctionTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
}
@Test
@TestMetadata("functionTransformations")
public void testFunctionTransformations() {
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
}
@Test
@TestMetadata("inheritanceIssues")
public void testInheritanceIssues() throws Exception {
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
}
@Test
@TestMetadata("inheritanceIssues")
public void testInheritanceIssues() {
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
}
@Test
@TestMetadata("noNonImplementedCallableFalsePositives")
public void testNoNonImplementedCallableFalsePositives() throws Exception {
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
}
@Test
@TestMetadata("noNonImplementedCallableFalsePositives")
public void testNoNonImplementedCallableFalsePositives() {
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
}
@Test
@TestMetadata("nonAbstractCallableBecomesAbstract")
public void testNonAbstractCallableBecomesAbstract() throws Exception {
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
}
@Test
@TestMetadata("nonAbstractCallableBecomesAbstract")
public void testNonAbstractCallableBecomesAbstract() {
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
}
@Test
@TestMetadata("nonExhaustivenessOfWhenClause")
public void testNonExhaustivenessOfWhenClause() throws Exception {
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
}
@Test
@TestMetadata("nonExhaustivenessOfWhenClause")
public void testNonExhaustivenessOfWhenClause() {
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
}
@Test
@TestMetadata("propertyTransformations")
public void testPropertyTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
}
@Test
@TestMetadata("propertyTransformations")
public void testPropertyTransformations() {
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
}
@Test
@TestMetadata("referencingUnusableDeclarations")
public void testReferencingUnusableDeclarations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
}
@Test
@TestMetadata("referencingUnusableDeclarations")
public void testReferencingUnusableDeclarations() {
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
}
@Test
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
public void testRemoveAbstractCallableFromAbstractClassOrInterface() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
}
@Test
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
public void testRemoveAbstractCallableFromAbstractClassOrInterface() {
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
}
@Test
@TestMetadata("removeCallable")
public void testRemoveCallable() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
}
@Test
@TestMetadata("removeCallable")
public void testRemoveCallable() {
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
}
@Test
@TestMetadata("removeClass")
public void testRemoveClass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeClass/");
}
@Test
@TestMetadata("removeClass")
public void testRemoveClass() {
runTest("compiler/testData/klib/partial-linkage/removeClass/");
}
@Test
@TestMetadata("removeEnumEntry")
public void testRemoveEnumEntry() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
}
@Test
@TestMetadata("removeEnumEntry")
public void testRemoveEnumEntry() {
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
}
@Test
@TestMetadata("removeSealedSubclass")
public void testRemoveSealedSubclass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
}
@Test
@TestMetadata("removeSealedSubclass")
public void testRemoveSealedSubclass() {
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
}
@Test
@TestMetadata("replaceCallableReturnType")
public void testReplaceCallableReturnType() throws Exception {
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
}
@Test
@TestMetadata("replaceCallableReturnType")
public void testReplaceCallableReturnType() {
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
}
@Test
@TestMetadata("severalInheritedImplementations")
public void testSeveralInheritedImplementations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
}
@Test
@TestMetadata("severalInheritedImplementations")
public void testSeveralInheritedImplementations() {
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
}
@Test
@TestMetadata("typeAliasChanges")
public void testTypeAliasChanges() throws Exception {
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
}
@Test
@TestMetadata("typeAliasChanges")
public void testTypeAliasChanges() {
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
}
}
@@ -20,140 +20,140 @@ import java.util.regex.Pattern;
@TestMetadata("compiler/testData/klib/partial-linkage")
@TestDataPath("$PROJECT_ROOT")
public class JsPartialLinkageWithICTestCaseGenerated extends AbstractJsPartialLinkageWithICTestCase {
@Test
@TestMetadata("addEnumEntry")
public void testAddEnumEntry() throws Exception {
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
}
@Test
@TestMetadata("addEnumEntry")
public void testAddEnumEntry() {
runTest("compiler/testData/klib/partial-linkage/addEnumEntry/");
}
@Test
@TestMetadata("addSealedSubclass")
public void testAddSealedSubclass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
}
@Test
@TestMetadata("addSealedSubclass")
public void testAddSealedSubclass() {
runTest("compiler/testData/klib/partial-linkage/addSealedSubclass/");
}
@Test
public void testAllFilesPresentInPartial_linkage() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
public void testAllFilesPresentInPartial_linkage() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/partial-linkage"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
}
@Test
@TestMetadata("changeClassVisibility")
public void testChangeClassVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
}
@Test
@TestMetadata("changeClassVisibility")
public void testChangeClassVisibility() {
runTest("compiler/testData/klib/partial-linkage/changeClassVisibility/");
}
@Test
@TestMetadata("changeFunctionVisibility")
public void testChangeFunctionVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
}
@Test
@TestMetadata("changeFunctionVisibility")
public void testChangeFunctionVisibility() {
runTest("compiler/testData/klib/partial-linkage/changeFunctionVisibility/");
}
@Test
@TestMetadata("changePropertyVisibility")
public void testChangePropertyVisibility() throws Exception {
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
}
@Test
@TestMetadata("changePropertyVisibility")
public void testChangePropertyVisibility() {
runTest("compiler/testData/klib/partial-linkage/changePropertyVisibility/");
}
@Test
@TestMetadata("classTransformations")
public void testClassTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
}
@Test
@TestMetadata("classTransformations")
public void testClassTransformations() {
runTest("compiler/testData/klib/partial-linkage/classTransformations/");
}
@Test
@TestMetadata("externalDeclarations")
public void testExternalDeclarations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
}
@Test
@TestMetadata("externalDeclarations")
public void testExternalDeclarations() {
runTest("compiler/testData/klib/partial-linkage/externalDeclarations/");
}
@Test
@TestMetadata("functionTransformations")
public void testFunctionTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
}
@Test
@TestMetadata("functionTransformations")
public void testFunctionTransformations() {
runTest("compiler/testData/klib/partial-linkage/functionTransformations/");
}
@Test
@TestMetadata("inheritanceIssues")
public void testInheritanceIssues() throws Exception {
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
}
@Test
@TestMetadata("inheritanceIssues")
public void testInheritanceIssues() {
runTest("compiler/testData/klib/partial-linkage/inheritanceIssues/");
}
@Test
@TestMetadata("noNonImplementedCallableFalsePositives")
public void testNoNonImplementedCallableFalsePositives() throws Exception {
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
}
@Test
@TestMetadata("noNonImplementedCallableFalsePositives")
public void testNoNonImplementedCallableFalsePositives() {
runTest("compiler/testData/klib/partial-linkage/noNonImplementedCallableFalsePositives/");
}
@Test
@TestMetadata("nonAbstractCallableBecomesAbstract")
public void testNonAbstractCallableBecomesAbstract() throws Exception {
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
}
@Test
@TestMetadata("nonAbstractCallableBecomesAbstract")
public void testNonAbstractCallableBecomesAbstract() {
runTest("compiler/testData/klib/partial-linkage/nonAbstractCallableBecomesAbstract/");
}
@Test
@TestMetadata("nonExhaustivenessOfWhenClause")
public void testNonExhaustivenessOfWhenClause() throws Exception {
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
}
@Test
@TestMetadata("nonExhaustivenessOfWhenClause")
public void testNonExhaustivenessOfWhenClause() {
runTest("compiler/testData/klib/partial-linkage/nonExhaustivenessOfWhenClause/");
}
@Test
@TestMetadata("propertyTransformations")
public void testPropertyTransformations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
}
@Test
@TestMetadata("propertyTransformations")
public void testPropertyTransformations() {
runTest("compiler/testData/klib/partial-linkage/propertyTransformations/");
}
@Test
@TestMetadata("referencingUnusableDeclarations")
public void testReferencingUnusableDeclarations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
}
@Test
@TestMetadata("referencingUnusableDeclarations")
public void testReferencingUnusableDeclarations() {
runTest("compiler/testData/klib/partial-linkage/referencingUnusableDeclarations/");
}
@Test
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
public void testRemoveAbstractCallableFromAbstractClassOrInterface() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
}
@Test
@TestMetadata("removeAbstractCallableFromAbstractClassOrInterface")
public void testRemoveAbstractCallableFromAbstractClassOrInterface() {
runTest("compiler/testData/klib/partial-linkage/removeAbstractCallableFromAbstractClassOrInterface/");
}
@Test
@TestMetadata("removeCallable")
public void testRemoveCallable() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
}
@Test
@TestMetadata("removeCallable")
public void testRemoveCallable() {
runTest("compiler/testData/klib/partial-linkage/removeCallable/");
}
@Test
@TestMetadata("removeClass")
public void testRemoveClass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeClass/");
}
@Test
@TestMetadata("removeClass")
public void testRemoveClass() {
runTest("compiler/testData/klib/partial-linkage/removeClass/");
}
@Test
@TestMetadata("removeEnumEntry")
public void testRemoveEnumEntry() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
}
@Test
@TestMetadata("removeEnumEntry")
public void testRemoveEnumEntry() {
runTest("compiler/testData/klib/partial-linkage/removeEnumEntry/");
}
@Test
@TestMetadata("removeSealedSubclass")
public void testRemoveSealedSubclass() throws Exception {
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
}
@Test
@TestMetadata("removeSealedSubclass")
public void testRemoveSealedSubclass() {
runTest("compiler/testData/klib/partial-linkage/removeSealedSubclass/");
}
@Test
@TestMetadata("replaceCallableReturnType")
public void testReplaceCallableReturnType() throws Exception {
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
}
@Test
@TestMetadata("replaceCallableReturnType")
public void testReplaceCallableReturnType() {
runTest("compiler/testData/klib/partial-linkage/replaceCallableReturnType/");
}
@Test
@TestMetadata("severalInheritedImplementations")
public void testSeveralInheritedImplementations() throws Exception {
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
}
@Test
@TestMetadata("severalInheritedImplementations")
public void testSeveralInheritedImplementations() {
runTest("compiler/testData/klib/partial-linkage/severalInheritedImplementations/");
}
@Test
@TestMetadata("typeAliasChanges")
public void testTypeAliasChanges() throws Exception {
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
}
@Test
@TestMetadata("typeAliasChanges")
public void testTypeAliasChanges() {
runTest("compiler/testData/klib/partial-linkage/typeAliasChanges/");
}
}
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/multiModuleOrder")
@TestDataPath("$PROJECT_ROOT")
public class MultiModuleOrderTestGenerated extends AbstractMultiModuleOrderTest {
@Test
public void testAllFilesPresentInMultiModuleOrder() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/multiModuleOrder"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInMultiModuleOrder() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/multiModuleOrder"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("plain.kt")
public void testPlain() throws Exception {
runTest("js/js.translator/testData/multiModuleOrder/plain.kt");
}
@Test
@TestMetadata("plain.kt")
public void testPlain() {
runTest("js/js.translator/testData/multiModuleOrder/plain.kt");
}
@Test
@TestMetadata("umd.kt")
public void testUmd() throws Exception {
runTest("js/js.translator/testData/multiModuleOrder/umd.kt");
}
@Test
@TestMetadata("umd.kt")
public void testUmd() {
runTest("js/js.translator/testData/multiModuleOrder/umd.kt");
}
}
@@ -20,32 +20,32 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/sourcemap")
@TestDataPath("$PROJECT_ROOT")
public class SourceMapGenerationSmokeTestGenerated extends AbstractSourceMapGenerationSmokeTest {
@Test
public void testAllFilesPresentInSourcemap() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/sourcemap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInSourcemap() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/sourcemap"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("binaryOperation.kt")
public void testBinaryOperation() throws Exception {
runTest("js/js.translator/testData/sourcemap/binaryOperation.kt");
}
@Test
@TestMetadata("binaryOperation.kt")
public void testBinaryOperation() {
runTest("js/js.translator/testData/sourcemap/binaryOperation.kt");
}
@Test
@TestMetadata("emptyIfInsideInlineLambda.kt")
public void testEmptyIfInsideInlineLambda() throws Exception {
runTest("js/js.translator/testData/sourcemap/emptyIfInsideInlineLambda.kt");
}
@Test
@TestMetadata("emptyIfInsideInlineLambda.kt")
public void testEmptyIfInsideInlineLambda() {
runTest("js/js.translator/testData/sourcemap/emptyIfInsideInlineLambda.kt");
}
@Test
@TestMetadata("expressionBody.kt")
public void testExpressionBody() throws Exception {
runTest("js/js.translator/testData/sourcemap/expressionBody.kt");
}
@Test
@TestMetadata("expressionBody.kt")
public void testExpressionBody() {
runTest("js/js.translator/testData/sourcemap/expressionBody.kt");
}
@Test
@TestMetadata("methodCallInMethod.kt")
public void testMethodCallInMethod() throws Exception {
runTest("js/js.translator/testData/sourcemap/methodCallInMethod.kt");
}
@Test
@TestMetadata("methodCallInMethod.kt")
public void testMethodCallInMethod() {
runTest("js/js.translator/testData/sourcemap/methodCallInMethod.kt");
}
}
@@ -20,110 +20,110 @@ import java.util.regex.Pattern;
@TestMetadata("js/js.translator/testData/webDemoExamples")
@TestDataPath("$PROJECT_ROOT")
public class WebDemoExamplesTestGenerated extends AbstractWebDemoExamplesTest {
@Test
public void testAllFilesPresentInWebDemoExamples() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/webDemoExamples"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
public void testAllFilesPresentInWebDemoExamples() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/webDemoExamples"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("bottles.kt")
public void testBottles() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/bottles.kt");
}
@Test
@TestMetadata("bottles.kt")
public void testBottles() {
runTest("js/js.translator/testData/webDemoExamples/bottles.kt");
}
@Test
@TestMetadata("builder.kt")
public void testBuilder() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/builder.kt");
}
@Test
@TestMetadata("builder.kt")
public void testBuilder() {
runTest("js/js.translator/testData/webDemoExamples/builder.kt");
}
@Test
@TestMetadata("forLoop1.kt")
public void testForLoop1() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/forLoop1.kt");
}
@Test
@TestMetadata("forLoop1.kt")
public void testForLoop1() {
runTest("js/js.translator/testData/webDemoExamples/forLoop1.kt");
}
@Test
@TestMetadata("forLoop2.kt")
public void testForLoop2() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/forLoop2.kt");
}
@Test
@TestMetadata("forLoop2.kt")
public void testForLoop2() {
runTest("js/js.translator/testData/webDemoExamples/forLoop2.kt");
}
@Test
@TestMetadata("ifAsExpression.kt")
public void testIfAsExpression() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/ifAsExpression.kt");
}
@Test
@TestMetadata("ifAsExpression.kt")
public void testIfAsExpression() {
runTest("js/js.translator/testData/webDemoExamples/ifAsExpression.kt");
}
@Test
@TestMetadata("isCheck.kt")
public void testIsCheck() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/isCheck.kt");
}
@Test
@TestMetadata("isCheck.kt")
public void testIsCheck() {
runTest("js/js.translator/testData/webDemoExamples/isCheck.kt");
}
@Test
@TestMetadata("life.kt")
public void testLife() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/life.kt");
}
@Test
@TestMetadata("life.kt")
public void testLife() {
runTest("js/js.translator/testData/webDemoExamples/life.kt");
}
@Test
@TestMetadata("maze.kt")
public void testMaze() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/maze.kt");
}
@Test
@TestMetadata("maze.kt")
public void testMaze() {
runTest("js/js.translator/testData/webDemoExamples/maze.kt");
}
@Test
@TestMetadata("multiLanguageHello.kt")
public void testMultiLanguageHello() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/multiLanguageHello.kt");
}
@Test
@TestMetadata("multiLanguageHello.kt")
public void testMultiLanguageHello() {
runTest("js/js.translator/testData/webDemoExamples/multiLanguageHello.kt");
}
@Test
@TestMetadata("nullChecks1.kt")
public void testNullChecks1() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/nullChecks1.kt");
}
@Test
@TestMetadata("nullChecks1.kt")
public void testNullChecks1() {
runTest("js/js.translator/testData/webDemoExamples/nullChecks1.kt");
}
@Test
@TestMetadata("nullChecks2.kt")
public void testNullChecks2() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/nullChecks2.kt");
}
@Test
@TestMetadata("nullChecks2.kt")
public void testNullChecks2() {
runTest("js/js.translator/testData/webDemoExamples/nullChecks2.kt");
}
@Test
@TestMetadata("objectOrientedHello.kt")
public void testObjectOrientedHello() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/objectOrientedHello.kt");
}
@Test
@TestMetadata("objectOrientedHello.kt")
public void testObjectOrientedHello() {
runTest("js/js.translator/testData/webDemoExamples/objectOrientedHello.kt");
}
@Test
@TestMetadata("patternMatching.kt")
public void testPatternMatching() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/patternMatching.kt");
}
@Test
@TestMetadata("patternMatching.kt")
public void testPatternMatching() {
runTest("js/js.translator/testData/webDemoExamples/patternMatching.kt");
}
@Test
@TestMetadata("printArg.kt")
public void testPrintArg() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/printArg.kt");
}
@Test
@TestMetadata("printArg.kt")
public void testPrintArg() {
runTest("js/js.translator/testData/webDemoExamples/printArg.kt");
}
@Test
@TestMetadata("ranges1.kt")
public void testRanges1() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/ranges1.kt");
}
@Test
@TestMetadata("ranges1.kt")
public void testRanges1() {
runTest("js/js.translator/testData/webDemoExamples/ranges1.kt");
}
@Test
@TestMetadata("ranges2.kt")
public void testRanges2() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/ranges2.kt");
}
@Test
@TestMetadata("ranges2.kt")
public void testRanges2() {
runTest("js/js.translator/testData/webDemoExamples/ranges2.kt");
}
@Test
@TestMetadata("whileLoop.kt")
public void testWhileLoop() throws Exception {
runTest("js/js.translator/testData/webDemoExamples/whileLoop.kt");
}
@Test
@TestMetadata("whileLoop.kt")
public void testWhileLoop() {
runTest("js/js.translator/testData/webDemoExamples/whileLoop.kt");
}
}
@@ -22,41 +22,41 @@ import java.util.regex.Pattern;
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public class DceTestGenerated extends AbstractDceTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath);
}
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath);
}
public void testAllFilesPresentInDce() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/dce"), Pattern.compile("(.+)\\.js"), null, TargetBackend.JS, true);
}
public void testAllFilesPresentInDce() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/dce"), Pattern.compile("(.+)\\.js"), null, TargetBackend.JS, true);
}
@TestMetadata("amd.js")
public void testAmd() throws Exception {
runTest("js/js.translator/testData/dce/amd.js");
}
@TestMetadata("amd.js")
public void testAmd() {
runTest("js/js.translator/testData/dce/amd.js");
}
@TestMetadata("arrayAccess.js")
public void testArrayAccess() throws Exception {
runTest("js/js.translator/testData/dce/arrayAccess.js");
}
@TestMetadata("arrayAccess.js")
public void testArrayAccess() {
runTest("js/js.translator/testData/dce/arrayAccess.js");
}
@TestMetadata("commonjs.js")
public void testCommonjs() throws Exception {
runTest("js/js.translator/testData/dce/commonjs.js");
}
@TestMetadata("commonjs.js")
public void testCommonjs() {
runTest("js/js.translator/testData/dce/commonjs.js");
}
@TestMetadata("cycle.js")
public void testCycle() throws Exception {
runTest("js/js.translator/testData/dce/cycle.js");
}
@TestMetadata("cycle.js")
public void testCycle() {
runTest("js/js.translator/testData/dce/cycle.js");
}
@TestMetadata("localVarAndFunction.js")
public void testLocalVarAndFunction() throws Exception {
runTest("js/js.translator/testData/dce/localVarAndFunction.js");
}
@TestMetadata("localVarAndFunction.js")
public void testLocalVarAndFunction() {
runTest("js/js.translator/testData/dce/localVarAndFunction.js");
}
@TestMetadata("typeOf.js")
public void testTypeOf() throws Exception {
runTest("js/js.translator/testData/dce/typeOf.js");
}
@TestMetadata("typeOf.js")
public void testTypeOf() {
runTest("js/js.translator/testData/dce/typeOf.js");
}
}
@@ -22,206 +22,206 @@ import java.util.regex.Pattern;
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public class ClassicJsKlibEvolutionTestGenerated extends AbstractClassicJsKlibEvolutionTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
}
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
}
@TestMetadata("addAbstractMemberBody.kt")
public void testAddAbstractMemberBody() throws Exception {
runTest("compiler/testData/klib/evolution/addAbstractMemberBody.kt");
}
@TestMetadata("addAbstractMemberBody.kt")
public void testAddAbstractMemberBody() {
runTest("compiler/testData/klib/evolution/addAbstractMemberBody.kt");
}
@TestMetadata("addCompanionObject.kt")
public void testAddCompanionObject() throws Exception {
runTest("compiler/testData/klib/evolution/addCompanionObject.kt");
}
@TestMetadata("addCompanionObject.kt")
public void testAddCompanionObject() {
runTest("compiler/testData/klib/evolution/addCompanionObject.kt");
}
@TestMetadata("addDefaultImplementations.kt")
public void testAddDefaultImplementations() throws Exception {
runTest("compiler/testData/klib/evolution/addDefaultImplementations.kt");
}
@TestMetadata("addDefaultImplementations.kt")
public void testAddDefaultImplementations() {
runTest("compiler/testData/klib/evolution/addDefaultImplementations.kt");
}
@TestMetadata("addEnumClassMember.kt")
public void testAddEnumClassMember() throws Exception {
runTest("compiler/testData/klib/evolution/addEnumClassMember.kt");
}
@TestMetadata("addEnumClassMember.kt")
public void testAddEnumClassMember() {
runTest("compiler/testData/klib/evolution/addEnumClassMember.kt");
}
@TestMetadata("addLateinitToVar.kt")
public void testAddLateinitToVar() throws Exception {
runTest("compiler/testData/klib/evolution/addLateinitToVar.kt");
}
@TestMetadata("addLateinitToVar.kt")
public void testAddLateinitToVar() {
runTest("compiler/testData/klib/evolution/addLateinitToVar.kt");
}
@TestMetadata("addOpenToClass.kt")
public void testAddOpenToClass() throws Exception {
runTest("compiler/testData/klib/evolution/addOpenToClass.kt");
}
@TestMetadata("addOpenToClass.kt")
public void testAddOpenToClass() {
runTest("compiler/testData/klib/evolution/addOpenToClass.kt");
}
@TestMetadata("addOpenToMember.kt")
public void testAddOpenToMember() throws Exception {
runTest("compiler/testData/klib/evolution/addOpenToMember.kt");
}
@TestMetadata("addOpenToMember.kt")
public void testAddOpenToMember() {
runTest("compiler/testData/klib/evolution/addOpenToMember.kt");
}
@TestMetadata("addOrRemoveConst.kt")
public void testAddOrRemoveConst() throws Exception {
runTest("compiler/testData/klib/evolution/addOrRemoveConst.kt");
}
@TestMetadata("addOrRemoveConst.kt")
public void testAddOrRemoveConst() {
runTest("compiler/testData/klib/evolution/addOrRemoveConst.kt");
}
@TestMetadata("addOrRemoveInitBlock.kt")
public void testAddOrRemoveInitBlock() throws Exception {
runTest("compiler/testData/klib/evolution/addOrRemoveInitBlock.kt");
}
@TestMetadata("addOrRemoveInitBlock.kt")
public void testAddOrRemoveInitBlock() {
runTest("compiler/testData/klib/evolution/addOrRemoveInitBlock.kt");
}
@TestMetadata("addOverloads.kt")
public void testAddOverloads() throws Exception {
runTest("compiler/testData/klib/evolution/addOverloads.kt");
}
@TestMetadata("addOverloads.kt")
public void testAddOverloads() {
runTest("compiler/testData/klib/evolution/addOverloads.kt");
}
@TestMetadata("addParameterDefaulValue.kt")
public void testAddParameterDefaulValue() throws Exception {
runTest("compiler/testData/klib/evolution/addParameterDefaulValue.kt");
}
@TestMetadata("addParameterDefaulValue.kt")
public void testAddParameterDefaulValue() {
runTest("compiler/testData/klib/evolution/addParameterDefaulValue.kt");
}
@TestMetadata("addPropertyAccessor.kt")
public void testAddPropertyAccessor() throws Exception {
runTest("compiler/testData/klib/evolution/addPropertyAccessor.kt");
}
@TestMetadata("addPropertyAccessor.kt")
public void testAddPropertyAccessor() {
runTest("compiler/testData/klib/evolution/addPropertyAccessor.kt");
}
@TestMetadata("addingSealedClassMember.kt")
public void testAddingSealedClassMember() throws Exception {
runTest("compiler/testData/klib/evolution/addingSealedClassMember.kt");
}
@TestMetadata("addingSealedClassMember.kt")
public void testAddingSealedClassMember() {
runTest("compiler/testData/klib/evolution/addingSealedClassMember.kt");
}
public void testAllFilesPresentInEvolution() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/evolution"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
public void testAllFilesPresentInEvolution() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/evolution"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("changeBaseClassOrder.kt")
public void testChangeBaseClassOrder() throws Exception {
runTest("compiler/testData/klib/evolution/changeBaseClassOrder.kt");
}
@TestMetadata("changeBaseClassOrder.kt")
public void testChangeBaseClassOrder() {
runTest("compiler/testData/klib/evolution/changeBaseClassOrder.kt");
}
@TestMetadata("changeCompanionToNestedObject.kt")
public void testChangeCompanionToNestedObject() throws Exception {
runTest("compiler/testData/klib/evolution/changeCompanionToNestedObject.kt");
}
@TestMetadata("changeCompanionToNestedObject.kt")
public void testChangeCompanionToNestedObject() {
runTest("compiler/testData/klib/evolution/changeCompanionToNestedObject.kt");
}
@TestMetadata("changeConstInitialization.kt")
public void testChangeConstInitialization() throws Exception {
runTest("compiler/testData/klib/evolution/changeConstInitialization.kt");
}
@TestMetadata("changeConstInitialization.kt")
public void testChangeConstInitialization() {
runTest("compiler/testData/klib/evolution/changeConstInitialization.kt");
}
@TestMetadata("changeNamesOfTypeParameters.kt")
public void testChangeNamesOfTypeParameters() throws Exception {
runTest("compiler/testData/klib/evolution/changeNamesOfTypeParameters.kt");
}
@TestMetadata("changeNamesOfTypeParameters.kt")
public void testChangeNamesOfTypeParameters() {
runTest("compiler/testData/klib/evolution/changeNamesOfTypeParameters.kt");
}
@TestMetadata("changeObjectToCompanion.kt")
public void testChangeObjectToCompanion() throws Exception {
runTest("compiler/testData/klib/evolution/changeObjectToCompanion.kt");
}
@TestMetadata("changeObjectToCompanion.kt")
public void testChangeObjectToCompanion() {
runTest("compiler/testData/klib/evolution/changeObjectToCompanion.kt");
}
@TestMetadata("changeParameterDefaultValue.kt")
public void testChangeParameterDefaultValue() throws Exception {
runTest("compiler/testData/klib/evolution/changeParameterDefaultValue.kt");
}
@TestMetadata("changeParameterDefaultValue.kt")
public void testChangeParameterDefaultValue() {
runTest("compiler/testData/klib/evolution/changeParameterDefaultValue.kt");
}
@TestMetadata("changePropertyFromValToVar.kt")
public void testChangePropertyFromValToVar() throws Exception {
runTest("compiler/testData/klib/evolution/changePropertyFromValToVar.kt");
}
@TestMetadata("changePropertyFromValToVar.kt")
public void testChangePropertyFromValToVar() {
runTest("compiler/testData/klib/evolution/changePropertyFromValToVar.kt");
}
@TestMetadata("changePropertyInitialization.kt")
public void testChangePropertyInitialization() throws Exception {
runTest("compiler/testData/klib/evolution/changePropertyInitialization.kt");
}
@TestMetadata("changePropertyInitialization.kt")
public void testChangePropertyInitialization() {
runTest("compiler/testData/klib/evolution/changePropertyInitialization.kt");
}
@TestMetadata("constructorParameterMarkValVar.kt")
public void testConstructorParameterMarkValVar() throws Exception {
runTest("compiler/testData/klib/evolution/constructorParameterMarkValVar.kt");
}
@TestMetadata("constructorParameterMarkValVar.kt")
public void testConstructorParameterMarkValVar() {
runTest("compiler/testData/klib/evolution/constructorParameterMarkValVar.kt");
}
@TestMetadata("deleteOverrideMember.kt")
public void testDeleteOverrideMember() throws Exception {
runTest("compiler/testData/klib/evolution/deleteOverrideMember.kt");
}
@TestMetadata("deleteOverrideMember.kt")
public void testDeleteOverrideMember() {
runTest("compiler/testData/klib/evolution/deleteOverrideMember.kt");
}
@TestMetadata("deletePrivateMembers.kt")
public void testDeletePrivateMembers() throws Exception {
runTest("compiler/testData/klib/evolution/deletePrivateMembers.kt");
}
@TestMetadata("deletePrivateMembers.kt")
public void testDeletePrivateMembers() {
runTest("compiler/testData/klib/evolution/deletePrivateMembers.kt");
}
@TestMetadata("inlineBodyChange.kt")
public void testInlineBodyChange() throws Exception {
runTest("compiler/testData/klib/evolution/inlineBodyChange.kt");
}
@TestMetadata("inlineBodyChange.kt")
public void testInlineBodyChange() {
runTest("compiler/testData/klib/evolution/inlineBodyChange.kt");
}
@TestMetadata("inlineFunction.kt")
public void testInlineFunction() throws Exception {
runTest("compiler/testData/klib/evolution/inlineFunction.kt");
}
@TestMetadata("inlineFunction.kt")
public void testInlineFunction() {
runTest("compiler/testData/klib/evolution/inlineFunction.kt");
}
@TestMetadata("makeFunctionInfixOrTailrec.kt")
public void testMakeFunctionInfixOrTailrec() throws Exception {
runTest("compiler/testData/klib/evolution/makeFunctionInfixOrTailrec.kt");
}
@TestMetadata("makeFunctionInfixOrTailrec.kt")
public void testMakeFunctionInfixOrTailrec() {
runTest("compiler/testData/klib/evolution/makeFunctionInfixOrTailrec.kt");
}
@TestMetadata("moreSpecificBaseClass.kt")
public void testMoreSpecificBaseClass() throws Exception {
runTest("compiler/testData/klib/evolution/moreSpecificBaseClass.kt");
}
@TestMetadata("moreSpecificBaseClass.kt")
public void testMoreSpecificBaseClass() {
runTest("compiler/testData/klib/evolution/moreSpecificBaseClass.kt");
}
@TestMetadata("moveMemberUpInHierarchy.kt")
public void testMoveMemberUpInHierarchy() throws Exception {
runTest("compiler/testData/klib/evolution/moveMemberUpInHierarchy.kt");
}
@TestMetadata("moveMemberUpInHierarchy.kt")
public void testMoveMemberUpInHierarchy() {
runTest("compiler/testData/klib/evolution/moveMemberUpInHierarchy.kt");
}
@TestMetadata("newFakeOverride.kt")
public void testNewFakeOverride() throws Exception {
runTest("compiler/testData/klib/evolution/newFakeOverride.kt");
}
@TestMetadata("newFakeOverride.kt")
public void testNewFakeOverride() {
runTest("compiler/testData/klib/evolution/newFakeOverride.kt");
}
@TestMetadata("newOverrideMember.kt")
public void testNewOverrideMember() throws Exception {
runTest("compiler/testData/klib/evolution/newOverrideMember.kt");
}
@TestMetadata("newOverrideMember.kt")
public void testNewOverrideMember() {
runTest("compiler/testData/klib/evolution/newOverrideMember.kt");
}
@TestMetadata("removeAbstractFromClass.kt")
public void testRemoveAbstractFromClass() throws Exception {
runTest("compiler/testData/klib/evolution/removeAbstractFromClass.kt");
}
@TestMetadata("removeAbstractFromClass.kt")
public void testRemoveAbstractFromClass() {
runTest("compiler/testData/klib/evolution/removeAbstractFromClass.kt");
}
@TestMetadata("removeInfixOrTailrecFromFunction.kt")
public void testRemoveInfixOrTailrecFromFunction() throws Exception {
runTest("compiler/testData/klib/evolution/removeInfixOrTailrecFromFunction.kt");
}
@TestMetadata("removeInfixOrTailrecFromFunction.kt")
public void testRemoveInfixOrTailrecFromFunction() {
runTest("compiler/testData/klib/evolution/removeInfixOrTailrecFromFunction.kt");
}
@TestMetadata("removeLateinitFromVar.kt")
public void testRemoveLateinitFromVar() throws Exception {
runTest("compiler/testData/klib/evolution/removeLateinitFromVar.kt");
}
@TestMetadata("removeLateinitFromVar.kt")
public void testRemoveLateinitFromVar() {
runTest("compiler/testData/klib/evolution/removeLateinitFromVar.kt");
}
@TestMetadata("removePropertyAccessor.kt")
public void testRemovePropertyAccessor() throws Exception {
runTest("compiler/testData/klib/evolution/removePropertyAccessor.kt");
}
@TestMetadata("removePropertyAccessor.kt")
public void testRemovePropertyAccessor() {
runTest("compiler/testData/klib/evolution/removePropertyAccessor.kt");
}
@TestMetadata("renameArguments.kt")
public void testRenameArguments() throws Exception {
runTest("compiler/testData/klib/evolution/renameArguments.kt");
}
@TestMetadata("renameArguments.kt")
public void testRenameArguments() {
runTest("compiler/testData/klib/evolution/renameArguments.kt");
}
@TestMetadata("reorderClassConstructors.kt")
public void testReorderClassConstructors() throws Exception {
runTest("compiler/testData/klib/evolution/reorderClassConstructors.kt");
}
@TestMetadata("reorderClassConstructors.kt")
public void testReorderClassConstructors() {
runTest("compiler/testData/klib/evolution/reorderClassConstructors.kt");
}
@TestMetadata("turnClassIntoDataClass.kt")
public void testTurnClassIntoDataClass() throws Exception {
runTest("compiler/testData/klib/evolution/turnClassIntoDataClass.kt");
}
@TestMetadata("turnClassIntoDataClass.kt")
public void testTurnClassIntoDataClass() {
runTest("compiler/testData/klib/evolution/turnClassIntoDataClass.kt");
}
@TestMetadata("widenSuperMemberVisibility.kt")
public void testWidenSuperMemberVisibility() throws Exception {
runTest("compiler/testData/klib/evolution/widenSuperMemberVisibility.kt");
}
@TestMetadata("widenSuperMemberVisibility.kt")
public void testWidenSuperMemberVisibility() {
runTest("compiler/testData/klib/evolution/widenSuperMemberVisibility.kt");
}
}
@@ -22,206 +22,206 @@ import java.util.regex.Pattern;
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public class FirJsKlibEvolutionTestGenerated extends AbstractFirJsKlibEvolutionTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
}
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
}
@TestMetadata("addAbstractMemberBody.kt")
public void testAddAbstractMemberBody() throws Exception {
runTest("compiler/testData/klib/evolution/addAbstractMemberBody.kt");
}
@TestMetadata("addAbstractMemberBody.kt")
public void testAddAbstractMemberBody() {
runTest("compiler/testData/klib/evolution/addAbstractMemberBody.kt");
}
@TestMetadata("addCompanionObject.kt")
public void testAddCompanionObject() throws Exception {
runTest("compiler/testData/klib/evolution/addCompanionObject.kt");
}
@TestMetadata("addCompanionObject.kt")
public void testAddCompanionObject() {
runTest("compiler/testData/klib/evolution/addCompanionObject.kt");
}
@TestMetadata("addDefaultImplementations.kt")
public void testAddDefaultImplementations() throws Exception {
runTest("compiler/testData/klib/evolution/addDefaultImplementations.kt");
}
@TestMetadata("addDefaultImplementations.kt")
public void testAddDefaultImplementations() {
runTest("compiler/testData/klib/evolution/addDefaultImplementations.kt");
}
@TestMetadata("addEnumClassMember.kt")
public void testAddEnumClassMember() throws Exception {
runTest("compiler/testData/klib/evolution/addEnumClassMember.kt");
}
@TestMetadata("addEnumClassMember.kt")
public void testAddEnumClassMember() {
runTest("compiler/testData/klib/evolution/addEnumClassMember.kt");
}
@TestMetadata("addLateinitToVar.kt")
public void testAddLateinitToVar() throws Exception {
runTest("compiler/testData/klib/evolution/addLateinitToVar.kt");
}
@TestMetadata("addLateinitToVar.kt")
public void testAddLateinitToVar() {
runTest("compiler/testData/klib/evolution/addLateinitToVar.kt");
}
@TestMetadata("addOpenToClass.kt")
public void testAddOpenToClass() throws Exception {
runTest("compiler/testData/klib/evolution/addOpenToClass.kt");
}
@TestMetadata("addOpenToClass.kt")
public void testAddOpenToClass() {
runTest("compiler/testData/klib/evolution/addOpenToClass.kt");
}
@TestMetadata("addOpenToMember.kt")
public void testAddOpenToMember() throws Exception {
runTest("compiler/testData/klib/evolution/addOpenToMember.kt");
}
@TestMetadata("addOpenToMember.kt")
public void testAddOpenToMember() {
runTest("compiler/testData/klib/evolution/addOpenToMember.kt");
}
@TestMetadata("addOrRemoveConst.kt")
public void testAddOrRemoveConst() throws Exception {
runTest("compiler/testData/klib/evolution/addOrRemoveConst.kt");
}
@TestMetadata("addOrRemoveConst.kt")
public void testAddOrRemoveConst() {
runTest("compiler/testData/klib/evolution/addOrRemoveConst.kt");
}
@TestMetadata("addOrRemoveInitBlock.kt")
public void testAddOrRemoveInitBlock() throws Exception {
runTest("compiler/testData/klib/evolution/addOrRemoveInitBlock.kt");
}
@TestMetadata("addOrRemoveInitBlock.kt")
public void testAddOrRemoveInitBlock() {
runTest("compiler/testData/klib/evolution/addOrRemoveInitBlock.kt");
}
@TestMetadata("addOverloads.kt")
public void testAddOverloads() throws Exception {
runTest("compiler/testData/klib/evolution/addOverloads.kt");
}
@TestMetadata("addOverloads.kt")
public void testAddOverloads() {
runTest("compiler/testData/klib/evolution/addOverloads.kt");
}
@TestMetadata("addParameterDefaulValue.kt")
public void testAddParameterDefaulValue() throws Exception {
runTest("compiler/testData/klib/evolution/addParameterDefaulValue.kt");
}
@TestMetadata("addParameterDefaulValue.kt")
public void testAddParameterDefaulValue() {
runTest("compiler/testData/klib/evolution/addParameterDefaulValue.kt");
}
@TestMetadata("addPropertyAccessor.kt")
public void testAddPropertyAccessor() throws Exception {
runTest("compiler/testData/klib/evolution/addPropertyAccessor.kt");
}
@TestMetadata("addPropertyAccessor.kt")
public void testAddPropertyAccessor() {
runTest("compiler/testData/klib/evolution/addPropertyAccessor.kt");
}
@TestMetadata("addingSealedClassMember.kt")
public void testAddingSealedClassMember() throws Exception {
runTest("compiler/testData/klib/evolution/addingSealedClassMember.kt");
}
@TestMetadata("addingSealedClassMember.kt")
public void testAddingSealedClassMember() {
runTest("compiler/testData/klib/evolution/addingSealedClassMember.kt");
}
public void testAllFilesPresentInEvolution() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/evolution"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
public void testAllFilesPresentInEvolution() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/klib/evolution"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("changeBaseClassOrder.kt")
public void testChangeBaseClassOrder() throws Exception {
runTest("compiler/testData/klib/evolution/changeBaseClassOrder.kt");
}
@TestMetadata("changeBaseClassOrder.kt")
public void testChangeBaseClassOrder() {
runTest("compiler/testData/klib/evolution/changeBaseClassOrder.kt");
}
@TestMetadata("changeCompanionToNestedObject.kt")
public void testChangeCompanionToNestedObject() throws Exception {
runTest("compiler/testData/klib/evolution/changeCompanionToNestedObject.kt");
}
@TestMetadata("changeCompanionToNestedObject.kt")
public void testChangeCompanionToNestedObject() {
runTest("compiler/testData/klib/evolution/changeCompanionToNestedObject.kt");
}
@TestMetadata("changeConstInitialization.kt")
public void testChangeConstInitialization() throws Exception {
runTest("compiler/testData/klib/evolution/changeConstInitialization.kt");
}
@TestMetadata("changeConstInitialization.kt")
public void testChangeConstInitialization() {
runTest("compiler/testData/klib/evolution/changeConstInitialization.kt");
}
@TestMetadata("changeNamesOfTypeParameters.kt")
public void testChangeNamesOfTypeParameters() throws Exception {
runTest("compiler/testData/klib/evolution/changeNamesOfTypeParameters.kt");
}
@TestMetadata("changeNamesOfTypeParameters.kt")
public void testChangeNamesOfTypeParameters() {
runTest("compiler/testData/klib/evolution/changeNamesOfTypeParameters.kt");
}
@TestMetadata("changeObjectToCompanion.kt")
public void testChangeObjectToCompanion() throws Exception {
runTest("compiler/testData/klib/evolution/changeObjectToCompanion.kt");
}
@TestMetadata("changeObjectToCompanion.kt")
public void testChangeObjectToCompanion() {
runTest("compiler/testData/klib/evolution/changeObjectToCompanion.kt");
}
@TestMetadata("changeParameterDefaultValue.kt")
public void testChangeParameterDefaultValue() throws Exception {
runTest("compiler/testData/klib/evolution/changeParameterDefaultValue.kt");
}
@TestMetadata("changeParameterDefaultValue.kt")
public void testChangeParameterDefaultValue() {
runTest("compiler/testData/klib/evolution/changeParameterDefaultValue.kt");
}
@TestMetadata("changePropertyFromValToVar.kt")
public void testChangePropertyFromValToVar() throws Exception {
runTest("compiler/testData/klib/evolution/changePropertyFromValToVar.kt");
}
@TestMetadata("changePropertyFromValToVar.kt")
public void testChangePropertyFromValToVar() {
runTest("compiler/testData/klib/evolution/changePropertyFromValToVar.kt");
}
@TestMetadata("changePropertyInitialization.kt")
public void testChangePropertyInitialization() throws Exception {
runTest("compiler/testData/klib/evolution/changePropertyInitialization.kt");
}
@TestMetadata("changePropertyInitialization.kt")
public void testChangePropertyInitialization() {
runTest("compiler/testData/klib/evolution/changePropertyInitialization.kt");
}
@TestMetadata("constructorParameterMarkValVar.kt")
public void testConstructorParameterMarkValVar() throws Exception {
runTest("compiler/testData/klib/evolution/constructorParameterMarkValVar.kt");
}
@TestMetadata("constructorParameterMarkValVar.kt")
public void testConstructorParameterMarkValVar() {
runTest("compiler/testData/klib/evolution/constructorParameterMarkValVar.kt");
}
@TestMetadata("deleteOverrideMember.kt")
public void testDeleteOverrideMember() throws Exception {
runTest("compiler/testData/klib/evolution/deleteOverrideMember.kt");
}
@TestMetadata("deleteOverrideMember.kt")
public void testDeleteOverrideMember() {
runTest("compiler/testData/klib/evolution/deleteOverrideMember.kt");
}
@TestMetadata("deletePrivateMembers.kt")
public void testDeletePrivateMembers() throws Exception {
runTest("compiler/testData/klib/evolution/deletePrivateMembers.kt");
}
@TestMetadata("deletePrivateMembers.kt")
public void testDeletePrivateMembers() {
runTest("compiler/testData/klib/evolution/deletePrivateMembers.kt");
}
@TestMetadata("inlineBodyChange.kt")
public void testInlineBodyChange() throws Exception {
runTest("compiler/testData/klib/evolution/inlineBodyChange.kt");
}
@TestMetadata("inlineBodyChange.kt")
public void testInlineBodyChange() {
runTest("compiler/testData/klib/evolution/inlineBodyChange.kt");
}
@TestMetadata("inlineFunction.kt")
public void testInlineFunction() throws Exception {
runTest("compiler/testData/klib/evolution/inlineFunction.kt");
}
@TestMetadata("inlineFunction.kt")
public void testInlineFunction() {
runTest("compiler/testData/klib/evolution/inlineFunction.kt");
}
@TestMetadata("makeFunctionInfixOrTailrec.kt")
public void testMakeFunctionInfixOrTailrec() throws Exception {
runTest("compiler/testData/klib/evolution/makeFunctionInfixOrTailrec.kt");
}
@TestMetadata("makeFunctionInfixOrTailrec.kt")
public void testMakeFunctionInfixOrTailrec() {
runTest("compiler/testData/klib/evolution/makeFunctionInfixOrTailrec.kt");
}
@TestMetadata("moreSpecificBaseClass.kt")
public void testMoreSpecificBaseClass() throws Exception {
runTest("compiler/testData/klib/evolution/moreSpecificBaseClass.kt");
}
@TestMetadata("moreSpecificBaseClass.kt")
public void testMoreSpecificBaseClass() {
runTest("compiler/testData/klib/evolution/moreSpecificBaseClass.kt");
}
@TestMetadata("moveMemberUpInHierarchy.kt")
public void testMoveMemberUpInHierarchy() throws Exception {
runTest("compiler/testData/klib/evolution/moveMemberUpInHierarchy.kt");
}
@TestMetadata("moveMemberUpInHierarchy.kt")
public void testMoveMemberUpInHierarchy() {
runTest("compiler/testData/klib/evolution/moveMemberUpInHierarchy.kt");
}
@TestMetadata("newFakeOverride.kt")
public void testNewFakeOverride() throws Exception {
runTest("compiler/testData/klib/evolution/newFakeOverride.kt");
}
@TestMetadata("newFakeOverride.kt")
public void testNewFakeOverride() {
runTest("compiler/testData/klib/evolution/newFakeOverride.kt");
}
@TestMetadata("newOverrideMember.kt")
public void testNewOverrideMember() throws Exception {
runTest("compiler/testData/klib/evolution/newOverrideMember.kt");
}
@TestMetadata("newOverrideMember.kt")
public void testNewOverrideMember() {
runTest("compiler/testData/klib/evolution/newOverrideMember.kt");
}
@TestMetadata("removeAbstractFromClass.kt")
public void testRemoveAbstractFromClass() throws Exception {
runTest("compiler/testData/klib/evolution/removeAbstractFromClass.kt");
}
@TestMetadata("removeAbstractFromClass.kt")
public void testRemoveAbstractFromClass() {
runTest("compiler/testData/klib/evolution/removeAbstractFromClass.kt");
}
@TestMetadata("removeInfixOrTailrecFromFunction.kt")
public void testRemoveInfixOrTailrecFromFunction() throws Exception {
runTest("compiler/testData/klib/evolution/removeInfixOrTailrecFromFunction.kt");
}
@TestMetadata("removeInfixOrTailrecFromFunction.kt")
public void testRemoveInfixOrTailrecFromFunction() {
runTest("compiler/testData/klib/evolution/removeInfixOrTailrecFromFunction.kt");
}
@TestMetadata("removeLateinitFromVar.kt")
public void testRemoveLateinitFromVar() throws Exception {
runTest("compiler/testData/klib/evolution/removeLateinitFromVar.kt");
}
@TestMetadata("removeLateinitFromVar.kt")
public void testRemoveLateinitFromVar() {
runTest("compiler/testData/klib/evolution/removeLateinitFromVar.kt");
}
@TestMetadata("removePropertyAccessor.kt")
public void testRemovePropertyAccessor() throws Exception {
runTest("compiler/testData/klib/evolution/removePropertyAccessor.kt");
}
@TestMetadata("removePropertyAccessor.kt")
public void testRemovePropertyAccessor() {
runTest("compiler/testData/klib/evolution/removePropertyAccessor.kt");
}
@TestMetadata("renameArguments.kt")
public void testRenameArguments() throws Exception {
runTest("compiler/testData/klib/evolution/renameArguments.kt");
}
@TestMetadata("renameArguments.kt")
public void testRenameArguments() {
runTest("compiler/testData/klib/evolution/renameArguments.kt");
}
@TestMetadata("reorderClassConstructors.kt")
public void testReorderClassConstructors() throws Exception {
runTest("compiler/testData/klib/evolution/reorderClassConstructors.kt");
}
@TestMetadata("reorderClassConstructors.kt")
public void testReorderClassConstructors() {
runTest("compiler/testData/klib/evolution/reorderClassConstructors.kt");
}
@TestMetadata("turnClassIntoDataClass.kt")
public void testTurnClassIntoDataClass() throws Exception {
runTest("compiler/testData/klib/evolution/turnClassIntoDataClass.kt");
}
@TestMetadata("turnClassIntoDataClass.kt")
public void testTurnClassIntoDataClass() {
runTest("compiler/testData/klib/evolution/turnClassIntoDataClass.kt");
}
@TestMetadata("widenSuperMemberVisibility.kt")
public void testWidenSuperMemberVisibility() throws Exception {
runTest("compiler/testData/klib/evolution/widenSuperMemberVisibility.kt");
}
@TestMetadata("widenSuperMemberVisibility.kt")
public void testWidenSuperMemberVisibility() {
runTest("compiler/testData/klib/evolution/widenSuperMemberVisibility.kt");
}
}