public static VirtualFile getTestDataDir() { if (testDataDir == null) { testDataDir = LocalFileSystem.getInstance() .refreshAndFindFileByPath(DebugPathManager.getFudHome() + "/idea-plugin/testData"); assert testDataDir != null; testDataDir.refresh(false, true); } return testDataDir; }
public static String getTestDataPath() { if (testDataPath == null) { testDataPath = new File(DebugPathManager.getFudHome(), "idea-plugin/testData").getPath(); } return testDataPath; }