本文整理汇总了Java中com.intellij.testFramework.PlatformTestUtil.getCommunityPath方法的典型用法代码示例。如果您正苦于以下问题:Java PlatformTestUtil.getCommunityPath方法的具体用法?Java PlatformTestUtil.getCommunityPath怎么用?Java PlatformTestUtil.getCommunityPath使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.testFramework.PlatformTestUtil
的用法示例。
在下文中一共展示了PlatformTestUtil.getCommunityPath方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setUp
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@Override
protected void setUp() throws Exception {
String path = PlatformTestUtil.getCommunityPath() + "/platform/platform-tests/testData/badPlugins";
File directory = createTempDirectory(false);
FileUtil.copyDir(new File(path), directory);
System.setProperty(PathManager.PROPERTY_CONFIG_PATH, directory.getPath());
System.out.println("Old path: " + myOldConfigPath);
System.out.println("New path: " + System.getProperty(PathManager.PROPERTY_CONFIG_PATH));
super.setUp();
}
示例2: loadDescriptor
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
private IdeaPluginDescriptor loadDescriptor(String filePath) throws InvalidDataException, FileNotFoundException, MalformedURLException {
String path = PlatformTestUtil.getCommunityPath() + "/platform/platform-tests/testData/updates/customRepositories/" + getTestName(true) + "/";
final File descriptorFile = new File(path, filePath);
IdeaPluginDescriptorImpl descriptor = new IdeaPluginDescriptorImpl(descriptorFile.getParentFile());
descriptor.readExternal(descriptorFile.toURI().toURL());
return descriptor;
}
示例3: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@NotNull
@Override
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/java/typeMigration/testData";
}
示例4: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@Override
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/java/typeMigration/testData";
}
示例5: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
/**
* Return absolute path to the test data. Not intended to be overridden.
*
* @return absolute path to the test data.
*/
@NonNls
protected final String getTestDataPath() {
String path = isCommunity() ? PlatformTestUtil.getCommunityPath() : PathManager.getHomePath();
return path.replace(File.separatorChar, '/') + getBasePath();
}
示例6: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
private static String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/platform/platform-tests/testData/projectSet/";
}
示例7: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@NotNull
@Override
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/platform/structuralsearch/testData/";
}
示例8: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/platform/structuralsearch/testData/ssBased";
}
示例9: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/platform/structuralsearch/testData/";
}
示例10: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@NotNull
@Override
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/platform/structuralsearch/testData/java/";
}
示例11: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@Override
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/json/tests/testData";
}
示例12: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@NotNull
@Override
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/xml/tests/testData/documentation/";
}
示例13: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@Override
@NotNull
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/xml/tests/testData/intentions/splitTag";
}
示例14: getTestDataBasePath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
public static String getTestDataBasePath() {
return PlatformTestUtil.getCommunityPath() + "/xml/relaxng/testData/";
}
示例15: getTestDataPath
import com.intellij.testFramework.PlatformTestUtil; //导入方法依赖的package包/类
@Override
protected String getTestDataPath() {
return PlatformTestUtil.getCommunityPath() + "/xml/relaxng/testData/parsing";
}