Regenerate tests

This commit is contained in:
Zalim Bashorov
2016-11-07 16:12:10 +03:00
parent 8e480e275b
commit 1dedb38481
214 changed files with 2838 additions and 2623 deletions
@@ -19,6 +19,7 @@ package org.jetbrains.kotlin.js.test.semantics;
import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TargetBackend;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;
@@ -32,7 +33,7 @@ import java.util.regex.Pattern;
@RunWith(JUnit3RunnerWithInners.class)
public class BoxJsTestGenerated extends AbstractBoxJsTest {
public void testAllFilesPresentInBox() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("js/js.translator/testData/box/annotation")
@@ -40,7 +41,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Annotation extends AbstractBoxJsTest {
public void testAllFilesPresentInAnnotation() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/annotation"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/annotation"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("annotationClass.kt")
@@ -55,7 +56,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class CallableReference extends AbstractBoxJsTest {
public void testAllFilesPresentInCallableReference() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/callableReference"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/callableReference"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("js/js.translator/testData/box/callableReference/function")
@@ -69,7 +70,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInFunction() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/callableReference/function"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/callableReference/function"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("classMemberAndExtension.kt")
@@ -294,7 +295,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInProperty() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/callableReference/property"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/callableReference/property"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("delegated.kt")
@@ -382,7 +383,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Char extends AbstractBoxJsTest {
public void testAllFilesPresentInChar() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/char"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/char"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("charBinaryOperations.kt")
@@ -445,7 +446,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInClassObject() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/classObject"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/classObject"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("defaultObjectSameNamesAsInOuter.kt")
@@ -508,7 +509,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Closure extends AbstractBoxJsTest {
public void testAllFilesPresentInClosure() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/closure"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/closure"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("closureArrayListInstance.kt")
@@ -781,7 +782,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class DataClass extends AbstractBoxJsTest {
public void testAllFilesPresentInDataClass() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/dataClass"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/dataClass"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("components.kt")
@@ -838,7 +839,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class DefaultArguments extends AbstractBoxJsTest {
public void testAllFilesPresentInDefaultArguments() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/defaultArguments"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/defaultArguments"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("complexExpressionAsDefaultArgument.kt")
@@ -937,7 +938,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class DelegateProperty extends AbstractBoxJsTest {
public void testAllFilesPresentInDelegateProperty() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/delegateProperty"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/delegateProperty"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("capturedLocalVal.kt")
@@ -1060,7 +1061,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Delegation extends AbstractBoxJsTest {
public void testAllFilesPresentInDelegation() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/delegation"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/delegation"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("complexDelegation.kt")
@@ -1195,7 +1196,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Dynamic extends AbstractBoxJsTest {
public void testAllFilesPresentInDynamic() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/dynamic"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/dynamic"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("binaryOperations.kt")
@@ -1330,7 +1331,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInEnum() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/enum"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/enum"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("enumInheritedFromTrait.kt")
@@ -1399,7 +1400,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Examples extends AbstractBoxJsTest {
public void testAllFilesPresentInExamples() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/examples"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/examples"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("basicmethod.kt")
@@ -1582,7 +1583,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Expression extends AbstractBoxJsTest {
public void testAllFilesPresentInExpression() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("js/js.translator/testData/box/expression/cast")
@@ -1590,7 +1591,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Cast extends AbstractBoxJsTest {
public void testAllFilesPresentInCast() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/cast"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/cast"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("castExtensionToKMutableProperty.kt")
@@ -1761,7 +1762,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class CompareTo extends AbstractBoxJsTest {
public void testAllFilesPresentInCompareTo() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/compareTo"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/compareTo"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("customCompareToMethod.kt")
@@ -1776,7 +1777,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class DollarParameter extends AbstractBoxJsTest {
public void testAllFilesPresentInDollarParameter() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/dollarParameter"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/dollarParameter"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("dollarParameter.kt")
@@ -1791,7 +1792,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Equals extends AbstractBoxJsTest {
public void testAllFilesPresentInEquals() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/equals"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/equals"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("arrays.kt")
@@ -1884,7 +1885,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInEvaluationOrder() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/evaluationOrder"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/evaluationOrder"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("andAndWithBreakContinueReturn.kt")
@@ -2067,7 +2068,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class For extends AbstractBoxJsTest {
public void testAllFilesPresentInFor() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/for"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/for"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("forIteratesOverArray.kt")
@@ -2154,7 +2155,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInFunction() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/function"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/function"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("callFunInInit.kt")
@@ -2349,7 +2350,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class IdentifierClash extends AbstractBoxJsTest {
public void testAllFilesPresentInIdentifierClash() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/identifierClash"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/identifierClash"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("overloadedFun.kt")
@@ -2370,7 +2371,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class IdentityEquals extends AbstractBoxJsTest {
public void testAllFilesPresentInIdentityEquals() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/identityEquals"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/identityEquals"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("identityEqualsMethod.kt")
@@ -2391,7 +2392,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class If extends AbstractBoxJsTest {
public void testAllFilesPresentInIf() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/if"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/if"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("ifElseAsExpressionWithThrow.kt")
@@ -2424,7 +2425,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Invoke extends AbstractBoxJsTest {
public void testAllFilesPresentInInvoke() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/invoke"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/invoke"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("explicitInvokeLambda.kt")
@@ -2505,7 +2506,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Misc extends AbstractBoxJsTest {
public void testAllFilesPresentInMisc() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/misc"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/misc"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("classWithoutPackage.kt")
@@ -2760,7 +2761,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class StringClass extends AbstractBoxJsTest {
public void testAllFilesPresentInStringClass() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/stringClass"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/stringClass"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("extensionMethods.kt")
@@ -2853,7 +2854,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class StringTemplates extends AbstractBoxJsTest {
public void testAllFilesPresentInStringTemplates() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/stringTemplates"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/stringTemplates"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("objectWithToString.kt")
@@ -2874,7 +2875,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Try extends AbstractBoxJsTest {
public void testAllFilesPresentInTry() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/try"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/try"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("multipleCatchBlocks.kt")
@@ -2925,7 +2926,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class When extends AbstractBoxJsTest {
public void testAllFilesPresentInWhen() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/when"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/when"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("doWhileWithOneStmWhen.kt")
@@ -3114,7 +3115,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class While extends AbstractBoxJsTest {
public void testAllFilesPresentInWhile() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/while"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/expression/while"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("doWhileWithComplexCondition.kt")
@@ -3154,7 +3155,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class ExtensionFunction extends AbstractBoxJsTest {
public void testAllFilesPresentInExtensionFunction() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/extensionFunction"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/extensionFunction"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("extensionForSuperclass.kt")
@@ -3265,7 +3266,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInExtensionProperty() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/extensionProperty"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/extensionProperty"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("propertyWithGetterAndSetter.kt")
@@ -3292,7 +3293,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInInheritance() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inheritance"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inheritance"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("baseCall.kt")
@@ -3391,7 +3392,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Initialize extends AbstractBoxJsTest {
public void testAllFilesPresentInInitialize() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/initialize"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/initialize"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("classInitializer.kt")
@@ -3436,7 +3437,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Inline extends AbstractBoxJsTest {
public void testAllFilesPresentInInline() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inline"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inline"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("anonymousFunction.kt")
@@ -3817,7 +3818,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class InlineEvaluationOrder extends AbstractBoxJsTest {
public void testAllFilesPresentInInlineEvaluationOrder() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineEvaluationOrder"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineEvaluationOrder"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("argumentOfCall.kt")
@@ -4126,7 +4127,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class InlineMultiFile extends AbstractBoxJsTest {
public void testAllFilesPresentInInlineMultiFile() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineMultiFile"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineMultiFile"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("anonymousObjectOnCallSite.kt")
@@ -4303,7 +4304,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class InlineMultiModule extends AbstractBoxJsTest {
public void testAllFilesPresentInInlineMultiModule() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineMultiModule"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineMultiModule"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("anotherModuleValInClosure.kt")
@@ -4396,7 +4397,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class InlineSizeReduction extends AbstractBoxJsTest {
public void testAllFilesPresentInInlineSizeReduction() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineSizeReduction"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineSizeReduction"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("inlineOrder.kt")
@@ -4477,7 +4478,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class InlineStdlib extends AbstractBoxJsTest {
public void testAllFilesPresentInInlineStdlib() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineStdlib"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/inlineStdlib"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("callNameClash.kt")
@@ -4534,7 +4535,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Java extends AbstractBoxJsTest {
public void testAllFilesPresentInJava() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/java"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/java"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("js/js.translator/testData/box/java/abstractList")
@@ -4542,7 +4543,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class AbstractList extends AbstractBoxJsTest {
public void testAllFilesPresentInAbstractList() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/java/abstractList"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/java/abstractList"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("iterator.kt")
@@ -4563,7 +4564,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInArrayList() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/java/arrayList"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/java/arrayList"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("arrayAccess.kt")
@@ -4663,7 +4664,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class JsCode extends AbstractBoxJsTest {
public void testAllFilesPresentInJsCode() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/jsCode"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/jsCode"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("break.kt")
@@ -4804,7 +4805,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class JsName extends AbstractBoxJsTest {
public void testAllFilesPresentInJsName() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/jsName"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/jsName"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("avoidNameClash.kt")
@@ -4867,7 +4868,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Labels extends AbstractBoxJsTest {
public void testAllFilesPresentInLabels() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/labels"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/labels"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("labelOnExpression.kt")
@@ -4942,7 +4943,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class MultiFile extends AbstractBoxJsTest {
public void testAllFilesPresentInMultiFile() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiFile"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiFile"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("classOfTheSameNameInAnotherPackage.kt")
@@ -4987,7 +4988,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class MultiModule extends AbstractBoxJsTest {
public void testAllFilesPresentInMultiModule() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModule"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModule"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("moduleAndVariableNameClash.kt")
@@ -5020,7 +5021,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class MultiModuleWrappers extends AbstractBoxJsTest {
public void testAllFilesPresentInMultiModuleWrappers() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("js/js.translator/testData/box/multiModuleWrappers/amd")
@@ -5028,7 +5029,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Amd extends AbstractBoxJsTest {
public void testAllFilesPresentInAmd() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers/amd"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers/amd"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("moduleWithNonIdentifierName.kt")
@@ -5049,7 +5050,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Common_js extends AbstractBoxJsTest {
public void testAllFilesPresentInCommon_js() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers/common_js"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers/common_js"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("moduleWithNonIdentifierName.kt")
@@ -5070,7 +5071,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Plain extends AbstractBoxJsTest {
public void testAllFilesPresentInPlain() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers/plain"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers/plain"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("moduleWithNonIdentifierName.kt")
@@ -5091,7 +5092,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Umd extends AbstractBoxJsTest {
public void testAllFilesPresentInUmd() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers/umd"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiModuleWrappers/umd"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("moduleWithNonIdentifierName.kt")
@@ -5113,7 +5114,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class MultiPackage extends AbstractBoxJsTest {
public void testAllFilesPresentInMultiPackage() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiPackage"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multiPackage"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("classesInheritedFromOtherPackage.kt")
@@ -5176,7 +5177,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Multideclaration extends AbstractBoxJsTest {
public void testAllFilesPresentInMultideclaration() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multideclaration"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/multideclaration"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("multiValForArray.kt")
@@ -5227,7 +5228,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class NameClashes extends AbstractBoxJsTest {
public void testAllFilesPresentInNameClashes() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/nameClashes"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/nameClashes"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("classAndCompanionObjectMembers.kt")
@@ -5302,7 +5303,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Native extends AbstractBoxJsTest {
public void testAllFilesPresentInNative() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/native"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/native"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("class.kt")
@@ -5479,7 +5480,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class NestedTypes extends AbstractBoxJsTest {
public void testAllFilesPresentInNestedTypes() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/nestedTypes"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/nestedTypes"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("implicitOuterThisFromLambda.kt")
@@ -5590,7 +5591,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Number extends AbstractBoxJsTest {
public void testAllFilesPresentInNumber() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/number"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/number"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("byteAndShortConversions.kt")
@@ -5719,7 +5720,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class ObjectDeclaration extends AbstractBoxJsTest {
public void testAllFilesPresentInObjectDeclaration() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/objectDeclaration"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/objectDeclaration"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("dontPolluteObject.kt")
@@ -5794,7 +5795,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class OperatorOverloading extends AbstractBoxJsTest {
public void testAllFilesPresentInOperatorOverloading() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/operatorOverloading"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/operatorOverloading"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("augmentedAssignmentLhs.kt")
@@ -5953,7 +5954,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
}
public void testAllFilesPresentInPropertyAccess() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/propertyAccess"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/propertyAccess"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("classUsesPackageProperties.kt")
@@ -6082,7 +6083,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class PropertyOverride extends AbstractBoxJsTest {
public void testAllFilesPresentInPropertyOverride() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/propertyOverride"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/propertyOverride"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("checkSupertypeOrder.kt")
@@ -6157,7 +6158,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Range extends AbstractBoxJsTest {
public void testAllFilesPresentInRange() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/range"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/range"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("creatingProgressions.kt")
@@ -6226,7 +6227,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Reflection extends AbstractBoxJsTest {
public void testAllFilesPresentInReflection() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/reflection"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/reflection"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("jsClass.kt")
@@ -6289,7 +6290,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Regression extends AbstractBoxJsTest {
public void testAllFilesPresentInRegression() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/regression"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/regression"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("kt2470.kt")
@@ -6310,7 +6311,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Reified extends AbstractBoxJsTest {
public void testAllFilesPresentInReified() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/reified"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/reified"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("callChain.kt")
@@ -6433,7 +6434,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class ReservedWords extends AbstractBoxJsTest {
public void testAllFilesPresentInReservedWords() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/reservedWords"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/reservedWords"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("dataClassValTypeof.kt")
@@ -7474,7 +7475,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Rtti extends AbstractBoxJsTest {
public void testAllFilesPresentInRtti() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/rtti"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/rtti"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("collectionClassesIsCheck.kt")
@@ -7573,7 +7574,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class SafeCall extends AbstractBoxJsTest {
public void testAllFilesPresentInSafeCall() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/safeCall"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/safeCall"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("safeAccess.kt")
@@ -7618,7 +7619,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Simple extends AbstractBoxJsTest {
public void testAllFilesPresentInSimple() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/simple"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/simple"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("assign.kt")
@@ -7789,7 +7790,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class StandardClasses extends AbstractBoxJsTest {
public void testAllFilesPresentInStandardClasses() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/standardClasses"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/standardClasses"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("array.kt")
@@ -7870,7 +7871,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class SuperCall extends AbstractBoxJsTest {
public void testAllFilesPresentInSuperCall() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/superCall"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/superCall"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("classSuperCall.kt")
@@ -7897,7 +7898,7 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Trait extends AbstractBoxJsTest {
public void testAllFilesPresentInTrait() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/trait"), Pattern.compile("^([^_](.+))\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/trait"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("checkImplementationCharacteristics.kt")
File diff suppressed because it is too large Load Diff
@@ -19,6 +19,7 @@ package org.jetbrains.kotlin.js.test.semantics;
import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TargetBackend;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;
@@ -32,7 +33,7 @@ import java.util.regex.Pattern;
@RunWith(JUnit3RunnerWithInners.class)
public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
public void testAllFilesPresentInNonLocalReturns() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("explicitLocalReturn.kt")
@@ -118,7 +119,7 @@ public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Deparenthesize extends AbstractNonLocalReturnsTest {
public void testAllFilesPresentInDeparenthesize() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/deparenthesize"), Pattern.compile("^(.+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/deparenthesize"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("bracket.kt")
@@ -139,7 +140,7 @@ public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class TryFinally extends AbstractNonLocalReturnsTest {
public void testAllFilesPresentInTryFinally() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally"), Pattern.compile("^(.+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("kt6956.kt")
@@ -165,7 +166,7 @@ public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class CallSite extends AbstractNonLocalReturnsTest {
public void testAllFilesPresentInCallSite() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/callSite"), Pattern.compile("^(.+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/callSite"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("callSite.kt")
@@ -210,7 +211,7 @@ public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Chained extends AbstractNonLocalReturnsTest {
public void testAllFilesPresentInChained() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/chained"), Pattern.compile("^(.+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/chained"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("finallyInFinally.kt")
@@ -267,7 +268,7 @@ public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class DeclSite extends AbstractNonLocalReturnsTest {
public void testAllFilesPresentInDeclSite() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/declSite"), Pattern.compile("^(.+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/declSite"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("complex.kt")
@@ -348,7 +349,7 @@ public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class ExceptionTable extends AbstractNonLocalReturnsTest {
public void testAllFilesPresentInExceptionTable() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/exceptionTable"), Pattern.compile("^(.+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/exceptionTable"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("break.kt")
@@ -453,7 +454,7 @@ public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
@RunWith(JUnit3RunnerWithInners.class)
public static class Variables extends AbstractNonLocalReturnsTest {
public void testAllFilesPresentInVariables() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/variables"), Pattern.compile("^(.+)\\.kt$"), true);
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/variables"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("kt7792.kt")