Search in sources :

Example 1 with GoRunFileConfigurationType

use of com.goide.runconfig.file.GoRunFileConfigurationType in project go-lang-idea-plugin by go-lang-plugin-org.

the class GoRunConfigurationProducerTest method createRunAppFileConfiguration.

private GoApplicationConfiguration createRunAppFileConfiguration(String filePath) {
    GoRunFileConfigurationType type = GoRunFileConfigurationType.getInstance();
    GoApplicationConfiguration result = new GoApplicationConfiguration(myFixture.getProject(), "run file", type);
    result.setKind(GoApplicationConfiguration.Kind.FILE);
    result.setFilePath(filePath);
    return result;
}
Also used : GoRunFileConfigurationType(com.goide.runconfig.file.GoRunFileConfigurationType) GoApplicationConfiguration(com.goide.runconfig.application.GoApplicationConfiguration)

Example 2 with GoRunFileConfigurationType

use of com.goide.runconfig.file.GoRunFileConfigurationType in project go-lang-idea-plugin by go-lang-plugin-org.

the class GoRunConfigurationProducerTest method createFileConfiguration.

private GoRunFileConfiguration createFileConfiguration(String filePath) {
    GoRunFileConfigurationType type = GoRunFileConfigurationType.getInstance();
    GoRunFileConfiguration result = new GoRunFileConfiguration(myFixture.getProject(), "run file", type);
    result.setFilePath(filePath);
    return result;
}
Also used : GoRunFileConfigurationType(com.goide.runconfig.file.GoRunFileConfigurationType) GoRunFileConfiguration(com.goide.runconfig.file.GoRunFileConfiguration)

Aggregations

GoRunFileConfigurationType (com.goide.runconfig.file.GoRunFileConfigurationType)2 GoApplicationConfiguration (com.goide.runconfig.application.GoApplicationConfiguration)1 GoRunFileConfiguration (com.goide.runconfig.file.GoRunFileConfiguration)1