use of com.google.idea.blaze.base.sync.SyncCache in project intellij by bazelbuild.
the class TestMapTest method initTest.
@Override
protected void initTest(@NotNull Container applicationServices, @NotNull Container projectServices) {
super.initTest(applicationServices, projectServices);
applicationServices.register(ExperimentService.class, new MockExperimentService());
mockBlazeProjectDataManager = new MockBlazeProjectDataManager();
projectServices.register(BlazeProjectDataManager.class, mockBlazeProjectDataManager);
projectServices.register(SyncCache.class, new SyncCache(project));
ExtensionPointImpl<SourceToTargetFinder> ep = registerExtensionPoint(SourceToTargetFinder.EP_NAME, SourceToTargetFinder.class);
ep.registerExtension(new ProjectSourceToTargetFinder());
}
Aggregations