Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
NoisyDryRunTest
public
class
NoisyDryRunTest
extends Object
implements
IRemoteTest
java.lang.Object
|
↳ |
com.android.tradefed.testtype.NoisyDryRunTest
|
Run noisy dry run on a command file.
Summary
Public constructors
NoisyDryRunTest
public NoisyDryRunTest ()
Public methods
testSandboxCommand
public void testSandboxCommand (String[] args)
Test loading a sandboxed command.
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 2023-03-08 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 2023-03-08 UTC."],[],[],null,["# NoisyDryRunTest\n===============\n\n\n`\npublic\n\n\nclass\nNoisyDryRunTest\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\nimplements\n\n`[IRemoteTest](../../../../../../reference/tradefed/com/android/tradefed/testtype/IRemoteTest.html)`\n\n\n`\n\n|---|-----------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.testtype.NoisyDryRunTest |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nRun noisy dry run on a command file.\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[NoisyDryRunTest](../../../../../../reference/tradefed/com/android/tradefed/testtype/NoisyDryRunTest.html#NoisyDryRunTest())`() ` |\n\n| ### Public methods ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[run](../../../../../../reference/tradefed/com/android/tradefed/testtype/NoisyDryRunTest.html#run(com.android.tradefed.invoker.TestInformation,%20com.android.tradefed.result.ITestInvocationListener))`(`[TestInformation](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.html)` testInfo, `[ITestInvocationListener](../../../../../../reference/tradefed/com/android/tradefed/result/ITestInvocationListener.html)` listener) ` Runs the tests, and reports result to the listener. |\n| ` void` | ` `[testSandboxCommand](../../../../../../reference/tradefed/com/android/tradefed/testtype/NoisyDryRunTest.html#testSandboxCommand(java.lang.String[]))`(String[] args) ` Test loading a sandboxed command. |\n\nPublic constructors\n-------------------\n\n### NoisyDryRunTest\n\n```\npublic NoisyDryRunTest ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### run\n\n```\npublic void run (TestInformation testInfo, \n ITestInvocationListener listener)\n```\n\nRuns the tests, and reports result to the listener.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `testInfo` | `TestInformation`: The [TestInformation](../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.html) object containing useful information to run tests. \u003cbr /\u003e |\n| `listener` | `ITestInvocationListener`: the [ITestInvocationListener](../../../../../../reference/tradefed/com/android/tradefed/result/ITestInvocationListener.html) of test results \u003cbr /\u003e |\n\n| Throws ||\n|----------------------------------------------------------------------------------------------------------------------------------|---|\n| [DeviceNotAvailableException](../../../../../../reference/tradefed/com/android/tradefed/device/DeviceNotAvailableException.html) | |\n\n### testSandboxCommand\n\n```\npublic void testSandboxCommand (String[] args)\n```\n\nTest loading a sandboxed command.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------|-----------------|\n| `args` | `String` \u003cbr /\u003e |\n\n| Throws ||\n|------------------------------------------------------------------------------------------------------------------------|---|\n| [ConfigurationException](../../../../../../reference/tradefed/com/android/tradefed/config/ConfigurationException.html) | |"]]