Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# VerificationMode\n================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\n\n`\npublic\n\n\ninterface\nVerificationMode\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------------------|\n| android.support.test.espresso.intent.VerificationMode |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn interface for different modes of verifying intents.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[verify](/reference/android/support/test/espresso/intent/VerificationMode#verify(org.hamcrest.Matcher\u003candroid.content.Intent\u003e, java.util.List\u003candroid.support.test.espresso.intent.VerifiableIntent\u003e))`(Matcher\u003c`[Intent](https://developer.android.com/reference/android/content/Intent.html)`\u003e matcher, `[List](https://developer.android.com/reference/java/util/List.html)`\u003c`[VerifiableIntent](/reference/android/support/test/espresso/intent/VerifiableIntent)`\u003e recordedIntents) ` Verifies the recorded intents that match the provided [Matcher](/reference/org/hamcrest/Matcher). |\n\nPublic methods\n--------------\n\n### verify\n\n```\nvoid verify (Matcher\u003cIntent\u003e matcher, \n List\u003cVerifiableIntent\u003e recordedIntents)\n```\n\nVerifies the recorded intents that match the provided [Matcher](/reference/org/hamcrest/Matcher). No intents should be\nmarked as verified unless the verification passes.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------------|------------------|\n| `matcher` | `Matcher` \u003cbr /\u003e |\n| `recordedIntents` | `List` \u003cbr /\u003e |\n\n-\n\n Interfaces\n ----------\n\n - [ActivityResultFunction](/reference/android/support/test/espresso/intent/ActivityResultFunction)\n - [ResettingStubber](/reference/android/support/test/espresso/intent/ResettingStubber)\n - [ResolvedIntent](/reference/android/support/test/espresso/intent/ResolvedIntent)\n - [VerifiableIntent](/reference/android/support/test/espresso/intent/VerifiableIntent)\n - [VerificationMode](/reference/android/support/test/espresso/intent/VerificationMode)\n-\n\n Classes\n -------\n\n - [Checks](/reference/android/support/test/espresso/intent/Checks)\n - [Intents](/reference/android/support/test/espresso/intent/Intents)\n - [OngoingStubbing](/reference/android/support/test/espresso/intent/OngoingStubbing)\n - [ResettingStubberImpl](/reference/android/support/test/espresso/intent/ResettingStubberImpl)\n - [VerificationModes](/reference/android/support/test/espresso/intent/VerificationModes)"]]