Search in sources :

Example 6 with MockBlazeExecutor

use of com.google.idea.blaze.base.async.executor.MockBlazeExecutor in project intellij by bazelbuild.

the class FileDifferTest method initTest.

@Override
protected void initTest(@NotNull Container applicationServices, @NotNull Container projectServices) {
    super.initTest(applicationServices, projectServices);
    applicationServices.register(ExperimentService.class, new MockExperimentService());
    applicationServices.register(BlazeExecutor.class, new MockBlazeExecutor());
    this.fileModificationProvider = new MockFileOperationProvider();
    applicationServices.register(FileOperationProvider.class, fileModificationProvider);
}
Also used : MockExperimentService(com.google.idea.common.experiments.MockExperimentService) MockBlazeExecutor(com.google.idea.blaze.base.async.executor.MockBlazeExecutor)

Aggregations

MockBlazeExecutor (com.google.idea.blaze.base.async.executor.MockBlazeExecutor)6 MockExperimentService (com.google.idea.common.experiments.MockExperimentService)6 BlazeImportSettingsManager (com.google.idea.blaze.base.settings.BlazeImportSettingsManager)4 BlazeExecutor (com.google.idea.blaze.base.async.executor.BlazeExecutor)3 MockPrefetchService (com.google.idea.blaze.base.prefetch.MockPrefetchService)3 BazelBuildSystemProvider (com.google.idea.blaze.base.bazel.BazelBuildSystemProvider)2 BuildSystemProvider (com.google.idea.blaze.base.bazel.BuildSystemProvider)2 VirtualFileSystemProvider (com.google.idea.blaze.base.io.VirtualFileSystemProvider)2 BlazeContext (com.google.idea.blaze.base.scope.BlazeContext)2 BlazeImportSettings (com.google.idea.blaze.base.settings.BlazeImportSettings)2 ArtifactLocationDecoder (com.google.idea.blaze.base.sync.workspace.ArtifactLocationDecoder)2 JavaLikeLanguage (com.google.idea.blaze.java.sync.source.JavaLikeLanguage)2 JavaSourcePackageReader (com.google.idea.blaze.java.sync.source.JavaSourcePackageReader)2 PackageManifestReader (com.google.idea.blaze.java.sync.source.PackageManifestReader)2 SourceArtifact (com.google.idea.blaze.java.sync.source.SourceArtifact)2 ProgressManagerImpl (com.intellij.openapi.progress.impl.ProgressManagerImpl)2 LocalFileSystem (com.intellij.openapi.vfs.LocalFileSystem)2 VirtualFileManager (com.intellij.openapi.vfs.VirtualFileManager)2 Nullable (javax.annotation.Nullable)2 MockInputStreamProvider (com.google.idea.blaze.base.io.MockInputStreamProvider)1