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.
ValidateSuiteConfigHelper
public
class
ValidateSuiteConfigHelper
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.testtype.suite.ValidateSuiteConfigHelper
|
This class will help validating that the IConfiguration
loaded for the suite are meeting
the expected requirements: - No Build providers - No Result reporters
Summary
Public methods |
static
void
|
validateConfig(IConfiguration config)
Check that a configuration is properly built to run in a suite.
|
static
void
|
validateConfigFile(File configFile)
Check that a module config file is valid - no templates or includes
|
Public methods
validateConfig
public static void validateConfig (IConfiguration config)
Check that a configuration is properly built to run in a suite.
Parameters |
config |
IConfiguration : a IConfiguration to be checked if valide for suite. |
validateConfigFile
public static void validateConfigFile (File configFile)
Check that a module config file is valid - no templates or includes
Parameters |
configFile |
File : a config ERROR(/File) to be validated for a suite. |
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 2024-01-26 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 2024-01-26 UTC."],[],[],null,["# ValidateSuiteConfigHelper\n=========================\n\n\n`\npublic\n\n\nclass\nValidateSuiteConfigHelper\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|---------------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.testtype.suite.ValidateSuiteConfigHelper |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThis class will help validating that the [IConfiguration](../../../../../../../reference/tradefed/com/android/tradefed/config/IConfiguration.html) loaded for the suite are meeting\nthe expected requirements: - No Build providers - No Result reporters\n\nSummary\n-------\n\n| ### Public methods ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static void` | ` `[validateConfig](../../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/ValidateSuiteConfigHelper.html#validateConfig(com.android.tradefed.config.IConfiguration))`(`[IConfiguration](../../../../../../../reference/tradefed/com/android/tradefed/config/IConfiguration.html)` config) ` Check that a configuration is properly built to run in a suite. |\n| ` static void` | ` `[validateConfigFile](../../../../../../../reference/tradefed/com/android/tradefed/testtype/suite/ValidateSuiteConfigHelper.html#validateConfigFile(File))`(File configFile) ` Check that a module config file is valid - no templates or includes |\n\nPublic methods\n--------------\n\n### validateConfig\n\n```\npublic static void validateConfig (IConfiguration config)\n```\n\nCheck that a configuration is properly built to run in a suite.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `config` | `IConfiguration`: a [IConfiguration](../../../../../../../reference/tradefed/com/android/tradefed/config/IConfiguration.html) to be checked if valide for suite. \u003cbr /\u003e |\n\n### validateConfigFile\n\n```\npublic static void validateConfigFile (File configFile)\n```\n\nCheck that a module config file is valid - no templates or includes\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------|--------------------------------------------------------------------------------------------|\n| `configFile` | `File`: a config [ERROR(/File)](../../../../../../../) to be validated for a suite. \u003cbr /\u003e |"]]