이제 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

NoMatchingRootException

public final class NoMatchingRootException
extends RuntimeException implements EspressoException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.test.espresso.NoMatchingRootException


Indicates that a given matcher did not match any Roots (windows) from those that are currently available.

Summary

Public methods

static NoMatchingRootException create(Matcher<Root> rootMatcher, List<Root> roots)

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public methods

create

NoMatchingRootException create (Matcher<Root> rootMatcher, 
                List<Root> roots)

Parameters
rootMatcher Matcher

roots List

Returns
NoMatchingRootException