Home
last modified time | relevance | path

Searched full:chapters (Results 1 – 25 of 42) sorted by relevance

12

/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/test/chapters_test/
Dchapters_neg_test.py20 from runner.chapters import Chapters, IncorrectFileFormatChapterException
28 Chapters(Path('does-not-exist.yaml'))
32 Chapters(self.current_folder / 'chapters_neg_1_test.yaml')
36 Chapters(self.current_folder / 'chapters_neg_2_test.yaml')
40 Chapters(self.current_folder / 'chapters_neg_3_test.yaml')
47 chapters = Chapters(test_file)
48 ch1 = chapters.chapters.get(test_chapter)
Dchapters_test.py20 from runner.chapters import Chapters
25 chapters: Chapters
46 cls.chapters = Chapters(cls.current_folder / 'chapters_test.yaml')
49 raw = ChapterTest.chapters.filter_by_chapter(
66 raw = ChapterTest.chapters.filter_by_chapter(
83 raw = ChapterTest.chapters.filter_by_chapter(
99 raw = ChapterTest.chapters.filter_by_chapter(
111 raw = ChapterTest.chapters.filter_by_chapter(
124 raw = ChapterTest.chapters.filter_by_chapter(
137 raw = ChapterTest.chapters.filter_by_chapter(
[all …]
Dchapters_neg_2_test.yaml16 chapters:
Dchapters_neg_4_test.yaml16 chapters:
Dchapters_neg_3_test.yaml16 chapters:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/chapters_test/
Dchapters_neg_test.py20 from runner.chapters import Chapters, IncorrectFileFormatChapterException
28 Chapters('does-not-exist.yaml')
32 Chapters(os.path.join(self.current_folder, 'chapters_neg_1_test.yaml'))
36 Chapters(os.path.join(self.current_folder, 'chapters_neg_2_test.yaml'))
40 Chapters(os.path.join(self.current_folder, 'chapters_neg_3_test.yaml'))
47 chapters = Chapters(test_file)
48 ch1 = chapters.chapters.get(test_chapter)
Dchapters_test.py21 from runner.chapters import Chapters
26 chapters: Chapters
46 cls.chapters = Chapters(os.path.join(cls.current_folder, 'chapters_test.yaml'))
49 actual = ChapterTest.chapters.filter_by_chapter(
66 actual = ChapterTest.chapters.filter_by_chapter(
83 actual = ChapterTest.chapters.filter_by_chapter(
99 actual = ChapterTest.chapters.filter_by_chapter(
111 actual = ChapterTest.chapters.filter_by_chapter(
124 actual = ChapterTest.chapters.filter_by_chapter(
137 actual = ChapterTest.chapters.filter_by_chapter(
[all …]
Dchapters_neg_2_test.yaml16 chapters:
Dchapters_neg_4_test.yaml16 chapters:
Dchapters_neg_3_test.yaml16 chapters:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/
Dchapters.py38 class Chapters: class
40 self.chapters = self.__parse(chapters_file)
49 yaml_chapters: list[dict] | None = yaml_header.get('chapters')
56 chapter = Chapters.__parse_chapter(yaml_name, yaml_items, chapters_file)
81 Chapters.__parse_item(includes, excludes, yaml_item)
88 mask = Chapters.__escape_mask(mask)
108 if chapter_name not in self.chapters:
110 chapter = self.chapters[chapter_name]
113 if inc in self.chapters:
117 filtered.update(Chapters.__filter_by_mask(mask, files))
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Doptions_groups.py35 "chapters": self.chapters,
36 "chapters-file": self.chapters_file
57 @value(yaml_path="test-lists.groups.chapters", cli_name="chapters")
58 def chapters(self) -> List[str]: member in GroupsOptions
62 @value(yaml_path="test-lists.groups.chapters-file", cli_name="chapters_file")
64 return "chapters.yaml"
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Dchapters.py47 _LOGGER = logging.getLogger("runner.chapters")
50 class Chapters: class
52 self.chapters = self.__parse(chapters_file)
61 yaml_chapters: Optional[List[Any]] = yaml_header.get('chapters')
68 chapter = Chapters.__parse_chapter(yaml_name, yaml_items, chapters_file)
102 Chapters.__parse_item(includes, excludes, yaml_item)
122 if chapter_name not in self.chapters:
124 chapter = self.chapters[chapter_name]
127 if inc in self.chapters:
131 filtered.update(Chapters.__filter_by_mask(mask, files, extension))
[all …]
Drunner_base.py36 from runner.chapters import Chapters
340 if self.config.test_lists.filter != "*" and self.config.test_lists.groups.chapters:
352 if self.config.test_lists.groups.chapters:
361 chapters: Chapters = self.__parse_chapters()
362 for chapter in self.config.test_lists.groups.chapters:
363 test_files.update(chapters.filter_by_chapter(chapter, base_folder, files, extension))
366 def __parse_chapters(self) -> Chapters:
367 chapters: Optional[Chapters] = None
369 chapters = Chapters(self.config.test_lists.groups.chapters_file)
373 chapters = Chapters(corrected_chapters_file)
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/options/
Doptions_groups.py33 __CHAPTERS = "chapters"
34 __CHAPTERS_FILE = "chapters-file"
35 __DEFAULT_CHAPTERS_FILE = "chapters.yaml"
65 f'--{GroupsOptions.__CHAPTERS}', action='store', dest='chapters',
67 help='run tests only of specified chapters. '
68 f'Divide several chapters with `{GroupsOptions.__CHAPTERS_DELIMITER}`')
87 def chapters(self) -> list[str]: member in GroupsOptions
88 chapters = self.__parameters[self.__CHAPTERS]
89 if chapters is None:
91 return list(chapters.split(GroupsOptions.__CHAPTERS_DELIMITER))
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/suites/
Dtest_suite.py28 from runner.chapters import Chapters
324 if self.config.test_suite.filter != "*" and self.config.test_suite.groups.chapters:
330 if self.config.test_suite.groups.chapters:
337 chapters: Chapters = self.__parse_chapters()
338 for chapter in self.config.test_suite.groups.chapters:
339 test_files.update(chapters.filter_by_chapter(chapter, base_folder, files))
342 def __parse_chapters(self) -> Chapters:
343 chapters: Chapters | None = None
345 chapters = Chapters(self.config.test_suite.groups.chapters_file)
350 chapters = Chapters(corrected_chapters_file)
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/test-lists/ets-gc-stress/
Dchapters.yaml14 chapters:
19 # chapters by tests
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
Dmerge_markdown.py79 def merge_chapters(chapters, dest_path): argument
81 for chapter in chapters:
96 chapters = get_chapters(source_dir, target, build_dir)
99 merge_chapters(chapters, dest_file)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/test-lists/ets-cts/
Dchapters.yaml16 chapters:
81 # chapters by several folders
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/test/config_test/
Ddata_1.py87 'test_suite1.parameters.chapters': None,
88 'test_suite1.parameters.chapters-file': 'chapters.yaml',
Ddata_2.py87 'test_suite1.parameters.chapters': None,
88 'test_suite1.parameters.chapters-file': 'chapters.yaml',
Ddata_test_suite0.py87 'test_suite.parameters.chapters': None,
88 'test_suite.parameters.chapters-file': 'chapters.yaml',
/arkcompiler/runtime_core/static_core/plugins/ets/tests/test-lists/ets-func-tests/
Dchapters.yaml14 chapters:
61 # chapters by several folders
/arkcompiler/runtime_core/static_core/plugins/ets/doc/system_arkts/
Dintro.rst22 The chapters that follow will help you learn how to easily boost the
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/06.type_declarations/
Ddecl.ets20 enum declaration. See corresponding chapters.

12