mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
gui-tests-framework: git configure added to GuiTestCase
This commit is contained in:
@@ -15,9 +15,11 @@
|
||||
*/
|
||||
package com.intellij.testGuiFramework.impl;
|
||||
|
||||
import com.intellij.testFramework.vcs.ExecutableHelper;
|
||||
import com.intellij.testGuiFramework.framework.GuiTestBase;
|
||||
import com.intellij.testGuiFramework.framework.TestWithIde;
|
||||
import com.intellij.util.net.HttpConfigurable;
|
||||
import git4idea.config.GitVcsApplicationSettings;
|
||||
import org.fest.swing.core.FastRobot;
|
||||
|
||||
import static com.intellij.testGuiFramework.framework.GuiTestUtil.setUpDefaultProjectCreationLocationPath;
|
||||
@@ -42,6 +44,7 @@ public class GuiTestCase extends GuiTestBase {
|
||||
|
||||
setIdeSettings();
|
||||
setUpSdks();
|
||||
setPathToGit();
|
||||
}
|
||||
|
||||
private static void setIdeSettings() {
|
||||
@@ -52,4 +55,8 @@ public class GuiTestCase extends GuiTestBase {
|
||||
ideSettings.PROXY_PORT = 80;
|
||||
}
|
||||
|
||||
private static void setPathToGit() {
|
||||
GitVcsApplicationSettings.getInstance().setPathToGit(ExecutableHelper.findGitExecutable());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="git4idea" scope="TEST" />
|
||||
<orderEntry type="module" module-name="git4idea" />
|
||||
<orderEntry type="module" module-name="vcs-tests" />
|
||||
</component>
|
||||
</module>
|
||||
Reference in New Issue
Block a user