Search in sources :

Example 6 with AndroidBlazeRules

use of com.google.idea.blaze.java.AndroidBlazeRules in project intellij by bazelbuild.

the class BlazeIdeInterfaceAspectsImplTest method initTest.

@Override
protected void initTest(Container applicationServices, Container projectServices) {
    super.initTest(applicationServices, projectServices);
    applicationServices.register(ExperimentService.class, new MockExperimentService());
    applicationServices.register(FileOperationProvider.class, new FileOperationProvider());
    ExtensionPointImpl<Kind.Provider> ep = registerExtensionPoint(Kind.Provider.EP_NAME, Kind.Provider.class);
    ep.registerExtension(new AndroidBlazeRules());
    applicationServices.register(Kind.ApplicationState.class, new Kind.ApplicationState());
}
Also used : MockExperimentService(com.google.idea.common.experiments.MockExperimentService) AndroidBlazeRules(com.google.idea.blaze.java.AndroidBlazeRules) Kind(com.google.idea.blaze.base.model.primitives.Kind) FileOperationProvider(com.google.idea.blaze.base.io.FileOperationProvider) FileOperationProvider(com.google.idea.blaze.base.io.FileOperationProvider)

Aggregations

Kind (com.google.idea.blaze.base.model.primitives.Kind)6 AndroidBlazeRules (com.google.idea.blaze.java.AndroidBlazeRules)6 MockExperimentService (com.google.idea.common.experiments.MockExperimentService)5 FileOperationProvider (com.google.idea.blaze.base.io.FileOperationProvider)4 MockBlazeExecutor (com.google.idea.blaze.base.async.executor.MockBlazeExecutor)3 Provider (com.google.idea.blaze.base.model.primitives.Kind.Provider)3 BlazeImportSettingsManager (com.google.idea.blaze.base.settings.BlazeImportSettingsManager)3 MockArtifactLocationDecoder (com.google.idea.blaze.base.sync.workspace.MockArtifactLocationDecoder)3 BlazeExecutor (com.google.idea.blaze.base.async.executor.BlazeExecutor)2 BazelBuildSystemProvider (com.google.idea.blaze.base.bazel.BazelBuildSystemProvider)2 BuildSystemProvider (com.google.idea.blaze.base.bazel.BuildSystemProvider)2 GenericBlazeRules (com.google.idea.blaze.base.model.primitives.GenericBlazeRules)2 MockPrefetchService (com.google.idea.blaze.base.prefetch.MockPrefetchService)2 BlazeContext (com.google.idea.blaze.base.scope.BlazeContext)2 MockRemoteArtifactPrefetcher (com.google.idea.blaze.base.sync.MockRemoteArtifactPrefetcher)2 ArtifactLocationDecoder (com.google.idea.blaze.base.sync.workspace.ArtifactLocationDecoder)2 JavaBlazeRules (com.google.idea.blaze.java.JavaBlazeRules)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