Stay organized with collections
Save and categorize content based on your preferences.
MediumTest
@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class MediumTest
Marks a test that should run as part of the medium tests.
Summary
Public constructors |
Marks a test that should run as part of the medium tests.
|
Public constructors
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,["# MediumTest\n\nAdded in [API level 2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nMediumTest\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/test/suitebuilder/annotation/MediumTest \"View this page in Java\") \n\n```\n@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class MediumTest\n```\n\n|------------------------------------------------------|\n| [android.test.suitebuilder.annotation.MediumTest](#) |\n\n*** ** * ** ***\n\n| **This annotation was deprecated in API level 24.**\n|\n| Use [MediumTest](https://developer.android.com/reference/android/support/test/filters/MediumTest.html) instead. New tests should be written using the [Android Testing Support Library](https://developer.android.com/tools/testing-support-library/index.html).\n\nMarks a test that should run as part of the medium tests.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------|---|\n| [MediumTest](#MediumTest())`()` Marks a test that should run as part of the medium tests. |\n\nPublic constructors\n-------------------\n\n### MediumTest\n\nAdded in [API level 2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nMediumTest()\n```\n\n**Deprecated:** *Use [MediumTest](https://developer.android.com/reference/android/support/test/filters/MediumTest.html) instead. New tests should be written using the [Android Testing Support Library](https://developer.android.com/tools/testing-support-library/index.html).*\n\nMarks a test that should run as part of the medium tests."]]