From 2677e1b931f795035b1955131bcd9b0835ea87a6 Mon Sep 17 00:00:00 2001 From: Sergey Karashevich Date: Thu, 1 Feb 2018 16:01:10 +0300 Subject: [PATCH] [gui-test] introduce FocusIssuesSuite to separate tests running --- .../tests/community/CommunityTestSuite.kt | 2 +- .../tests/community/FocusIssuesSuite.kt | 16 ++++++++++ .../tests/community/CommunityTestSuite.kt | 30 ------------------- 3 files changed, 17 insertions(+), 31 deletions(-) create mode 100644 community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/FocusIssuesSuite.kt delete mode 100644 platform/testGuiFramework/testSrc/com/intellij/testGuiFramework/tests/community/CommunityTestSuite.kt diff --git a/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/CommunityTestSuite.kt b/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/CommunityTestSuite.kt index 5a7f5bbac357..713d5b9dbce8 100644 --- a/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/CommunityTestSuite.kt +++ b/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/CommunityTestSuite.kt @@ -26,5 +26,5 @@ import org.junit.runners.Suite @RunWith(GuiTestSuite::class) @RunWithIde(CommunityIde::class) @FirstStartWith(CommunityIdeFirstStart::class) -@Suite.SuiteClasses(CommandLineProjectTest::class, TypeAheadTest::class, GoToClassFocusTest::class) +@Suite.SuiteClasses(CommandLineProjectTest::class) class CommunityTestSuite \ No newline at end of file diff --git a/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/FocusIssuesSuite.kt b/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/FocusIssuesSuite.kt new file mode 100644 index 000000000000..567be31068f9 --- /dev/null +++ b/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/FocusIssuesSuite.kt @@ -0,0 +1,16 @@ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +package com.intellij.testGuiFramework.tests.community + +import com.intellij.testGuiFramework.framework.FirstStartWith +import com.intellij.testGuiFramework.framework.GuiTestSuite +import com.intellij.testGuiFramework.framework.RunWithIde +import com.intellij.testGuiFramework.launcher.ide.CommunityIde +import com.intellij.testGuiFramework.launcher.ide.CommunityIdeFirstStart +import org.junit.runner.RunWith +import org.junit.runners.Suite + +@RunWith(GuiTestSuite::class) +@RunWithIde(CommunityIde::class) +@FirstStartWith(CommunityIdeFirstStart::class) +@Suite.SuiteClasses(TypeAheadTest::class, GoToClassFocusTest::class) +class FocusIssuesSuite \ No newline at end of file diff --git a/platform/testGuiFramework/testSrc/com/intellij/testGuiFramework/tests/community/CommunityTestSuite.kt b/platform/testGuiFramework/testSrc/com/intellij/testGuiFramework/tests/community/CommunityTestSuite.kt deleted file mode 100644 index 713d5b9dbce8..000000000000 --- a/platform/testGuiFramework/testSrc/com/intellij/testGuiFramework/tests/community/CommunityTestSuite.kt +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.intellij.testGuiFramework.tests.community - -import com.intellij.testGuiFramework.framework.FirstStartWith -import com.intellij.testGuiFramework.framework.GuiTestSuite -import com.intellij.testGuiFramework.framework.RunWithIde -import com.intellij.testGuiFramework.launcher.ide.CommunityIde -import com.intellij.testGuiFramework.launcher.ide.CommunityIdeFirstStart -import org.junit.runner.RunWith -import org.junit.runners.Suite - -@RunWith(GuiTestSuite::class) -@RunWithIde(CommunityIde::class) -@FirstStartWith(CommunityIdeFirstStart::class) -@Suite.SuiteClasses(CommandLineProjectTest::class) -class CommunityTestSuite \ No newline at end of file