Example usage for com.intellij.openapi.actionSystem IdeActions ACTION_COPY

List of usage examples for com.intellij.openapi.actionSystem IdeActions ACTION_COPY

Introduction

In this page you can find the example usage for com.intellij.openapi.actionSystem IdeActions ACTION_COPY.

Prototype

String ACTION_COPY

To view the source code for com.intellij.openapi.actionSystem IdeActions ACTION_COPY.

Click Source Link

Usage

From source file:org.jetbrains.jet.plugin.conversion.copy.AbstractJavaToKotlinCopyPasteConversionTest.java

License:Apache License

public void doTest(@SuppressWarnings("UnusedParameters") String path) throws Exception {
    myFixture.setTestDataPath(BASE_PATH);
    String testName = getTestName(false);
    myFixture.configureByFile(testName + ".java");
    myFixture.performEditorAction(IdeActions.ACTION_COPY);
    myFixture.configureByFile(testName + ".to.kt");
    myFixture.performEditorAction(IdeActions.ACTION_PASTE);
    myFixture.checkResultByFile(testName + ".expected.kt");
}