Class TestConfig

    • Constructor Detail

      • TestConfig

        @DataBoundConstructor
        public TestConfig​(String tbcFile,
                          String tcfFile,
                          boolean forceReload,
                          boolean loadOnly,
                          boolean keepConfig,
                          List<GlobalConstant> constants)
        Instantiates a new TestConfig.
        Parameters:
        tbcFile - the test bench configuration file
        tcfFile - the test configuration file
        forceReload - specifies whether to reload the configuration
        loadOnly - specifies whether to load the configuration only
        keepConfig - specifies whether to keep the previously loaded configuration
        constants - the list of global constants
      • TestConfig

        public TestConfig​(String tbcFile,
                          String tcfFile)
        Instantiates a new TestConfig with empty global constants.
        Parameters:
        tbcFile - the test bench configuration file
        tcfFile - the test configuration file
      • TestConfig

        public TestConfig​(String tbcFile,
                          String tcfFile,
                          boolean forceReload,
                          boolean loadOnly)
        Instantiates a new TestConfig with empty global constants.
        Parameters:
        tbcFile - the test bench configuration file
        tcfFile - the test configuration file
        forceReload - specifies whether to reload the configuration
        loadOnly - specifies whether to load the configuration only
    • Method Detail

      • getTbcFile

        public String getTbcFile()
      • getTcfFile

        public String getTcfFile()
      • isForceReload

        public boolean isForceReload()
      • isLoadOnly

        public boolean isLoadOnly()
      • isKeepConfig

        public boolean isKeepConfig()
      • expand

        public TestConfig expand​(EnvVars envVars)
        Description copied from interface: ExpandableConfig
        Expands the test configuration parameters by using the current build environment variables.
        Specified by:
        expand in interface ExpandableConfig
        Parameters:
        envVars - the build environment variables
        Returns:
        the expanded specific configuration
      • equals

        public final boolean equals​(Object other)
        Overrides:
        equals in class Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object