diff --git a/community-tests/community-tests.iml b/community-tests/community-tests.iml index 04445d253ad3..bd5f6cb76fae 100644 --- a/community-tests/community-tests.iml +++ b/community-tests/community-tests.iml @@ -3,8 +3,8 @@ - + diff --git a/community-tests/src/com/intellij/tests/gui/script/Script.kt b/community-tests/src/com/intellij/tests/gui/script/Script.kt deleted file mode 100644 index ef9d8f6fcd6f..000000000000 --- a/community-tests/src/com/intellij/tests/gui/script/Script.kt +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2000-2016 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.tests.gui.test - -import com.intellij.tests.gui.BelongsToTestGroups -import com.intellij.tests.gui.fixtures.WelcomeFrameFixture -import com.intellij.tests.gui.framework.GuiTestCase -import com.intellij.tests.gui.framework.TestGroup -import com.intellij.tests.gui.framework.createNewProject -import com.intellij.tests.gui.script.ScriptInterface -import org.junit.Assert - -/** - * Created by karashevich on 18/06/16. - */ -@BelongsToTestGroups(TestGroup.PROJECT) -class Script: GuiTestCase(), ScriptInterface { - - override fun script(){ - val createNewProject = createNewProject() - val newProjectWizard = findNewProjectWizard() - with(newProjectWizard) { - clickCancel() - } - val find = WelcomeFrameFixture.find(myRobot) - Assert.assertNotNull(find) - } -} - diff --git a/community-tests/src/com/intellij/tests/gui/script/ScriptRecorder.kt b/community-tests/src/com/intellij/tests/gui/script/ScriptRecorder.kt index c57807e2d10b..7c79c674429c 100644 --- a/community-tests/src/com/intellij/tests/gui/script/ScriptRecorder.kt +++ b/community-tests/src/com/intellij/tests/gui/script/ScriptRecorder.kt @@ -19,7 +19,6 @@ import com.intellij.internal.inspector.UiDropperActionExtension import com.intellij.openapi.actionSystem.AnAction import com.intellij.tests.gui.framework.GuiTests import org.fest.swing.core.BasicRobot -import org.fest.swing.core.Robot import java.awt.Component import java.awt.Container import javax.swing.* diff --git a/platform/platform-impl/src/com/intellij/internal/inspector/UiDropperActionExtension.java b/platform/platform-impl/src/com/intellij/internal/inspector/UiDropperActionExtension.java new file mode 100644 index 000000000000..caa716ae32b6 --- /dev/null +++ b/platform/platform-impl/src/com/intellij/internal/inspector/UiDropperActionExtension.java @@ -0,0 +1,30 @@ +/* + * Copyright 2000-2016 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.internal.inspector; + +import com.intellij.openapi.actionSystem.AnAction; +import com.intellij.openapi.extensions.ExtensionPointName; + +/** + * Created by jetbrains on 19/08/16. + */ +public interface UiDropperActionExtension { + + ExtensionPointName EP_NAME = ExtensionPointName.create("com.intellij.uiDropperActions"); + + AnAction getAnAction(); + +}