Example #1
0
 def _before_assert__main(self):
     run_instructions_phase_step(
         phase_step.BEFORE_ASSERT__MAIN,
         phase_step_executors.BeforeAssertMainExecutor(
             self._post_sds_main_environments(phase_identifier.BEFORE_ASSERT),
             self._instruction_settings,
             self._os_services),
         self._test_case.before_assert_phase)
Example #2
0
 def _setup__main(self):
     run_instructions_phase_step(phase_step.SETUP__MAIN,
                                 phase_step_executors.SetupMainExecutor(
                                     self._instruction_settings,
                                     self._os_services,
                                     self._post_sds_main_environments(phase_identifier.SETUP),
                                     self._setup_settings_handler.builder),
                                 self._test_case.setup_phase)
Example #3
0
 def _cleanup_main(self, previous_phase: PreviousPhase):
     run_instructions_phase_step(
         phase_step.CLEANUP__MAIN,
         phase_step_executors.CleanupMainExecutor(
             self._post_sds_main_environments(phase_identifier.CLEANUP),
             self._instruction_settings,
             previous_phase,
             self._os_services),
         self._test_case.cleanup_phase)
Example #4
0
 def _validate(self, step: PhaseStep, phase_contents: SectionContents):
     run_instructions_phase_step(step, self._validation_executor,
                                 phase_contents)
Example #5
0
 def _assert__validate_post_setup(self):
     run_instructions_phase_step(
         phase_step.ASSERT__VALIDATE_POST_SETUP,
         phase_step_executors.AssertValidatePostSetupExecutor(
             self._post_setup_validation_environments(phase_identifier.ASSERT)),
         self._test_case.assert_phase)
Example #6
0
 def _setup__validate_post_setup(self):
     run_instructions_phase_step(phase_step.SETUP__VALIDATE_POST_SETUP,
                                 phase_step_executors.SetupValidatePostSetupExecutor(
                                     self._post_setup_validation_environments(phase_identifier.SETUP)),
                                 self._test_case.setup_phase)
Example #7
0
 def _cleanup__validate_pre_sds(self):
     run_instructions_phase_step(phase_step.CLEANUP__VALIDATE_PRE_SDS,
                                 phase_step_executors.CleanupValidatePreSdsExecutor(
                                     self._instruction_environment_pre_sds),
                                 self._test_case.cleanup_phase)
Example #8
0
 def _assert__validate_pre_sds(self):
     run_instructions_phase_step(phase_step.ASSERT__VALIDATE_PRE_SDS,
                                 phase_step_executors.AssertValidatePreSdsExecutor(
                                     self._instruction_environment_pre_sds),
                                 self._test_case.assert_phase)
Example #9
0
 def _setup__validate_pre_sds(self):
     run_instructions_phase_step(phase_step.SETUP__VALIDATE_PRE_SDS,
                                 phase_step_executors.SetupValidatePreSdsExecutor(
                                     self._instruction_environment_pre_sds),
                                 self._test_case.setup_phase)