Remove generated codegen tests, move all testData to box/

A single test file will be generated out of box/ directory
This commit is contained in:
Alexander Udalov
2013-01-25 16:26:56 +04:00
committed by Alexander Udalov
parent 41a416da60
commit 7ce62a5b64
147 changed files with 0 additions and 1258 deletions
@@ -1,161 +0,0 @@
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.jet.codegen.generated;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.io.File;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.codegen.generated.AbstractCodegenTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/defaultArguments/blackBox")
@InnerTestClasses({DefaultArgumentsBlackBoxTestGenerated.Constructor.class, DefaultArgumentsBlackBoxTestGenerated.Function.class})
public class DefaultArgumentsBlackBoxTestGenerated extends AbstractCodegenTest {
public void testAllFilesPresentInBlackBox() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/defaultArguments/blackBox"), "kt", true);
}
@TestMetadata("compiler/testData/codegen/defaultArguments/blackBox/constructor")
public static class Constructor extends AbstractCodegenTest {
public void testAllFilesPresentInConstructor() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/defaultArguments/blackBox/constructor"), "kt", true);
}
@TestMetadata("annotation.kt")
public void testAnnotation() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/annotation.kt");
}
@TestMetadata("defArgs1.kt")
public void testDefArgs1() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/defArgs1.kt");
}
@TestMetadata("defArgs1InnerClass.kt")
public void testDefArgs1InnerClass() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/defArgs1InnerClass.kt");
}
@TestMetadata("defArgs2.kt")
public void testDefArgs2() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/defArgs2.kt");
}
@TestMetadata("doubleDefArgs1InnerClass.kt")
public void testDoubleDefArgs1InnerClass() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/doubleDefArgs1InnerClass.kt");
}
@TestMetadata("enum.kt")
public void testEnum() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/enum.kt");
}
@TestMetadata("enumWithOneDefArg.kt")
public void testEnumWithOneDefArg() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/enumWithOneDefArg.kt");
}
@TestMetadata("enumWithTwoDefArgs.kt")
public void testEnumWithTwoDefArgs() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/enumWithTwoDefArgs.kt");
}
@TestMetadata("enumWithTwoDoubleDefArgs.kt")
public void testEnumWithTwoDoubleDefArgs() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/enumWithTwoDoubleDefArgs.kt");
}
@TestMetadata("kt2852.kt")
public void testKt2852() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/constructor/kt2852.kt");
}
}
@TestMetadata("compiler/testData/codegen/defaultArguments/blackBox/function")
public static class Function extends AbstractCodegenTest {
public void testAllFilesPresentInFunction() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/defaultArguments/blackBox/function"), "kt", true);
}
@TestMetadata("extentionFunction.kt")
public void testExtentionFunction() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/extentionFunction.kt");
}
@TestMetadata("extentionFunctionDouble.kt")
public void testExtentionFunctionDouble() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/extentionFunctionDouble.kt");
}
@TestMetadata("extentionFunctionDoubleTwoArgs.kt")
public void testExtentionFunctionDoubleTwoArgs() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/extentionFunctionDoubleTwoArgs.kt");
}
@TestMetadata("extentionFunctionInClassObject.kt")
public void testExtentionFunctionInClassObject() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/extentionFunctionInClassObject.kt");
}
@TestMetadata("extentionFunctionInObject.kt")
public void testExtentionFunctionInObject() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/extentionFunctionInObject.kt");
}
@TestMetadata("extentionFunctionWithOneDefArg.kt")
public void testExtentionFunctionWithOneDefArg() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/extentionFunctionWithOneDefArg.kt");
}
@TestMetadata("funInTrait.kt")
public void testFunInTrait() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/funInTrait.kt");
}
@TestMetadata("innerExtentionFunction.kt")
public void testInnerExtentionFunction() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/innerExtentionFunction.kt");
}
@TestMetadata("innerExtentionFunctionDouble.kt")
public void testInnerExtentionFunctionDouble() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/innerExtentionFunctionDouble.kt");
}
@TestMetadata("innerExtentionFunctionDoubleTwoArgs.kt")
public void testInnerExtentionFunctionDoubleTwoArgs() throws Exception {
doTest("compiler/testData/codegen/defaultArguments/blackBox/function/innerExtentionFunctionDoubleTwoArgs.kt");
}
}
public static Test suite() {
TestSuite suite = new TestSuite("DefaultArgumentsBlackBoxTestGenerated");
suite.addTestSuite(DefaultArgumentsBlackBoxTestGenerated.class);
suite.addTestSuite(Constructor.class);
suite.addTestSuite(Function.class);
return suite;
}
}
@@ -1,97 +0,0 @@
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.jet.codegen.generated;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.io.File;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.codegen.generated.AbstractCodegenTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/extensionProperties")
public class ExtensionPropertiesTestGenerated extends AbstractCodegenTest {
public void testAllFilesPresentInExtensionProperties() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/extensionProperties"), "kt", true);
}
@TestMetadata("inClass.kt")
public void testInClass() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/inClass.kt");
}
@TestMetadata("inClassLongTypeInReceiver.kt")
public void testInClassLongTypeInReceiver() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/inClassLongTypeInReceiver.kt");
}
@TestMetadata("inClassWithEmptySetter.kt")
public void testInClassWithEmptySetter() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/inClassWithEmptySetter.kt");
}
@TestMetadata("inClassWithGetter.kt")
public void testInClassWithGetter() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/inClassWithGetter.kt");
}
@TestMetadata("inClassWithPrivateGetter.kt")
public void testInClassWithPrivateGetter() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/inClassWithPrivateGetter.kt");
}
@TestMetadata("inClassWithPrivateSetter.kt")
public void testInClassWithPrivateSetter() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/inClassWithPrivateSetter.kt");
}
@TestMetadata("inClassWithSetter.kt")
public void testInClassWithSetter() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/inClassWithSetter.kt");
}
@TestMetadata("topLevel.kt")
public void testTopLevel() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/topLevel.kt");
}
@TestMetadata("topLevelLongTypeInReceiver.kt")
public void testTopLevelLongTypeInReceiver() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/topLevelLongTypeInReceiver.kt");
}
@TestMetadata("topLevelSetterLongTypeInReceiver.kt")
public void testTopLevelSetterLongTypeInReceiver() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/topLevelSetterLongTypeInReceiver.kt");
}
@TestMetadata("topLevelWithGetter.kt")
public void testTopLevelWithGetter() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/topLevelWithGetter.kt");
}
@TestMetadata("topLevelWithSetter.kt")
public void testTopLevelWithSetter() throws Exception {
doTest("compiler/testData/codegen/extensionProperties/topLevelWithSetter.kt");
}
}
@@ -1,107 +0,0 @@
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.jet.codegen.generated;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.io.File;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.codegen.generated.AbstractCodegenTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/innerNested")
public class InnerNestedGenTestGenerated extends AbstractCodegenTest {
public void testAllFilesPresentInInnerNested() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/innerNested"), "kt", true);
}
@TestMetadata("createNestedClass.kt")
public void testCreateNestedClass() throws Exception {
doTest("compiler/testData/codegen/innerNested/createNestedClass.kt");
}
@TestMetadata("createdNestedInOuterMember.kt")
public void testCreatedNestedInOuterMember() throws Exception {
doTest("compiler/testData/codegen/innerNested/createdNestedInOuterMember.kt");
}
@TestMetadata("dataLocalVariable.kt")
public void testDataLocalVariable() throws Exception {
doTest("compiler/testData/codegen/innerNested/dataLocalVariable.kt");
}
@TestMetadata("extensionFun.kt")
public void testExtensionFun() throws Exception {
doTest("compiler/testData/codegen/innerNested/extensionFun.kt");
}
@TestMetadata("importNestedClass.kt")
public void testImportNestedClass() throws Exception {
doTest("compiler/testData/codegen/innerNested/importNestedClass.kt");
}
@TestMetadata("innerGeneric.kt")
public void testInnerGeneric() throws Exception {
doTest("compiler/testData/codegen/innerNested/innerGeneric.kt");
}
@TestMetadata("innerLabeledThis.kt")
public void testInnerLabeledThis() throws Exception {
doTest("compiler/testData/codegen/innerNested/innerLabeledThis.kt");
}
@TestMetadata("innerSimple.kt")
public void testInnerSimple() throws Exception {
doTest("compiler/testData/codegen/innerNested/innerSimple.kt");
}
@TestMetadata("nestedClassObject.kt")
public void testNestedClassObject() throws Exception {
doTest("compiler/testData/codegen/innerNested/nestedClassObject.kt");
}
@TestMetadata("nestedEnumConstant.kt")
public void testNestedEnumConstant() throws Exception {
doTest("compiler/testData/codegen/innerNested/nestedEnumConstant.kt");
}
@TestMetadata("nestedGeneric.kt")
public void testNestedGeneric() throws Exception {
doTest("compiler/testData/codegen/innerNested/nestedGeneric.kt");
}
@TestMetadata("nestedInPackage.kt")
public void testNestedInPackage() throws Exception {
doTest("compiler/testData/codegen/innerNested/nestedInPackage.kt");
}
@TestMetadata("nestedObjects.kt")
public void testNestedObjects() throws Exception {
doTest("compiler/testData/codegen/innerNested/nestedObjects.kt");
}
@TestMetadata("nestedSimple.kt")
public void testNestedSimple() throws Exception {
doTest("compiler/testData/codegen/innerNested/nestedSimple.kt");
}
}
@@ -1,62 +0,0 @@
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.jet.codegen.generated;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.io.File;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.codegen.generated.AbstractCodegenTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/instructions")
@InnerTestClasses({InstructionsTestGenerated.Swap.class})
public class InstructionsTestGenerated extends AbstractCodegenTest {
public void testAllFilesPresentInInstructions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/instructions"), "kt", true);
}
@TestMetadata("compiler/testData/codegen/instructions/swap")
public static class Swap extends AbstractCodegenTest {
public void testAllFilesPresentInSwap() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/instructions/swap"), "kt", true);
}
@TestMetadata("swapRefToSharedVarInt.kt")
public void testSwapRefToSharedVarInt() throws Exception {
doTest("compiler/testData/codegen/instructions/swap/swapRefToSharedVarInt.kt");
}
@TestMetadata("swapRefToSharedVarLong.kt")
public void testSwapRefToSharedVarLong() throws Exception {
doTest("compiler/testData/codegen/instructions/swap/swapRefToSharedVarLong.kt");
}
}
public static Test suite() {
TestSuite suite = new TestSuite("InstructionsTestGenerated");
suite.addTestSuite(InstructionsTestGenerated.class);
suite.addTestSuite(Swap.class);
return suite;
}
}
@@ -1,57 +0,0 @@
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.jet.codegen.generated;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.io.File;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.codegen.generated.AbstractCodegenTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/intrinsics")
public class IntrinsicsTestGenerated extends AbstractCodegenTest {
public void testAllFilesPresentInIntrinsics() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/intrinsics"), "kt", true);
}
@TestMetadata("compareTo.kt")
public void testCompareTo() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/intrinsics/compareTo.kt");
}
@TestMetadata("ea35953.kt")
public void testEa35953() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/intrinsics/ea35953.kt");
}
@TestMetadata("longRangeWithExplicitDot.kt")
public void testLongRangeWithExplicitDot() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/intrinsics/longRangeWithExplicitDot.kt");
}
@TestMetadata("tostring.kt")
public void testTostring() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/intrinsics/tostring.kt");
}
}
@@ -1,62 +0,0 @@
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.jet.codegen.generated;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.io.File;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.codegen.generated.AbstractCodegenTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/label")
public class LabelGenTestGenerated extends AbstractCodegenTest {
public void testAllFilesPresentInLabel() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/label"), "kt", true);
}
@TestMetadata("propertyAccessor.kt")
public void testPropertyAccessor() throws Exception {
doTest("compiler/testData/codegen/label/propertyAccessor.kt");
}
@TestMetadata("propertyAccessorFunctionLiteral.kt")
public void testPropertyAccessorFunctionLiteral() throws Exception {
doTest("compiler/testData/codegen/label/propertyAccessorFunctionLiteral.kt");
}
@TestMetadata("propertyAccessorInnerExtensionFun.kt")
public void testPropertyAccessorInnerExtensionFun() throws Exception {
doTest("compiler/testData/codegen/label/propertyAccessorInnerExtensionFun.kt");
}
@TestMetadata("propertyAccessorObject.kt")
public void testPropertyAccessorObject() throws Exception {
doTest("compiler/testData/codegen/label/propertyAccessorObject.kt");
}
@TestMetadata("propertyInClassAccessor.kt")
public void testPropertyInClassAccessor() throws Exception {
doTest("compiler/testData/codegen/label/propertyInClassAccessor.kt");
}
}
@@ -1,559 +0,0 @@
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.jet.codegen.generated;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.io.File;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.codegen.generated.AbstractCodegenTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/multiDecl")
@InnerTestClasses({MultiDeclTestGenerated.ForArray.class, MultiDeclTestGenerated.ForIterator.class, MultiDeclTestGenerated.ForRange.class})
public class MultiDeclTestGenerated extends AbstractCodegenTest {
public void testAllFilesPresentInMultiDecl() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl"), "kt", true);
}
@TestMetadata("ComplexInitializer.kt")
public void testComplexInitializer() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/ComplexInitializer.kt");
}
@TestMetadata("component.kt")
public void testComponent() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/component.kt");
}
@TestMetadata("SimpleVals.kt")
public void testSimpleVals() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/SimpleVals.kt");
}
@TestMetadata("SimpleValsExtensions.kt")
public void testSimpleValsExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/SimpleValsExtensions.kt");
}
@TestMetadata("SimpleVarsExtensions.kt")
public void testSimpleVarsExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/SimpleVarsExtensions.kt");
}
@TestMetadata("ValCapturedInFunctionLiteral.kt")
public void testValCapturedInFunctionLiteral() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/ValCapturedInFunctionLiteral.kt");
}
@TestMetadata("ValCapturedInLocalFunction.kt")
public void testValCapturedInLocalFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/ValCapturedInLocalFunction.kt");
}
@TestMetadata("ValCapturedInObjectLiteral.kt")
public void testValCapturedInObjectLiteral() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/ValCapturedInObjectLiteral.kt");
}
@TestMetadata("VarCapturedInFunctionLiteral.kt")
public void testVarCapturedInFunctionLiteral() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/VarCapturedInFunctionLiteral.kt");
}
@TestMetadata("VarCapturedInLocalFunction.kt")
public void testVarCapturedInLocalFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/VarCapturedInLocalFunction.kt");
}
@TestMetadata("VarCapturedInObjectLiteral.kt")
public void testVarCapturedInObjectLiteral() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/VarCapturedInObjectLiteral.kt");
}
@TestMetadata("compiler/testData/codegen/multiDecl/forArray")
@InnerTestClasses({ForArray.Int.class, ForArray.Long.class})
public static class ForArray extends AbstractCodegenTest {
public void testAllFilesPresentInForArray() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forArray"), "kt", true);
}
@TestMetadata("MultiDeclFor.kt")
public void testMultiDeclFor() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/MultiDeclFor.kt");
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
@TestMetadata("MultiDeclForValCaptured.kt")
public void testMultiDeclForValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/MultiDeclForValCaptured.kt");
}
@TestMetadata("compiler/testData/codegen/multiDecl/forArray/int")
public static class Int extends AbstractCodegenTest {
public void testAllFilesPresentInInt() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forArray/int"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/int/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/int/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/int/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/int/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
@TestMetadata("compiler/testData/codegen/multiDecl/forArray/long")
public static class Long extends AbstractCodegenTest {
public void testAllFilesPresentInLong() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forArray/long"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/long/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/long/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/long/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forArray/long/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
public static Test innerSuite() {
TestSuite suite = new TestSuite("ForArray");
suite.addTestSuite(ForArray.class);
suite.addTestSuite(Int.class);
suite.addTestSuite(Long.class);
return suite;
}
}
@TestMetadata("compiler/testData/codegen/multiDecl/forIterator")
@InnerTestClasses({ForIterator.LongIterator.class})
public static class ForIterator extends AbstractCodegenTest {
public void testAllFilesPresentInForIterator() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forIterator"), "kt", true);
}
@TestMetadata("MultiDeclFor.kt")
public void testMultiDeclFor() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/MultiDeclFor.kt");
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
@TestMetadata("MultiDeclForValCaptured.kt")
public void testMultiDeclForValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/MultiDeclForValCaptured.kt");
}
@TestMetadata("compiler/testData/codegen/multiDecl/forIterator/longIterator")
public static class LongIterator extends AbstractCodegenTest {
public void testAllFilesPresentInLongIterator() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forIterator/longIterator"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
public static Test innerSuite() {
TestSuite suite = new TestSuite("ForIterator");
suite.addTestSuite(ForIterator.class);
suite.addTestSuite(LongIterator.class);
return suite;
}
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange")
@InnerTestClasses({ForRange.ExplicitRangeTo.class, ForRange.ExplicitRangeToWithDot.class, ForRange.Int.class, ForRange.Long.class})
public static class ForRange extends AbstractCodegenTest {
public void testAllFilesPresentInForRange() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange"), "kt", true);
}
@TestMetadata("MultiDeclFor.kt")
public void testMultiDeclFor() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/MultiDeclFor.kt");
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
@TestMetadata("MultiDeclForValCaptured.kt")
public void testMultiDeclForValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/MultiDeclForValCaptured.kt");
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo")
@InnerTestClasses({ExplicitRangeTo.Int.class, ExplicitRangeTo.Long.class})
public static class ExplicitRangeTo extends AbstractCodegenTest {
public void testAllFilesPresentInExplicitRangeTo() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo"), "kt", true);
}
@TestMetadata("MultiDeclFor.kt")
public void testMultiDeclFor() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/MultiDeclFor.kt");
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
@TestMetadata("MultiDeclForValCaptured.kt")
public void testMultiDeclForValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/MultiDeclForValCaptured.kt");
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/int")
public static class Int extends AbstractCodegenTest {
public void testAllFilesPresentInInt() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/int"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/int/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/int/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/int/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/int/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/long")
public static class Long extends AbstractCodegenTest {
public void testAllFilesPresentInLong() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/long"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/long/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/long/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/long/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeTo/long/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
public static Test innerSuite() {
TestSuite suite = new TestSuite("ExplicitRangeTo");
suite.addTestSuite(ExplicitRangeTo.class);
suite.addTestSuite(Int.class);
suite.addTestSuite(Long.class);
return suite;
}
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot")
@InnerTestClasses({ExplicitRangeToWithDot.Int.class, ExplicitRangeToWithDot.Long.class})
public static class ExplicitRangeToWithDot extends AbstractCodegenTest {
public void testAllFilesPresentInExplicitRangeToWithDot() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot"), "kt", true);
}
@TestMetadata("MultiDeclFor.kt")
public void testMultiDeclFor() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/MultiDeclFor.kt");
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
@TestMetadata("MultiDeclForValCaptured.kt")
public void testMultiDeclForValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/MultiDeclForValCaptured.kt");
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/int")
public static class Int extends AbstractCodegenTest {
public void testAllFilesPresentInInt() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/int"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/int/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/int/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/int/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/int/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/long")
public static class Long extends AbstractCodegenTest {
public void testAllFilesPresentInLong() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/long"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/long/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/long/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/long/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/explicitRangeToWithDot/long/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
public static Test innerSuite() {
TestSuite suite = new TestSuite("ExplicitRangeToWithDot");
suite.addTestSuite(ExplicitRangeToWithDot.class);
suite.addTestSuite(Int.class);
suite.addTestSuite(Long.class);
return suite;
}
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange/int")
public static class Int extends AbstractCodegenTest {
public void testAllFilesPresentInInt() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange/int"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/int/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/int/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/int/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/int/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
@TestMetadata("compiler/testData/codegen/multiDecl/forRange/long")
public static class Long extends AbstractCodegenTest {
public void testAllFilesPresentInLong() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/multiDecl/forRange/long"), "kt", true);
}
@TestMetadata("MultiDeclForComponentExtensions.kt")
public void testMultiDeclForComponentExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/long/MultiDeclForComponentExtensions.kt");
}
@TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt")
public void testMultiDeclForComponentExtensionsValCaptured() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/long/MultiDeclForComponentExtensionsValCaptured.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensions.kt")
public void testMultiDeclForComponentMemberExtensions() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/long/MultiDeclForComponentMemberExtensions.kt");
}
@TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt")
public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/forRange/long/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt");
}
}
public static Test innerSuite() {
TestSuite suite = new TestSuite("ForRange");
suite.addTestSuite(ForRange.class);
suite.addTest(ExplicitRangeTo.innerSuite());
suite.addTest(ExplicitRangeToWithDot.innerSuite());
suite.addTestSuite(Int.class);
suite.addTestSuite(Long.class);
return suite;
}
}
public static Test suite() {
TestSuite suite = new TestSuite("MultiDeclTestGenerated");
suite.addTestSuite(MultiDeclTestGenerated.class);
suite.addTest(ForArray.innerSuite());
suite.addTest(ForIterator.innerSuite());
suite.addTest(ForRange.innerSuite());
return suite;
}
}
@@ -1,97 +0,0 @@
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.jet.codegen.generated;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.io.File;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.codegen.generated.AbstractCodegenTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/operatorConventions")
@InnerTestClasses({OperatorConventionsTestGenerated.CompareTo.class})
public class OperatorConventionsTestGenerated extends AbstractCodegenTest {
public void testAllFilesPresentInOperatorConventions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/operatorConventions"), "kt", true);
}
@TestMetadata("compiler/testData/codegen/operatorConventions/compareTo")
public static class CompareTo extends AbstractCodegenTest {
public void testAllFilesPresentInCompareTo() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/operatorConventions/compareTo"), "kt", true);
}
@TestMetadata("comparable.kt")
public void testComparable() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/comparable.kt");
}
@TestMetadata("doubleInt.kt")
public void testDoubleInt() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/doubleInt.kt");
}
@TestMetadata("doubleLong.kt")
public void testDoubleLong() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/doubleLong.kt");
}
@TestMetadata("extensionArray.kt")
public void testExtensionArray() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/extensionArray.kt");
}
@TestMetadata("extensionObject.kt")
public void testExtensionObject() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/extensionObject.kt");
}
@TestMetadata("intDouble.kt")
public void testIntDouble() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/intDouble.kt");
}
@TestMetadata("intLong.kt")
public void testIntLong() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/intLong.kt");
}
@TestMetadata("longDouble.kt")
public void testLongDouble() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/longDouble.kt");
}
@TestMetadata("longInt.kt")
public void testLongInt() throws Exception {
doTest("compiler/testData/codegen/operatorConventions/compareTo/longInt.kt");
}
}
public static Test suite() {
TestSuite suite = new TestSuite("OperatorConventionsTestGenerated");
suite.addTestSuite(OperatorConventionsTestGenerated.class);
suite.addTestSuite(CompareTo.class);
return suite;
}
}