use of com.goide.project.GoBuildTargetSettings in project go-lang-idea-plugin by go-lang-plugin-org.
the class GoPerformanceTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
GoBuildTargetSettings buildTargetSettings = new GoBuildTargetSettings();
buildTargetSettings.os = "darwin";
buildTargetSettings.arch = "amd64";
buildTargetSettings.goVersion = "1.5.1";
GoModuleSettings.getInstance(myFixture.getModule()).setBuildTargetSettings(buildTargetSettings);
}
use of com.goide.project.GoBuildTargetSettings in project go-lang-idea-plugin by go-lang-plugin-org.
the class GoLegacyResolveCallsTest method testCallToDifferentBuildTargetFiles.
public void testCallToDifferentBuildTargetFiles() {
GoBuildTargetSettings buildTargetSettings = new GoBuildTargetSettings();
buildTargetSettings.customFlags = new String[] { "enabled" };
GoModuleSettings.getInstance(myFixture.getModule()).setBuildTargetSettings(buildTargetSettings);
doDirTest();
}
use of com.goide.project.GoBuildTargetSettings in project go-lang-idea-plugin by go-lang-plugin-org.
the class GoCodeInsightFixtureTestCase method tearDown.
@Override
protected void tearDown() throws Exception {
try {
GoApplicationLibrariesService.getInstance().setLibraryRootUrls();
GoModuleSettings.getInstance(myFixture.getModule()).setBuildTargetSettings(new GoBuildTargetSettings());
GoModuleSettings.getInstance(myFixture.getModule()).setVendoringEnabled(ThreeState.UNSURE);
} finally {
//noinspection ThrowFromFinallyBlock
super.tearDown();
}
}
Aggregations