java.lang.Object |
↳ |
android.support.test.espresso.intent.matcher.ComponentNameMatchers |
Class Overview
A collection of hamcrest matchers to match ComponentName
objects.
Summary
Public Methods |
static
Matcher<ComponentName>
|
hasClassName(Matcher<String> classNameMatcher)
|
static
Matcher<ComponentName>
|
hasClassName(String className)
|
static
Matcher<ComponentName>
|
hasMyPackageName()
Matches a component based on the target package name found through the Instrumentation
Registry for the test.
|
static
Matcher<ComponentName>
|
hasPackageName(Matcher<String> packageNameMatcher)
|
static
Matcher<ComponentName>
|
hasPackageName(String packageName)
|
static
Matcher<ComponentName>
|
hasShortClassName(Matcher<String> shortClassNameMatcher)
|
static
Matcher<ComponentName>
|
hasShortClassName(String shortClassName)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Methods
public
static
Matcher<ComponentName>
hasClassName
(Matcher<String> classNameMatcher)
public
static
Matcher<ComponentName>
hasClassName
(String className)
public
static
Matcher<ComponentName>
hasMyPackageName
()
Matches a component based on the target package name found through the Instrumentation
Registry for the test.
public
static
Matcher<ComponentName>
hasPackageName
(Matcher<String> packageNameMatcher)
public
static
Matcher<ComponentName>
hasPackageName
(String packageName)
public
static
Matcher<ComponentName>
hasShortClassName
(Matcher<String> shortClassNameMatcher)
public
static
Matcher<ComponentName>
hasShortClassName
(String shortClassName)