mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
- adjust path for Community - delete outdated test - Rewrite logic for mix tests GitOrigin-RevId: 6e9e149bb715096f1e87eef7d831e29411f1bba4
15 lines
606 B
Java
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);
|
|
}
|
|
}
|