Remove binary test data from completion tests

Delete CompileBinaryTestData script, since there are no tests with binary test
data left in the repository
This commit is contained in:
Alexander Udalov
2013-10-09 21:56:50 +04:00
parent 47ce2f7fe8
commit 102ced153c
10 changed files with 18 additions and 191 deletions
@@ -18,20 +18,16 @@ package org.jetbrains.jet.resolve;
import com.intellij.testFramework.LightProjectDescriptor;
import org.jetbrains.jet.plugin.JdkAndMockLibraryProjectDescriptor;
import static com.intellij.openapi.util.text.StringUtil.startsWithIgnoreCase;
import org.jetbrains.jet.plugin.PluginTestCaseBase;
public abstract class AbstractResolveWithLibTest extends AbstractResolveBaseTest {
private static final String TEST_DATA_PATH = "idea/testData/resolve/referenceWithLib";
private static final String ALL_FILES_PRESENT_PREFIX = "allFilesPresentIn";
private static final String TEST_DATA_PATH = PluginTestCaseBase.getTestDataPathBase() + "/resolve/referenceWithLib";
@Override
protected LightProjectDescriptor getProjectDescriptor() {
String testName = getTestName(true);
if (startsWithIgnoreCase(testName, ALL_FILES_PRESENT_PREFIX)) {
if (PluginTestCaseBase.isAllFilesPresentTest(getTestName(true))) {
return null;
}
return new JdkAndMockLibraryProjectDescriptor(TEST_DATA_PATH + "/" + testName + "Src", false);
return new JdkAndMockLibraryProjectDescriptor(TEST_DATA_PATH + "/" + getTestName(true) + "Src", false);
}
}