Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self, *args, **kwargs) |
def | check_failure (self) |
def | failed_steps (self) |
def | run_once (self, fn, *args, **kwargs) |
def | readfile (self, filename, *args, **kwargs) |
def | writefile (self, filename, contents) |
def | rmtree (self, path) |
def | asset_version (self, asset_name, skia_dir, test_data=None) |
def | __call__ (self, steptype, name, abort_on_failure=True, fail_build_on_failure=True, **kwargs) |
def | with_retry (self, steptype, name, attempts, between_attempts_fn=None, abort_on_failure=True, fail_build_on_failure=True, **kwargs) |
def run.api.SkiaStepApi.__init__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Initialize the recipe module.
Definition at line 16 of file api.py.
def run.api.SkiaStepApi.__call__ | ( | self, | |
steptype, | |||
name, | |||
abort_on_failure = True , |
|||
fail_build_on_failure = True , |
|||
** | kwargs | ||
) |
Run a step. If it fails, keep going but mark the build status failed.
Definition at line 69 of file api.py.
def run.api.SkiaStepApi.asset_version | ( | self, | |
asset_name, | |||
skia_dir, | |||
test_data = None |
|||
) |
Return the contents of VERSION for the given asset as a string. If test_data is not specified, reads the property 'test_<asset_name>_version' or if not present, uses TEST_DEFAULT_ASSET_VERSION.
Definition at line 54 of file api.py.
def run.api.SkiaStepApi.check_failure | ( | self | ) |
def run.api.SkiaStepApi.failed_steps | ( | self | ) |
def run.api.SkiaStepApi.readfile | ( | self, | |
filename, | |||
* | args, | ||
** | kwargs | ||
) |
Convenience function for reading files.
Definition at line 40 of file api.py.
def run.api.SkiaStepApi.rmtree | ( | self, | |
path | |||
) |
def run.api.SkiaStepApi.run_once | ( | self, | |
fn, | |||
* | args, | ||
** | kwargs | ||
) |
def run.api.SkiaStepApi.with_retry | ( | self, | |
steptype, | |||
name, | |||
attempts, | |||
between_attempts_fn = None , |
|||
abort_on_failure = True , |
|||
fail_build_on_failure = True , |
|||
** | kwargs | ||
) |
Definition at line 81 of file api.py.
def run.api.SkiaStepApi.writefile | ( | self, | |
filename, | |||
contents | |||
) |