Stay organized with collections
Save and categorize content based on your preferences.
LargeTest
@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class LargeTest
Marks a test that should run as part of the large tests.
Summary
Public constructors |
Marks a test that should run as part of the large 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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# LargeTest\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\nLargeTest\n=========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/test/suitebuilder/annotation/LargeTest \"View this page in Java\") \n\n```\n@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class LargeTest\n```\n\n|-----------------------------------------------------|\n| [android.test.suitebuilder.annotation.LargeTest](#) |\n\n*** ** * ** ***\n\n| **This annotation was deprecated in API level 24.**\n|\n| Use [LargeTest](https://developer.android.com/reference/android/support/test/filters/LargeTest.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 large tests.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------|---|\n| [LargeTest](#LargeTest())`()` Marks a test that should run as part of the large tests. |\n\nPublic constructors\n-------------------\n\n### LargeTest\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```\nLargeTest()\n```\n\n**Deprecated:** *Use [LargeTest](https://developer.android.com/reference/android/support/test/filters/LargeTest.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 large tests."]]