From d35d8d1ec9b0b61e1cc524055353acf62a44f2ea Mon Sep 17 00:00:00 2001 From: Sergey Karashevich Date: Thu, 8 Sep 2016 19:27:11 +0300 Subject: [PATCH] gui-tests-framework: changed testData path --- .../tests/gui/framework/GuiTests.java | 4 +- .../SimpleApplication/.idea/compiler.xml | 23 + .../.idea/copyright/profiles_settings.xml | 3 + .../SimpleApplication/.idea/description.html | 1 + .../SimpleApplication/.idea/encodings.xml | 5 + .../guiTests/SimpleApplication/.idea/misc.xml | 12 + .../SimpleApplication/.idea/modules.xml | 8 + .../guiTests/SimpleApplication/.idea/vcs.xml | 7 + .../SimpleApplication/.idea/workspace.xml | 454 ++++++++++++++++++ .../SimpleApplication/SimpleApplication.iml | 12 + .../guiTests/SimpleApplication/src/Main.java | 6 + 11 files changed, 533 insertions(+), 2 deletions(-) create mode 100644 community-tests/testData/guiTests/SimpleApplication/.idea/compiler.xml create mode 100644 community-tests/testData/guiTests/SimpleApplication/.idea/copyright/profiles_settings.xml create mode 100644 community-tests/testData/guiTests/SimpleApplication/.idea/description.html create mode 100644 community-tests/testData/guiTests/SimpleApplication/.idea/encodings.xml create mode 100644 community-tests/testData/guiTests/SimpleApplication/.idea/misc.xml create mode 100644 community-tests/testData/guiTests/SimpleApplication/.idea/modules.xml create mode 100644 community-tests/testData/guiTests/SimpleApplication/.idea/vcs.xml create mode 100644 community-tests/testData/guiTests/SimpleApplication/.idea/workspace.xml create mode 100644 community-tests/testData/guiTests/SimpleApplication/SimpleApplication.iml create mode 100644 community-tests/testData/guiTests/SimpleApplication/src/Main.java diff --git a/community-tests/src/com/intellij/tests/gui/framework/GuiTests.java b/community-tests/src/com/intellij/tests/gui/framework/GuiTests.java index 344bdea4f983..5acb7063f385 100644 --- a/community-tests/src/com/intellij/tests/gui/framework/GuiTests.java +++ b/community-tests/src/com/intellij/tests/gui/framework/GuiTests.java @@ -24,7 +24,7 @@ import com.intellij.ide.RecentProjectsManager; import com.intellij.openapi.application.ApplicationBundle; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ApplicationNamesInfo; -import com.intellij.openapi.application.ex.PathManagerEx; +import com.intellij.openapi.application.PathManager; import com.intellij.openapi.application.impl.ApplicationInfoImpl; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.progress.ProgressManager; @@ -473,7 +473,7 @@ public final class GuiTests { @NotNull public static File getTestProjectsRootDirPath() { - String testDataPath = PathManagerEx.getTestDataPath(PathManagerEx.TestDataLookupStrategy.ULTIMATE); + String testDataPath = PathManager.getHomePath() + "/community/community-tests/testData"; assertNotNull(testDataPath); assertThat(testDataPath).isNotEmpty(); testDataPath = toCanonicalPath(toSystemDependentName(testDataPath)); diff --git a/community-tests/testData/guiTests/SimpleApplication/.idea/compiler.xml b/community-tests/testData/guiTests/SimpleApplication/.idea/compiler.xml new file mode 100644 index 000000000000..217af471a9e6 --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/community-tests/testData/guiTests/SimpleApplication/.idea/copyright/profiles_settings.xml b/community-tests/testData/guiTests/SimpleApplication/.idea/copyright/profiles_settings.xml new file mode 100644 index 000000000000..e7bedf3377d4 --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/community-tests/testData/guiTests/SimpleApplication/.idea/description.html b/community-tests/testData/guiTests/SimpleApplication/.idea/description.html new file mode 100644 index 000000000000..db5f12955691 --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/community-tests/testData/guiTests/SimpleApplication/.idea/encodings.xml b/community-tests/testData/guiTests/SimpleApplication/.idea/encodings.xml new file mode 100644 index 000000000000..e206d70d8595 --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/.idea/encodings.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/community-tests/testData/guiTests/SimpleApplication/.idea/misc.xml b/community-tests/testData/guiTests/SimpleApplication/.idea/misc.xml new file mode 100644 index 000000000000..379224a69850 --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/community-tests/testData/guiTests/SimpleApplication/.idea/modules.xml b/community-tests/testData/guiTests/SimpleApplication/.idea/modules.xml new file mode 100644 index 000000000000..8754079abe1d --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/community-tests/testData/guiTests/SimpleApplication/.idea/vcs.xml b/community-tests/testData/guiTests/SimpleApplication/.idea/vcs.xml new file mode 100644 index 000000000000..def6a6a18457 --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/community-tests/testData/guiTests/SimpleApplication/.idea/workspace.xml b/community-tests/testData/guiTests/SimpleApplication/.idea/workspace.xml new file mode 100644 index 000000000000..2cbc5ef822ab --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/.idea/workspace.xml @@ -0,0 +1,454 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1473342321226 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No facets are configured + + + + + + + + + + + + + + + 1.8 + + + + + + + + SimpleApplication + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/community-tests/testData/guiTests/SimpleApplication/SimpleApplication.iml b/community-tests/testData/guiTests/SimpleApplication/SimpleApplication.iml new file mode 100644 index 000000000000..d5c074327501 --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/SimpleApplication.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/community-tests/testData/guiTests/SimpleApplication/src/Main.java b/community-tests/testData/guiTests/SimpleApplication/src/Main.java new file mode 100644 index 000000000000..a0428dacd1ce --- /dev/null +++ b/community-tests/testData/guiTests/SimpleApplication/src/Main.java @@ -0,0 +1,6 @@ +public class Main { + + public static void main(String[] args) { + System.out.println("Hello World!"); + } +}