AndroidBytecodeShapeTest renamed

This commit is contained in:
Yan Zhulanow
2014-12-05 17:57:38 +03:00
parent 5590848843
commit 7cd78a2d3a
13 changed files with 12 additions and 12 deletions
@@ -150,7 +150,7 @@ import org.jetbrains.jet.android.AbstractAndroidGotoTest
import org.jetbrains.jet.jps.build.android.AbstractAndroidJpsTestCase import org.jetbrains.jet.jps.build.android.AbstractAndroidJpsTestCase
import org.jetbrains.jet.android.AbstractAndroidRenameTest import org.jetbrains.jet.android.AbstractAndroidRenameTest
import org.jetbrains.jet.android.AbstractAndroidFindUsagesTest import org.jetbrains.jet.android.AbstractAndroidFindUsagesTest
import org.jetbrains.jet.lang.resolve.android.AbstractAndroidBytecodePersistenceTest import org.jetbrains.jet.lang.resolve.android.AbstractAndroidBytecodeShapeTest
fun main(args: Array<String>) { fun main(args: Array<String>) {
System.setProperty("java.awt.headless", "true") System.setProperty("java.awt.headless", "true")
@@ -746,8 +746,8 @@ fun main(args: Array<String>) {
model("codegen/android", recursive = false, extension = null, testMethod = "doFakeInvocationTest", testClassName = "Invoke") model("codegen/android", recursive = false, extension = null, testMethod = "doFakeInvocationTest", testClassName = "Invoke")
} }
testClass(javaClass<AbstractAndroidBytecodePersistenceTest>()) { testClass(javaClass<AbstractAndroidBytecodeShapeTest>()) {
model("codegen/androidPersistence", recursive = false, extension = null) model("codegen/bytecodeShape", recursive = false, extension = null)
} }
} }
@@ -29,7 +29,7 @@ import org.jetbrains.jet.codegen.extensions.ExpressionCodegenExtension
import org.jetbrains.kotlin.android.AndroidExpressionCodegen import org.jetbrains.kotlin.android.AndroidExpressionCodegen
import org.jetbrains.jet.cli.jvm.compiler.EnvironmentConfigFiles import org.jetbrains.jet.cli.jvm.compiler.EnvironmentConfigFiles
public abstract class AbstractAndroidBytecodePersistenceTest : AbstractBytecodeTextTest() { public abstract class AbstractAndroidBytecodeShapeTest : AbstractBytecodeTextTest() {
private fun createAndroidAPIEnvironment(path: String) { private fun createAndroidAPIEnvironment(path: String) {
return createEnvironmentForConfiguration(JetTestUtils.compilerConfigurationForTests(ConfigurationKind.ALL, TestJdkKind.ANDROID_API), path) return createEnvironmentForConfiguration(JetTestUtils.compilerConfigurationForTests(ConfigurationKind.ALL, TestJdkKind.ANDROID_API), path)
@@ -28,35 +28,35 @@ import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("plugins/android-compiler-plugin/testData/codegen/androidPersistence") @TestMetadata("plugins/android-compiler-plugin/testData/codegen/bytecodeShape")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class) @RunWith(JUnit3RunnerWithInners.class)
public class AndroidBytecodePersistenceTestGenerated extends AbstractAndroidBytecodePersistenceTest { public class AndroidBytecodeShapeTestGenerated extends AbstractAndroidBytecodeShapeTest {
public void testAllFilesPresentInAndroidPersistence() throws Exception { public void testAllFilesPresentInBytecodeShape() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("plugins/android-compiler-plugin/testData/codegen/androidPersistence"), Pattern.compile("^([^\\.]+)$"), false); JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("plugins/android-compiler-plugin/testData/codegen/bytecodeShape"), Pattern.compile("^([^\\.]+)$"), false);
} }
@TestMetadata("fqNameInAttr") @TestMetadata("fqNameInAttr")
public void testFqNameInAttr() throws Exception { public void testFqNameInAttr() throws Exception {
String fileName = JetTestUtils.navigationMetadata("plugins/android-compiler-plugin/testData/codegen/androidPersistence/fqNameInAttr/"); String fileName = JetTestUtils.navigationMetadata("plugins/android-compiler-plugin/testData/codegen/bytecodeShape/fqNameInAttr/");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("fqNameInTag") @TestMetadata("fqNameInTag")
public void testFqNameInTag() throws Exception { public void testFqNameInTag() throws Exception {
String fileName = JetTestUtils.navigationMetadata("plugins/android-compiler-plugin/testData/codegen/androidPersistence/fqNameInTag/"); String fileName = JetTestUtils.navigationMetadata("plugins/android-compiler-plugin/testData/codegen/bytecodeShape/fqNameInTag/");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("multiFile") @TestMetadata("multiFile")
public void testMultiFile() throws Exception { public void testMultiFile() throws Exception {
String fileName = JetTestUtils.navigationMetadata("plugins/android-compiler-plugin/testData/codegen/androidPersistence/multiFile/"); String fileName = JetTestUtils.navigationMetadata("plugins/android-compiler-plugin/testData/codegen/bytecodeShape/multiFile/");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("simple") @TestMetadata("simple")
public void testSimple() throws Exception { public void testSimple() throws Exception {
String fileName = JetTestUtils.navigationMetadata("plugins/android-compiler-plugin/testData/codegen/androidPersistence/simple/"); String fileName = JetTestUtils.navigationMetadata("plugins/android-compiler-plugin/testData/codegen/bytecodeShape/simple/");
doTest(fileName); doTest(fileName);
} }
} }