[FIR JS] Regenerate tests
вфцвфдцьв
This commit is contained in:
+6
@@ -164,6 +164,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/derivedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisReturnSimple.kt")
|
||||
public void testElvisReturnSimple() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/elvisReturnSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
|
||||
+5
@@ -144,6 +144,11 @@ public class LazyBodyIsNotTouchedTilContractsPhaseTestGenerated extends Abstract
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/derivedClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("elvisReturnSimple.kt")
|
||||
public void testElvisReturnSimple() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/elvisReturnSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/enum.kt");
|
||||
|
||||
+6
@@ -164,6 +164,12 @@ public class FirDiagnosticTestGenerated extends AbstractFirDiagnosticTest {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/derivedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisReturnSimple.kt")
|
||||
public void testElvisReturnSimple() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/elvisReturnSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
|
||||
+6
@@ -164,6 +164,12 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/derivedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisReturnSimple.kt")
|
||||
public void testElvisReturnSimple() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/elvisReturnSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
|
||||
+10437
File diff suppressed because it is too large
Load Diff
+211
@@ -0,0 +1,211 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.test.runners.ir;
|
||||
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.kotlin.test.util.KtTestUtil;
|
||||
import org.jetbrains.kotlin.test.TargetBackend;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.jupiter.api.Nested;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("compiler/testData/ir/irJsText")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Fir2IrJsTextTestGenerated extends AbstractFir2IrJsTextTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInIrJsText() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irJsText"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/irJsText/dynamic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Dynamic {
|
||||
@Test
|
||||
public void testAllFilesPresentInDynamic() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irJsText/dynamic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicAndMembersOfAny.kt")
|
||||
public void testDynamicAndMembersOfAny() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicAndMembersOfAny.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicArrayAccess.kt")
|
||||
public void testDynamicArrayAccess() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicArrayAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicArrayAssignment.kt")
|
||||
public void testDynamicArrayAssignment() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicArrayAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicArrayAugmentedAssignment.kt")
|
||||
public void testDynamicArrayAugmentedAssignment() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicArrayAugmentedAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicArrayIncrementDecrement.kt")
|
||||
public void testDynamicArrayIncrementDecrement() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicArrayIncrementDecrement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicBinaryEqualityOperator.kt")
|
||||
public void testDynamicBinaryEqualityOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicBinaryEqualityOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicBinaryLogicalOperator.kt")
|
||||
public void testDynamicBinaryLogicalOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicBinaryLogicalOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicBinaryOperator.kt")
|
||||
public void testDynamicBinaryOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicBinaryOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicBinaryRelationalOperator.kt")
|
||||
public void testDynamicBinaryRelationalOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicBinaryRelationalOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicCall.kt")
|
||||
public void testDynamicCall() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicElvisOperator.kt")
|
||||
public void testDynamicElvisOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicElvisOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicExclExclOperator.kt")
|
||||
public void testDynamicExclExclOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicExclExclOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicInfixCall.kt")
|
||||
public void testDynamicInfixCall() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicInfixCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicMemberAccess.kt")
|
||||
public void testDynamicMemberAccess() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicMemberAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicMemberAssignment.kt")
|
||||
public void testDynamicMemberAssignment() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicMemberAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicMemberAugmentedAssignment.kt")
|
||||
public void testDynamicMemberAugmentedAssignment() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicMemberAugmentedAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicMemberIncrementDecrement.kt")
|
||||
public void testDynamicMemberIncrementDecrement() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicMemberIncrementDecrement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicUnaryOperator.kt")
|
||||
public void testDynamicUnaryOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicUnaryOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicWithSmartCast.kt")
|
||||
public void testDynamicWithSmartCast() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/dynamicWithSmartCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitCastFromDynamic.kt")
|
||||
public void testImplicitCastFromDynamic() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/implicitCastFromDynamic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitCastToDynamic.kt")
|
||||
public void testImplicitCastToDynamic() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/implicitCastToDynamic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeOperator.kt")
|
||||
public void testInvokeOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/dynamic/invokeOperator.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/irJsText/external")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class External {
|
||||
@Test
|
||||
public void testAllFilesPresentInExternal() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irJsText/external"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt38765.kt")
|
||||
public void testKt38765() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/external/kt38765.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/irJsText/native")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Native {
|
||||
@Test
|
||||
public void testAllFilesPresentInNative() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irJsText/native"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeNativeKotlin.kt")
|
||||
public void testNativeNativeKotlin() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/native/nativeNativeKotlin.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/irJsText/scripting")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Scripting {
|
||||
@Test
|
||||
public void testAllFilesPresentInScripting() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irJsText/scripting"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user