loki.batch.tests.test_transformation
Functions
Test correct replacement of all selected_x_kind calls by iso_fortran_env constant. |
|
|
Apply a simple transformation that renames routines and modules, and test that this also works when the original source object was parsed using lazy construction. |
Apply a simple transformation that renames routines and modules |
|
Apply a simple transformation that renames routines and modules |
|
|
Verify that files get written with correct filenames |
Test append / prepend functionalities of |
|
Test the correct argument handling when instantiating a |
|
Test the instantiation of a |
|
Verify that post_apply is called for modules. |
|
Verify that post_apply is called for subroutines. |
- fixture_rename_transform()
- test_transformation_apply(rename_transform, frontend, method, lazy, tmp_path)
Apply a simple transformation that renames routines and modules, and test that this also works when the original source object was parsed using lazy construction.
- test_transformation_apply_subroutine(rename_transform, frontend, target, apply_method, lazy, tmp_path)
Apply a simple transformation that renames routines and modules
- test_transformation_apply_module(rename_transform, frontend, apply_method, lazy, tmp_path)
Apply a simple transformation that renames routines and modules
- test_transform_replace_selected_kind(tmp_path, frontend)
Test correct replacement of all selected_x_kind calls by iso_fortran_env constant.
- test_transformation_post_apply_subroutine(tmp_path, frontend, post_apply_rescope_symbols)
Verify that post_apply is called for subroutines.
- test_transformation_post_apply_module(tmp_path, frontend, post_apply_rescope_symbols)
Verify that post_apply is called for modules.
- test_transformation_file_write(tmp_path)
Verify that files get written with correct filenames
- test_transformation_pipeline_simple()
Test the instantiation of a
Pipeline
from a partial definition.