public interface

BaseLayerComponent

 androidx.test.espresso.BaseLayerComponent

Gradle dependencies

compile group: 'androidx.test.espresso', name: 'espresso-core', version: '3.6.1'

  • groupId: androidx.test.espresso
  • artifactId: espresso-core
  • version: 3.6.1

Artifact androidx.test.espresso:espresso-core:3.6.1 it located at Google repository (https://maven.google.com/)

Androidx artifact mapping:

androidx.test.espresso:espresso-core com.android.support.test.espresso:espresso-core

Androidx class mapping:

androidx.test.espresso.BaseLayerComponent android.support.test.espresso.BaseLayerComponent

Overview

Dagger component for base classes.

Summary

Methods
public ActiveRootListeractiveRootLister()

public ControlledLoopercontrolledLooper()

public FailureHandlerfailureHandler()

public BaseLayerModule.FailureHandlerHolderfailureHolder()

public IdlingResourceRegistryidlingResourceRegistry()

public java.util.concurrent.ExecutormainThreadExecutor()

public ViewInteractionComponentplus(androidx.test.espresso.ViewInteractionModule module)

public PlatformTestStoragetestStorage()

public Tracingtracer()

public UiControlleruiController()

Methods

public FailureHandler failureHandler()

public ActiveRootLister activeRootLister()

public IdlingResourceRegistry idlingResourceRegistry()

public ViewInteractionComponent plus(androidx.test.espresso.ViewInteractionModule module)

public UiController uiController()

public java.util.concurrent.Executor mainThreadExecutor()

public ControlledLooper controlledLooper()

public PlatformTestStorage testStorage()

public Tracing tracer()

Source

/*
 * Copyright (C) 2017 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package androidx.test.espresso;

import androidx.annotation.RestrictTo;
import androidx.annotation.RestrictTo.Scope;
import androidx.test.espresso.base.ActiveRootLister;
import androidx.test.espresso.base.BaseLayerModule;
import androidx.test.espresso.base.IdlingResourceRegistry;
import androidx.test.espresso.base.MainThread;
import androidx.test.espresso.base.UiControllerModule;
import androidx.test.internal.platform.os.ControlledLooper;
import androidx.test.platform.io.PlatformTestStorage;
import androidx.test.platform.tracing.Tracing;
import dagger.Component;
import java.util.concurrent.Executor;
import javax.inject.Singleton;

/**
 * Dagger component for base classes.
 *
 * @hide
 */
@Component(modules = {BaseLayerModule.class, UiControllerModule.class})
@Singleton
@RestrictTo(Scope.LIBRARY)
public interface BaseLayerComponent {
  BaseLayerModule.FailureHandlerHolder failureHolder();

  FailureHandler failureHandler();

  ActiveRootLister activeRootLister();

  IdlingResourceRegistry idlingResourceRegistry();

  ViewInteractionComponent plus(ViewInteractionModule module);

  UiController uiController();

  @MainThread
  Executor mainThreadExecutor();

  ControlledLooper controlledLooper();

  PlatformTestStorage testStorage();

  Tracing tracer();
}