Update comments/docstrings in TestGenerator
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
parent
3dc45198e6
commit
34d6d3e4e5
1 changed files with 4 additions and 2 deletions
|
@ -130,10 +130,12 @@ class BaseTarget(metaclass=ABCMeta):
|
|||
|
||||
|
||||
class TestGenerator:
|
||||
"""Generate test data."""
|
||||
"""Generate test cases and write to data files."""
|
||||
def __init__(self, options) -> None:
|
||||
self.test_suite_directory = getattr(options, 'directory')
|
||||
# Add file Targets which have been declared in other modules
|
||||
# Update `targets` with an entry for each child class of BaseTarget.
|
||||
# Each entry represents a file generated by the BaseTarget framework,
|
||||
# and enables generating the .data files using the CLI.
|
||||
self.targets.update({
|
||||
subclass.target_basename: subclass.generate_tests
|
||||
for subclass in BaseTarget.__subclasses__()
|
||||
|
|
Loading…
Reference in a new issue