NoMatchingRootException

public final class NoMatchingRootException
extends RuntimeException implements EspressoException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.support.test.espresso.NoMatchingRootException


表示给定的匹配器与当前可用的匹配器不匹配任何 Root (窗口)。

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