The Wayback Machine - https://web.archive.org/web/20190825091248/https://developer.android.com/reference/androidx/test/espresso/intent/VerificationMode

VerificationMode

public interface VerificationMode

androidx.test.espresso.intent.VerificationMode


An interface for different modes of verifying intents.

Summary

Public methods

abstract void verify(Matcher<Intent> matcher, List<VerifiableIntent> recordedIntents)

Verifies the recorded intents that match the provided Matcher.

Public methods

verify

void verify (Matcher<Intent> matcher, 
                List<VerifiableIntent> recordedIntents)

Verifies the recorded intents that match the provided Matcher. No intents should be marked as verified unless the verification passes.

Parameters
matcher Matcher

recordedIntents List