Renamed test data folder

This commit is contained in:
Valentin Kipyatkov
2015-08-13 21:22:18 +03:00
parent b6cf39981f
commit c3ccd6da57
20 changed files with 13 additions and 13 deletions
@@ -732,7 +732,7 @@ fun main(args: Array<String>) {
} }
testClass(javaClass<AbstractJvmWithLibBasicCompletionTest>()) { testClass(javaClass<AbstractJvmWithLibBasicCompletionTest>()) {
model("basic/custom", recursive = false) model("basic/withLib", recursive = false)
} }
testClass(javaClass<AbstractBasicCompletionHandlerTest>()) { testClass(javaClass<AbstractBasicCompletionHandlerTest>()) {
@@ -23,7 +23,7 @@ import org.jetbrains.kotlin.idea.test.PluginTestCaseBase
import org.jetbrains.kotlin.resolve.jvm.platform.JvmPlatform import org.jetbrains.kotlin.resolve.jvm.platform.JvmPlatform
public abstract class AbstractJvmWithLibBasicCompletionTest : JetFixtureCompletionBaseTestCase() { public abstract class AbstractJvmWithLibBasicCompletionTest : JetFixtureCompletionBaseTestCase() {
private val TEST_PATH = COMPLETION_TEST_DATA_BASE_PATH + "/basic/custom" private val TEST_PATH = COMPLETION_TEST_DATA_BASE_PATH + "/basic/withLib"
override fun getProjectDescriptor(): LightProjectDescriptor { override fun getProjectDescriptor(): LightProjectDescriptor {
if (PluginTestCaseBase.isAllFilesPresentTest(getTestName(true))) { if (PluginTestCaseBase.isAllFilesPresentTest(getTestName(true))) {
@@ -27,59 +27,59 @@ import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */ /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all") @SuppressWarnings("all")
@TestMetadata("idea/idea-completion/testData/basic/custom") @TestMetadata("idea/idea-completion/testData/basic/withLib")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class) @RunWith(JUnit3RunnerWithInners.class)
public class JvmWithLibBasicCompletionTestGenerated extends AbstractJvmWithLibBasicCompletionTest { public class JvmWithLibBasicCompletionTestGenerated extends AbstractJvmWithLibBasicCompletionTest {
public void testAllFilesPresentInCustom() throws Exception { public void testAllFilesPresentInWithLib() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/basic/custom"), Pattern.compile("^(.+)\\.kt$"), false); JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/basic/withLib"), Pattern.compile("^(.+)\\.kt$"), false);
} }
@TestMetadata("NamedArgumentsJava.kt") @TestMetadata("NamedArgumentsJava.kt")
public void testNamedArgumentsJava() throws Exception { public void testNamedArgumentsJava() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/custom/NamedArgumentsJava.kt"); String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/withLib/NamedArgumentsJava.kt");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("NamedArgumentsKotlin.kt") @TestMetadata("NamedArgumentsKotlin.kt")
public void testNamedArgumentsKotlin() throws Exception { public void testNamedArgumentsKotlin() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/custom/NamedArgumentsKotlin.kt"); String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/withLib/NamedArgumentsKotlin.kt");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("SamAdapter.kt") @TestMetadata("SamAdapter.kt")
public void testSamAdapter() throws Exception { public void testSamAdapter() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/custom/SamAdapter.kt"); String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/withLib/SamAdapter.kt");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("SamAdapterAndGenerics.kt") @TestMetadata("SamAdapterAndGenerics.kt")
public void testSamAdapterAndGenerics() throws Exception { public void testSamAdapterAndGenerics() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/custom/SamAdapterAndGenerics.kt"); String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/withLib/SamAdapterAndGenerics.kt");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("TopLevelNonImportedExtFun.kt") @TestMetadata("TopLevelNonImportedExtFun.kt")
public void testTopLevelNonImportedExtFun() throws Exception { public void testTopLevelNonImportedExtFun() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/custom/TopLevelNonImportedExtFun.kt"); String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/withLib/TopLevelNonImportedExtFun.kt");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("TopLevelNonImportedExtProp.kt") @TestMetadata("TopLevelNonImportedExtProp.kt")
public void testTopLevelNonImportedExtProp() throws Exception { public void testTopLevelNonImportedExtProp() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/custom/TopLevelNonImportedExtProp.kt"); String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/withLib/TopLevelNonImportedExtProp.kt");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("TopLevelNonImportedFun.kt") @TestMetadata("TopLevelNonImportedFun.kt")
public void testTopLevelNonImportedFun() throws Exception { public void testTopLevelNonImportedFun() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/custom/TopLevelNonImportedFun.kt"); String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/withLib/TopLevelNonImportedFun.kt");
doTest(fileName); doTest(fileName);
} }
@TestMetadata("TopLevelNonImportedProperty.kt") @TestMetadata("TopLevelNonImportedProperty.kt")
public void testTopLevelNonImportedProperty() throws Exception { public void testTopLevelNonImportedProperty() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/custom/TopLevelNonImportedProperty.kt"); String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/withLib/TopLevelNonImportedProperty.kt");
doTest(fileName); doTest(fileName);
} }
} }