Stay organized with collections
Save and categorize content based on your preferences.
Smoke
@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class Smoke
Marks a test that should run as part of the smoke tests. The android.test.suitebuilder.SmokeTestSuiteBuilder
will run all tests with this annotation.
Summary
Public constructors |
Marks a test that should run as part of the smoke tests.
|
Public constructors
Smoke
Smoke()
Deprecated: New tests should be written using the Android Testing Support Library.
Marks a test that should run as part of the smoke tests. The android.test.suitebuilder.SmokeTestSuiteBuilder
will run all tests with this annotation.
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,["# Smoke\n\nAdded in [API level 1](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\nSmoke\n=====\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/test/suitebuilder/annotation/Smoke \"View this page in Java\") \n\n```\n@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class Smoke\n```\n\n|-------------------------------------------------|\n| [android.test.suitebuilder.annotation.Smoke](#) |\n\n*** ** * ** ***\n\n| **This annotation was deprecated in API level 24.**\n|\n| 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 smoke tests. The `android.test.suitebuilder.SmokeTestSuiteBuilder` will run all tests with this annotation.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------|---|\n| [Smoke](#Smoke())`()` Marks a test that should run as part of the smoke tests. |\n\nPublic constructors\n-------------------\n\n### Smoke\n\nAdded in [API level 1](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```\nSmoke()\n```\n\n**Deprecated:** *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 smoke tests. The `android.test.suitebuilder.SmokeTestSuiteBuilder` will run all tests with this annotation."]]