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.