Exemplo n.º 1
0
    def __init__(self, test, config, variable_expander):
        """Constructor.

    Args:
      test: An array of alternating state names and action names, starting and
          ending with state names.
      config: The Config object.
      variable_expander: A VariableExpander object.
    """
        super(InstallerTest, self).__init__()
        self._test = test
        self._config = config
        self._variable_expander = variable_expander
        self._verifier_runner = verifier_runner.VerifierRunner()
        self._clean_on_teardown = True
Exemplo n.º 2
0
    def __init__(self, name, test, config, variable_expander, output_dir):
        """Constructor.

    Args:
      name: The name of this test.
      test: An array of alternating state names and action names, starting and
          ending with state names.
      config: The Config object.
      variable_expander: A VariableExpander object.
      output_dir: An optional directory into which diagnostics may be written
          in case of failure.
    """
        super(InstallerTest, self).__init__()
        self._name = name
        self._test = test
        self._config = config
        self._variable_expander = variable_expander
        self._output_dir = output_dir
        self._verifier_runner = verifier_runner.VerifierRunner()
        self._clean_on_teardown = True
        self._log_path = None