def expected_stdout_run_lines(self, root_path: pathlib.Path) -> List[str]:
     expected_line = simple_progress_reporter_output.ExpectedLine(root_path)
     return [
         expected_line.suite_begin(root_path / 'main.suite'),
         expected_line.case(root_path / 'the.case', EXECUTION__PASS.exit_identifier),
         expected_line.suite_end(root_path / 'main.suite'),
     ]
 def expected_stdout_run_lines(self, root_path: pathlib.Path) -> List[str]:
     expected_line = simple_progress_reporter_output.ExpectedLine(root_path)
     return [
         expected_line.suite_begin(root_path / '_c.suite'),
         expected_line.suite_end(root_path / '_c.suite'),
         expected_line.suite_begin(root_path / 'main.suite'),
         expected_line.suite_end(root_path / 'main.suite'),
     ]
示例#3
0
 def expected_stdout_run_lines(self, root_path: pathlib.Path) -> List[str]:
     expected_line = simple_progress_reporter_output.ExpectedLine(root_path)
     return [
         expected_line.suite_begin(root_path / 'main.suite'),
         expected_line.case(root_path / 'invalid-syntax.case',
                            NO_EXECUTION__SYNTAX_ERROR.exit_identifier),
         expected_line.suite_end(root_path / 'main.suite'),
     ]
示例#4
0
 def expected_stdout_run_lines(self, root_path: pathlib.Path) -> list:
     expected_line = simple_progress_reporter_output.ExpectedLine(root_path)
     return [
         expected_line.suite_begin(root_path / 'main.suite'),
         expected_line.case(root_path / 'pass',
                            EXECUTION__PASS.exit_identifier),
         expected_line.case(root_path / 'syntax-error',
                            NO_EXECUTION__SYNTAX_ERROR.exit_identifier),
         expected_line.suite_end(root_path / 'main.suite'),
     ]
 def expected_stdout_run_lines(self, root_path: pathlib.Path) -> List[str]:
     expected_line = simple_progress_reporter_output.ExpectedLine(root_path)
     return [
         expected_line.suite_begin(root_path / '_1.suite'),
         expected_line.suite_end(root_path / '_1.suite'),
         expected_line.suite_begin(root_path / '_2.suite'),
         expected_line.suite_end(root_path / '_2.suite'),
         expected_line.suite_begin(root_path / 'sub-dir-1' / '_a.suite'),
         expected_line.suite_end(root_path / 'sub-dir-1' / '_a.suite'),
         expected_line.suite_begin(root_path / 'sub-dir-1' / '_b.suite'),
         expected_line.suite_end(root_path / 'sub-dir-1' / '_b.suite'),
         expected_line.suite_begin(root_path / 'sub-dir-1' / 'sub-dir-1-1' /
                                   '_1-1.suite'),
         expected_line.suite_end(root_path / 'sub-dir-1' / 'sub-dir-1-1' /
                                 '_1-1.suite'),
         expected_line.suite_begin(root_path / 'sub-dir-2' / '_x.suite'),
         expected_line.suite_end(root_path / 'sub-dir-2' / '_x.suite'),
         expected_line.suite_begin(root_path / 'sub-dir-2' / '_y.suite'),
         expected_line.suite_end(root_path / 'sub-dir-2' / '_y.suite'),
         expected_line.suite_begin(root_path / 'main.suite'),
         expected_line.suite_end(root_path / 'main.suite'),
     ]
 def expected_stdout_reporting_lines(self,
                                     root_path: pathlib.Path) -> List[str]:
     expected_line = simple_progress_reporter_output.ExpectedLine(root_path)
     return expected_line.summary_for_valid_suite(root_path,
                                                  exit_values.ALL_PASS)
示例#7
0
 def expected_stdout_reporting_lines(self, root_path: pathlib.Path) -> list:
     expected_line = simple_progress_reporter_output.ExpectedLine(root_path)
     return expected_line.summary_for_valid_suite(root_path,
                                                  exit_values.FAILED_TESTS)