Files
openide/java/java-frontback-tests/testSrc/com/intellij/PathJavaTestUtil.java
Mikhail Pyltsin c8d4c1842f [java-rd] IDEA-322563 fix test regressions
- adjust path for Community
- delete outdated test
- Rewrite logic for mix tests

GitOrigin-RevId: 6e9e149bb715096f1e87eef7d831e29411f1bba4
2023-09-22 12:39:05 +00:00

15 lines
606 B
Java

// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij;
import com.intellij.openapi.application.ex.PathManagerEx;
public final class PathJavaTestUtil {
public static String getCommunityJavaTestDataPath() {
PathManagerEx.TestDataLookupStrategy strategy = PathManagerEx.guessTestDataLookupStrategy();
if (strategy == PathManagerEx.TestDataLookupStrategy.ULTIMATE) {
strategy = PathManagerEx.TestDataLookupStrategy.COMMUNITY_FROM_ULTIMATE;
}
return PathManagerEx.getTestDataPath(strategy);
}
}