Remove IrOnlyBoxCodegenTestGenerated test

This commit is contained in:
Mikhael Bogdanov
2018-08-02 13:09:06 +02:00
parent 6c41f078a6
commit e3462a2999
@@ -1,152 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.codegen.ir;
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;
import java.io.File;
import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/ir/box")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public class IrOnlyBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
public void testAllFilesPresentInBox() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/ir/box"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("classInitializers.kt")
public void testClassInitializers() throws Exception {
runTest("compiler/testData/ir/box/classInitializers.kt");
}
@TestMetadata("enumClass.kt")
public void testEnumClass() throws Exception {
runTest("compiler/testData/ir/box/enumClass.kt");
}
@TestMetadata("enumClass2.kt")
public void testEnumClass2() throws Exception {
runTest("compiler/testData/ir/box/enumClass2.kt");
}
@TestMetadata("enumClass3.kt")
public void testEnumClass3() throws Exception {
runTest("compiler/testData/ir/box/enumClass3.kt");
}
@TestMetadata("fileClassInitializers.kt")
public void testFileClassInitializers() throws Exception {
runTest("compiler/testData/ir/box/fileClassInitializers.kt");
}
@TestMetadata("objectClass.kt")
public void testObjectClass() throws Exception {
runTest("compiler/testData/ir/box/objectClass.kt");
}
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/ir/box/simple.kt");
}
@TestMetadata("compiler/testData/ir/box/closureConversion")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class ClosureConversion extends AbstractIrBlackBoxCodegenTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
public void testAllFilesPresentInClosureConversion() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/ir/box/closureConversion"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("closureConversion1.kt")
public void testClosureConversion1() throws Exception {
runTest("compiler/testData/ir/box/closureConversion/closureConversion1.kt");
}
@TestMetadata("closureConversion2.kt")
public void testClosureConversion2() throws Exception {
runTest("compiler/testData/ir/box/closureConversion/closureConversion2.kt");
}
@TestMetadata("closureConversion3.kt")
public void testClosureConversion3() throws Exception {
runTest("compiler/testData/ir/box/closureConversion/closureConversion3.kt");
}
@TestMetadata("closureConversion4.kt")
public void testClosureConversion4() throws Exception {
runTest("compiler/testData/ir/box/closureConversion/closureConversion4.kt");
}
@TestMetadata("innerClass1.kt")
public void testInnerClass1() throws Exception {
runTest("compiler/testData/ir/box/closureConversion/innerClass1.kt");
}
@TestMetadata("innerClass2.kt")
public void testInnerClass2() throws Exception {
runTest("compiler/testData/ir/box/closureConversion/innerClass2.kt");
}
@TestMetadata("mutable1.kt")
public void testMutable1() throws Exception {
runTest("compiler/testData/ir/box/closureConversion/mutable1.kt");
}
@TestMetadata("mutablePrimitives.kt")
public void testMutablePrimitives() throws Exception {
runTest("compiler/testData/ir/box/closureConversion/mutablePrimitives.kt");
}
}
@TestMetadata("compiler/testData/ir/box/primitiveNumberComparisons")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class PrimitiveNumberComparisons extends AbstractIrBlackBoxCodegenTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
public void testAllFilesPresentInPrimitiveNumberComparisons() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/ir/box/primitiveNumberComparisons"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("comparableToDouble.kt")
public void testComparableToDouble() throws Exception {
runTest("compiler/testData/ir/box/primitiveNumberComparisons/comparableToDouble.kt");
}
@TestMetadata("doubleEqeq.kt")
public void testDoubleEqeq() throws Exception {
runTest("compiler/testData/ir/box/primitiveNumberComparisons/doubleEqeq.kt");
}
@TestMetadata("floatEqeq.kt")
public void testFloatEqeq() throws Exception {
runTest("compiler/testData/ir/box/primitiveNumberComparisons/floatEqeq.kt");
}
@TestMetadata("mixedNumberTypes.kt")
public void testMixedNumberTypes() throws Exception {
runTest("compiler/testData/ir/box/primitiveNumberComparisons/mixedNumberTypes.kt");
}
}
}