Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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