use of com.google.idea.blaze.base.sync.data.BlazeProjectDataManager in project intellij by bazelbuild.
the class BlazeCommandRunConfigurationGenericHandlerIntegrationTest method doSetup.
@Before
public final void doSetup() throws Exception {
// Without BlazeProjectData, the configuration editor is always disabled.
BlazeProjectDataManager mockProjectDataManager = new MockBlazeProjectDataManager(MockBlazeProjectDataBuilder.builder(workspaceRoot).build());
registerProjectService(BlazeProjectDataManager.class, mockProjectDataManager);
type = BlazeCommandRunConfigurationType.getInstance();
configuration = type.getFactory().createTemplateConfiguration(getProject());
}
use of com.google.idea.blaze.base.sync.data.BlazeProjectDataManager in project intellij by bazelbuild.
the class ProjectViewCompletionTest method doSetup.
@Before
public final void doSetup() {
BlazeProjectDataManager mockProjectDataManager = new MockBlazeProjectDataManager(MockBlazeProjectDataBuilder.builder(workspaceRoot).build());
registerProjectService(BlazeProjectDataManager.class, mockProjectDataManager);
editorTest = new EditorTestHelper(getProject(), testFixture);
}
Aggregations