mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gui-test] change Git user.name and user.email on TeamCity only
This commit is contained in:
@@ -28,6 +28,8 @@ import static com.intellij.testGuiFramework.framework.GuiTestUtil.setUpDefaultPr
|
||||
*/
|
||||
public class GuiTestCase extends GuiTestBase {
|
||||
|
||||
public static final boolean IS_UNDER_TEAMCITY = System.getenv("TEAMCITY_VERSION") != null;
|
||||
|
||||
public GuiTestCase() {
|
||||
super();
|
||||
}
|
||||
@@ -40,7 +42,7 @@ public class GuiTestCase extends GuiTestBase {
|
||||
myRobot = new FastRobot();
|
||||
|
||||
setIdeSettings();
|
||||
GitSettings.INSTANCE.setup();
|
||||
if (IS_UNDER_TEAMCITY) GitSettings.INSTANCE.setup();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user