コード例 #1
0
 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;
 }
コード例 #2
0
 public static String getTestDataPath() {
   if (testDataPath == null) {
     testDataPath = new File(DebugPathManager.getFudHome(), "idea-plugin/testData").getPath();
   }
   return testDataPath;
 }