mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
gui-tests-framework: added missed UiDropperActionExtension
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/testsSrc" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/testsSrc" isTestSource="true" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.*
|
||||
|
||||
+30
@@ -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<UiDropperActionExtension> EP_NAME = ExtensionPointName.create("com.intellij.uiDropperActions");
|
||||
|
||||
AnAction getAnAction();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user