Class LegacyParameters

  • All Implemented Interfaces:
    Parameters

    public class LegacyParameters
    extends BasicInterviewParameters
    A configuration interview for legacy test suites that use environment (.jte) files to define the environment used to run tests.
    • Constructor Detail

      • LegacyParameters

        public LegacyParameters()
                         throws Interview.Fault
        Create a configuration interview for legacy tests suites.
        Throws:
        Interview.Fault - if there is a problem instantiating the interview.
      • LegacyParameters

        public LegacyParameters​(TestSuite testSuite)
                         throws Interview.Fault
        Create a configuration interview for legacy tests suites.
        Parameters:
        testSuite - The test suite for which this interview applies
        Throws:
        Interview.Fault - if there is a problem instantiating the interview.
    • Method Detail

      • getEnvParameters

        public Parameters.EnvParameters getEnvParameters()
        Description copied from interface: Parameters
        Get an object which provides access to the environment of test-suite-specific configuration values to be used when each test is run.
        Returns:
        an object which provides access to the environment to be used when each test is run.
      • getEnvFirstQuestion

        protected Question getEnvFirstQuestion()
        Get the first question to be asked concerning the environment to be set up and used for each test to be run. For legacy test suites, questions are asked to determine environment files to be read and the name of an environment to be found in those files.
        Specified by:
        getEnvFirstQuestion in class InterviewParameters
        Returns:
        the first question to be asked concerning the environment to be set up and used for each test to be run.
        See Also:
        InterviewParameters.getEnvSuccessorQuestion()