native_test_impact.py 873 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. from test_impact import BaseTestImpact
  9. from tiaf_logger import get_logger
  10. logger = get_logger(__file__)
  11. class NativeTestImpact(BaseTestImpact):
  12. _runtime_type = "native"
  13. _default_sequence_type = "regular"
  14. @property
  15. def default_sequence_type(self):
  16. """
  17. The default sequence type for this TestImpact class. Must be implemented by subclass.
  18. """
  19. return self._default_sequence_type
  20. @property
  21. def runtime_type(self):
  22. """
  23. The runtime this TestImpact supports. Must be implemented by subclass.
  24. Current options are "native" or "python".
  25. """
  26. return self._runtime_type